@storybook/html-webpack5 0.0.0-pr-25591-sha-337ab526 → 0.0.0-pr-25540-sha-c0037961
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/preset.d.ts +2 -17
- package/package.json +5 -5
package/dist/preset.d.ts
CHANGED
@@ -720,7 +720,7 @@ PackageJson$1.JSPMConfiguration;
|
|
720
720
|
type StoryId = string;
|
721
721
|
type ComponentTitle = string;
|
722
722
|
type StoryName = string;
|
723
|
-
type Tag
|
723
|
+
type Tag = string;
|
724
724
|
|
725
725
|
interface Options$1 {
|
726
726
|
allowRegExp: boolean;
|
@@ -798,9 +798,7 @@ type BaseIndexInput = {
|
|
798
798
|
*/
|
799
799
|
metaId?: MetaId;
|
800
800
|
/** Tags for filtering entries in Storybook and its tools. */
|
801
|
-
tags?: Tag
|
802
|
-
/** Tags from the meta for filtering entries in Storybook and its tools. */
|
803
|
-
metaTags?: Tag$1[];
|
801
|
+
tags?: Tag[];
|
804
802
|
/**
|
805
803
|
* The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if unspecified.
|
806
804
|
* If specified, the story in the CSF file _must_ have a matching id set at `parameters.__id`, to be correctly matched.
|
@@ -1038,12 +1036,6 @@ interface TestBuildFlags {
|
|
1038
1036
|
interface TestBuildConfig {
|
1039
1037
|
test?: TestBuildFlags;
|
1040
1038
|
}
|
1041
|
-
type Tag = string;
|
1042
|
-
interface TagOptions {
|
1043
|
-
excludeFromSidebar: boolean;
|
1044
|
-
excludeFromDocsStories: boolean;
|
1045
|
-
}
|
1046
|
-
type TagsOptions = Record<Tag, Partial<TagOptions>>;
|
1047
1039
|
/**
|
1048
1040
|
* The interface for Storybook configuration used internally in presets
|
1049
1041
|
* The difference is that these values are the raw values, AKA, not wrapped with `PresetValue<>`
|
@@ -1079,14 +1071,8 @@ interface StorybookConfigRaw {
|
|
1079
1071
|
disallowImplicitActionsInRenderV8?: boolean;
|
1080
1072
|
/**
|
1081
1073
|
* Enable asynchronous component rendering in NextJS framework
|
1082
|
-
*
|
1083
|
-
* @deprecated use `experimentalRSC` instead
|
1084
1074
|
*/
|
1085
1075
|
experimentalNextRSC?: boolean;
|
1086
|
-
/**
|
1087
|
-
* Enable asynchronous component rendering in React renderer
|
1088
|
-
*/
|
1089
|
-
experimentalRSC?: boolean;
|
1090
1076
|
};
|
1091
1077
|
build?: TestBuildConfig;
|
1092
1078
|
stories: StoriesEntry[];
|
@@ -1105,7 +1091,6 @@ interface StorybookConfigRaw {
|
|
1105
1091
|
previewBody?: string;
|
1106
1092
|
previewMainTemplate?: string;
|
1107
1093
|
managerHead?: string;
|
1108
|
-
tags?: TagsOptions;
|
1109
1094
|
}
|
1110
1095
|
type PresetProperty<K, TStorybookConfig = StorybookConfigRaw> = TStorybookConfig[K extends keyof TStorybookConfig ? K : never] | PresetPropertyFn<K, TStorybookConfig>;
|
1111
1096
|
type PresetPropertyFn<K, TStorybookConfig = StorybookConfigRaw, TOptions = {}> = (config: TStorybookConfig[K extends keyof TStorybookConfig ? K : never], options: Options & TOptions) => TStorybookConfig[K extends keyof TStorybookConfig ? K : never] | Promise<TStorybookConfig[K extends keyof TStorybookConfig ? K : never]>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/html-webpack5",
|
3
|
-
"version": "0.0.0-pr-
|
3
|
+
"version": "0.0.0-pr-25540-sha-c0037961",
|
4
4
|
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -47,11 +47,11 @@
|
|
47
47
|
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
|
-
"@storybook/builder-webpack5": "0.0.0-pr-
|
51
|
-
"@storybook/core-common": "0.0.0-pr-
|
50
|
+
"@storybook/builder-webpack5": "0.0.0-pr-25540-sha-c0037961",
|
51
|
+
"@storybook/core-common": "0.0.0-pr-25540-sha-c0037961",
|
52
52
|
"@storybook/global": "^5.0.0",
|
53
|
-
"@storybook/html": "0.0.0-pr-
|
54
|
-
"@storybook/preset-html-webpack": "0.0.0-pr-
|
53
|
+
"@storybook/html": "0.0.0-pr-25540-sha-c0037961",
|
54
|
+
"@storybook/preset-html-webpack": "0.0.0-pr-25540-sha-c0037961",
|
55
55
|
"@types/node": "^18.0.0"
|
56
56
|
},
|
57
57
|
"devDependencies": {
|