@aventusjs/storybook 0.0.4 → 0.0.6

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.
@@ -1,7 +1,7 @@
1
1
  import { IStoryContentTypeResult } from './Type';
2
2
 
3
3
  export type IStoryExportKind = 'class' | 'interface' | 'type' | 'function' | 'enum' | 'variable';
4
- export type IStoryExport = IStoryContentInterface | IStoryContentClass | IStoryContentType | IStoryContentFunction | IStoryContentEnum | IStoryContentVariable;
4
+ export type IStoryExport = IStoryContentInterface | IStoryContentClass | IStoryContentWebComponent | IStoryContentType | IStoryContentFunction | IStoryContentEnum | IStoryContentVariable;
5
5
  export interface BaseStoryExport {
6
6
  kind: IStoryExportKind;
7
7
  name: string;
@@ -39,6 +39,20 @@ export interface IStoryContentClass extends IStoryContentObject {
39
39
  modifier?: 'abstract';
40
40
  implements?: IStoryContentTypeResult[];
41
41
  }
42
+ export interface IStoryContentWebComponentStyle {
43
+ name: string;
44
+ documentation?: string;
45
+ type?: string;
46
+ value?: string;
47
+ }
48
+ export interface IStoryContentWebComponentSlot {
49
+ name: string;
50
+ documentation?: string;
51
+ }
52
+ export interface IStoryContentWebComponent extends IStoryContentClass {
53
+ style?: IStoryContentWebComponentStyle[];
54
+ slots?: IStoryContentWebComponentSlot[];
55
+ }
42
56
  export interface IStoryContentType extends BaseStoryExport {
43
57
  kind: 'type';
44
58
  type?: IStoryContentTypeResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventusjs/storybook",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "description": "Storybook type extension for aventusjs",
6
6
  "author": {