@newhighsco/storybook-preset 10.2.57 → 10.2.58
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.ts +2 -7
- package/dist/preview.d.ts +0 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PreviewAddon } from "storybook/internal/csf";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
|
+
import "storybook/theming";
|
|
3
4
|
import { Decorator, Parameters, StoryObj } from "@storybook/react-webpack5";
|
|
4
5
|
import { Viewport } from "storybook/viewport";
|
|
5
|
-
|
|
6
6
|
//#region src/utils.d.ts
|
|
7
7
|
type Story<T> = StoryObj<ComponentProps<T>>;
|
|
8
8
|
interface Options<T> {
|
|
@@ -15,12 +15,7 @@ declare const viewports: Record<string, Viewport>;
|
|
|
15
15
|
declare const modes: (breakpoints?: string[]) => Record<string, {
|
|
16
16
|
viewport: string;
|
|
17
17
|
}>;
|
|
18
|
-
declare function snapshot<T>(story: Story<T> | Array<Story<T>>, {
|
|
19
|
-
args,
|
|
20
|
-
decorator,
|
|
21
|
-
parameters,
|
|
22
|
-
tags
|
|
23
|
-
}?: Options<T>): Story<T>;
|
|
18
|
+
declare function snapshot<T>(story: Story<T> | Array<Story<T>>, { args, decorator, parameters, tags }?: Options<T>): Story<T>;
|
|
24
19
|
//#endregion
|
|
25
20
|
//#region src/index.d.ts
|
|
26
21
|
declare const _default: () => PreviewAddon;
|
package/dist/preview.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newhighsco/storybook-preset",
|
|
3
3
|
"description": "New High Score shareable Storybook preset",
|
|
4
|
-
"version": "10.2.
|
|
4
|
+
"version": "10.2.58",
|
|
5
5
|
"author": "New High Score",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"repository": {
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@newhighsco/chipset": "7.2.3",
|
|
41
41
|
"@newhighsco/storybook-addon-svgr": "4.0.0",
|
|
42
42
|
"@newhighsco/storybook-addon-transpile-modules": "4.0.0",
|
|
43
|
-
"@storybook/addon-a11y": "10.
|
|
44
|
-
"@storybook/addon-docs": "10.
|
|
43
|
+
"@storybook/addon-a11y": "10.5.0",
|
|
44
|
+
"@storybook/addon-docs": "10.5.0",
|
|
45
45
|
"@storybook/addon-styling-webpack": "3.0.2",
|
|
46
46
|
"@storybook/addon-webpack5-compiler-swc": "4.0.3",
|
|
47
47
|
"css-loader": "7.1.4",
|
|
@@ -54,6 +54,6 @@
|
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@storybook/react-webpack5": "^10",
|
|
57
|
-
"storybook": "10.
|
|
57
|
+
"storybook": "10.5.0"
|
|
58
58
|
}
|
|
59
59
|
}
|