@storybook/web-components-vite 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.
@@ -721,7 +721,7 @@ PackageJson$1.JSPMConfiguration;
|
|
721
721
|
type StoryId = string;
|
722
722
|
type ComponentTitle = string;
|
723
723
|
type StoryName = string;
|
724
|
-
type Tag
|
724
|
+
type Tag = string;
|
725
725
|
|
726
726
|
interface Options$1 {
|
727
727
|
allowRegExp: boolean;
|
@@ -799,9 +799,7 @@ type BaseIndexInput = {
|
|
799
799
|
*/
|
800
800
|
metaId?: MetaId;
|
801
801
|
/** Tags for filtering entries in Storybook and its tools. */
|
802
|
-
tags?: Tag
|
803
|
-
/** Tags from the meta for filtering entries in Storybook and its tools. */
|
804
|
-
metaTags?: Tag$1[];
|
802
|
+
tags?: Tag[];
|
805
803
|
/**
|
806
804
|
* The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if unspecified.
|
807
805
|
* If specified, the story in the CSF file _must_ have a matching id set at `parameters.__id`, to be correctly matched.
|
@@ -1039,12 +1037,6 @@ interface TestBuildFlags {
|
|
1039
1037
|
interface TestBuildConfig {
|
1040
1038
|
test?: TestBuildFlags;
|
1041
1039
|
}
|
1042
|
-
type Tag = string;
|
1043
|
-
interface TagOptions {
|
1044
|
-
excludeFromSidebar: boolean;
|
1045
|
-
excludeFromDocsStories: boolean;
|
1046
|
-
}
|
1047
|
-
type TagsOptions = Record<Tag, Partial<TagOptions>>;
|
1048
1040
|
/**
|
1049
1041
|
* The interface for Storybook configuration used internally in presets
|
1050
1042
|
* The difference is that these values are the raw values, AKA, not wrapped with `PresetValue<>`
|
@@ -1080,14 +1072,8 @@ interface StorybookConfigRaw {
|
|
1080
1072
|
disallowImplicitActionsInRenderV8?: boolean;
|
1081
1073
|
/**
|
1082
1074
|
* Enable asynchronous component rendering in NextJS framework
|
1083
|
-
*
|
1084
|
-
* @deprecated use `experimentalRSC` instead
|
1085
1075
|
*/
|
1086
1076
|
experimentalNextRSC?: boolean;
|
1087
|
-
/**
|
1088
|
-
* Enable asynchronous component rendering in React renderer
|
1089
|
-
*/
|
1090
|
-
experimentalRSC?: boolean;
|
1091
1077
|
};
|
1092
1078
|
build?: TestBuildConfig;
|
1093
1079
|
stories: StoriesEntry[];
|
@@ -1106,7 +1092,6 @@ interface StorybookConfigRaw {
|
|
1106
1092
|
previewBody?: string;
|
1107
1093
|
previewMainTemplate?: string;
|
1108
1094
|
managerHead?: string;
|
1109
|
-
tags?: TagsOptions;
|
1110
1095
|
}
|
1111
1096
|
/**
|
1112
1097
|
* The interface for Storybook configuration in `main.ts` files.
|
@@ -1203,10 +1188,6 @@ interface StorybookConfig$1 {
|
|
1203
1188
|
* which is the existing head content, and return a modified string.
|
1204
1189
|
*/
|
1205
1190
|
managerHead?: PresetValue<StorybookConfigRaw['managerHead']>;
|
1206
|
-
/**
|
1207
|
-
* Configure non-standard tag behaviors
|
1208
|
-
*/
|
1209
|
-
tags?: PresetValue<StorybookConfigRaw['tags']>;
|
1210
1191
|
}
|
1211
1192
|
type PresetValue<T> = T | ((config: T, options: Options) => T | Promise<T>);
|
1212
1193
|
type PresetProperty<K, TStorybookConfig = StorybookConfigRaw> = TStorybookConfig[K extends keyof TStorybookConfig ? K : never] | PresetPropertyFn<K, TStorybookConfig>;
|
package/dist/index.d.ts
CHANGED
package/dist/preset.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/web-components-vite",
|
3
|
-
"version": "0.0.0-pr-
|
3
|
+
"version": "0.0.0-pr-25540-sha-c0037961",
|
4
4
|
"description": "Storybook for web-components and Vite: Develop Web Components in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -47,10 +47,10 @@
|
|
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-vite": "0.0.0-pr-
|
51
|
-
"@storybook/core-server": "0.0.0-pr-
|
52
|
-
"@storybook/node-logger": "0.0.0-pr-
|
53
|
-
"@storybook/web-components": "0.0.0-pr-
|
50
|
+
"@storybook/builder-vite": "0.0.0-pr-25540-sha-c0037961",
|
51
|
+
"@storybook/core-server": "0.0.0-pr-25540-sha-c0037961",
|
52
|
+
"@storybook/node-logger": "0.0.0-pr-25540-sha-c0037961",
|
53
|
+
"@storybook/web-components": "0.0.0-pr-25540-sha-c0037961",
|
54
54
|
"magic-string": "^0.30.0"
|
55
55
|
},
|
56
56
|
"devDependencies": {
|