@storybook/nextjs 7.0.16 → 7.0.18
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-a81f2015.d.ts → index.d-1f2aee5d.d.ts} +7 -1
- package/dist/preset.d.ts +1 -1
- package/dist/preview.d.ts +1 -1
- package/package.json +9 -9
- /package/template/{stories_12-js → stories_nextjs-12-js}/ImageFuture.stories.jsx +0 -0
- /package/template/{stories_12-js → stories_nextjs-12-js}/Link.stories.jsx +0 -0
- /package/template/{stories_default-js → stories_nextjs-default-js}/Font.jsx +0 -0
- /package/template/{stories_default-js → stories_nextjs-default-js}/Font.stories.jsx +0 -0
- /package/template/{stories_default-js → stories_nextjs-default-js}/Head.stories.jsx +0 -0
- /package/template/{stories_default-js → stories_nextjs-default-js}/ImageLegacy.stories.jsx +0 -0
- /package/template/{stories_default-js → stories_nextjs-default-js}/Link.stories.jsx +0 -0
- /package/template/{stories_default-js → stories_nextjs-default-js}/Link.stories.module.css +0 -0
- /package/template/{stories_default-js → stories_nextjs-default-js}/Navigation.stories.jsx +0 -0
- /package/template/{stories_default-js → stories_nextjs-default-js}/Router.stories.jsx +0 -0
- /package/template/{stories_default-js → stories_nextjs-default-js}/fonts/OFL.txt +0 -0
- /package/template/{stories_default-js → stories_nextjs-default-js}/fonts/RubikStorm-Regular.ttf +0 -0
- /package/template/{stories_default-ts → stories_nextjs-default-ts}/Link.stories.module.css +0 -0
- /package/template/{stories_default-ts → stories_nextjs-default-ts}/Link.stories.tsx +0 -0
- /package/template/{stories_default-ts → stories_nextjs-default-ts}/Navigation.stories.tsx +0 -0
|
@@ -1183,13 +1183,19 @@ interface StorybookConfig {
|
|
|
1183
1183
|
previewHead?: PresetValue<string>;
|
|
1184
1184
|
previewBody?: PresetValue<string>;
|
|
1185
1185
|
/**
|
|
1186
|
-
*
|
|
1186
|
+
* Programmatically override the preview's main page template.
|
|
1187
1187
|
* This should return a reference to a file containing an `.ejs` template
|
|
1188
1188
|
* that will be interpolated with environment variables.
|
|
1189
1189
|
*
|
|
1190
1190
|
* @example '.storybook/index.ejs'
|
|
1191
1191
|
*/
|
|
1192
1192
|
previewMainTemplate?: string;
|
|
1193
|
+
/**
|
|
1194
|
+
* Programmatically modify the preview head/body HTML.
|
|
1195
|
+
* The managerHead function accept a string,
|
|
1196
|
+
* which is the existing head content, and return a modified string.
|
|
1197
|
+
*/
|
|
1198
|
+
managerHead?: PresetValue<string>;
|
|
1193
1199
|
}
|
|
1194
1200
|
type PresetValue<T> = T | ((config: T, options: Options) => T | Promise<T>);
|
|
1195
1201
|
type PresetProperty<K, TStorybookConfig = StorybookConfig> = TStorybookConfig[K extends keyof TStorybookConfig ? K : never] | PresetPropertyFn<K, TStorybookConfig>;
|
package/dist/preset.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PresetProperty, O as Options } from './index.d-
|
|
1
|
+
import { P as PresetProperty, O as Options } from './index.d-1f2aee5d.js';
|
|
2
2
|
import { TransformOptions } from '@babel/core';
|
|
3
3
|
import { S as StorybookConfig } from './types-96e623f7.js';
|
|
4
4
|
import 'file-system-cache';
|
package/dist/preview.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/nextjs",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.18",
|
|
4
4
|
"description": "Storybook for Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -70,13 +70,13 @@
|
|
|
70
70
|
"@babel/preset-react": "^7.18.6",
|
|
71
71
|
"@babel/preset-typescript": "^7.21.0",
|
|
72
72
|
"@babel/runtime": "^7.21.0",
|
|
73
|
-
"@storybook/addon-actions": "7.0.
|
|
74
|
-
"@storybook/builder-webpack5": "7.0.
|
|
75
|
-
"@storybook/core-common": "7.0.
|
|
76
|
-
"@storybook/node-logger": "7.0.
|
|
77
|
-
"@storybook/preset-react-webpack": "7.0.
|
|
78
|
-
"@storybook/preview-api": "7.0.
|
|
79
|
-
"@storybook/react": "7.0.
|
|
73
|
+
"@storybook/addon-actions": "7.0.18",
|
|
74
|
+
"@storybook/builder-webpack5": "7.0.18",
|
|
75
|
+
"@storybook/core-common": "7.0.18",
|
|
76
|
+
"@storybook/node-logger": "7.0.18",
|
|
77
|
+
"@storybook/preset-react-webpack": "7.0.18",
|
|
78
|
+
"@storybook/preview-api": "7.0.18",
|
|
79
|
+
"@storybook/react": "7.0.18",
|
|
80
80
|
"@types/node": "^16.0.0",
|
|
81
81
|
"css-loader": "^6.7.3",
|
|
82
82
|
"find-up": "^5.0.0",
|
|
@@ -147,5 +147,5 @@
|
|
|
147
147
|
],
|
|
148
148
|
"platform": "node"
|
|
149
149
|
},
|
|
150
|
-
"gitHead": "
|
|
150
|
+
"gitHead": "8edc25418ec52a0ff223860677716303df7cb09f"
|
|
151
151
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/template/{stories_default-js → stories_nextjs-default-js}/fonts/RubikStorm-Regular.ttf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|