@aventusjs/storybook 0.0.17 → 0.0.19
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/Meta.d.ts +2 -2
- package/dist/StoryExport.d.ts +2 -1
- package/dist/main.d.ts +4 -4
- package/package.json +3 -3
package/dist/Meta.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Args as ArgsWC, Meta as MetaWC } from '@storybook/web-components';
|
|
2
|
-
import { IStoryExport } from './StoryExport';
|
|
3
|
-
import { InputType as InputTypeIntenal, SBScalarType, SBType } from '
|
|
2
|
+
import { IStoryExport } from './StoryExport.js';
|
|
3
|
+
import { InputType as InputTypeIntenal, SBScalarType, SBType } from 'storybook/internal/types';
|
|
4
4
|
|
|
5
5
|
export type InputType = Omit<InputTypeIntenal, 'type'> & {
|
|
6
6
|
type?: SBType | SBScalarType['name'] | 'color';
|
package/dist/StoryExport.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IStoryContentTypeResult } from './Type';
|
|
1
|
+
import { IStoryContentTypeResult } from './Type.js';
|
|
2
2
|
|
|
3
3
|
export type IStoryExportKind = 'class' | 'interface' | 'type' | 'function' | 'enum' | 'variable';
|
|
4
4
|
export type IStoryExport = IStoryContentInterface | IStoryContentClass | IStoryContentWebComponent | IStoryContentType | IStoryContentFunction | IStoryContentEnum | IStoryContentVariable;
|
|
@@ -78,6 +78,7 @@ export interface IStoryContentVariable extends BaseStoryExport {
|
|
|
78
78
|
kind: 'variable';
|
|
79
79
|
modifier: 'let' | 'const' | 'var';
|
|
80
80
|
type?: IStoryContentTypeResult;
|
|
81
|
+
value?: string;
|
|
81
82
|
}
|
|
82
83
|
export interface IStoryContentGeneric {
|
|
83
84
|
name: string;
|
package/dist/main.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './StoryExport';
|
|
2
|
-
export * from './Type';
|
|
1
|
+
export * from './StoryExport.js';
|
|
2
|
+
export * from './Type.js';
|
|
3
3
|
export type { StoryObj as Story } from '@storybook/web-components';
|
|
4
|
-
export type { Meta, ArgTypes, InputType } from './Meta';
|
|
5
|
-
export { render, autoIndent } from './Render';
|
|
4
|
+
export type { Meta, ArgTypes, InputType } from './Meta.js';
|
|
5
|
+
export { render, autoIndent } from './Render.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aventusjs/storybook",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Storybook type extension for aventusjs",
|
|
6
6
|
"scripts": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/node": "^20.14.9",
|
|
18
|
-
"storybook": "^
|
|
18
|
+
"storybook": "^9.1.1",
|
|
19
19
|
"vite": "^5.3.3",
|
|
20
20
|
"vite-plugin-dts": "^3.9.1"
|
|
21
21
|
},
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@storybook/web-components": "^
|
|
28
|
+
"@storybook/web-components": "^9.1.1"
|
|
29
29
|
}
|
|
30
30
|
}
|