@storybook/react-webpack5 0.0.0-pr-25596-sha-579fbffd → 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.
Files changed (2) hide show
  1. package/dist/preset.d.ts +2 -11
  2. package/package.json +5 -5
package/dist/preset.d.ts CHANGED
@@ -723,7 +723,7 @@ PackageJson$1.JSPMConfiguration;
723
723
  type StoryId = string;
724
724
  type ComponentTitle = string;
725
725
  type StoryName = string;
726
- type Tag$1 = string;
726
+ type Tag = string;
727
727
 
728
728
  interface Options$1 {
729
729
  allowRegExp: boolean;
@@ -801,9 +801,7 @@ type BaseIndexInput = {
801
801
  */
802
802
  metaId?: MetaId;
803
803
  /** Tags for filtering entries in Storybook and its tools. */
804
- tags?: Tag$1[];
805
- /** Tags from the meta for filtering entries in Storybook and its tools. */
806
- metaTags?: Tag$1[];
804
+ tags?: Tag[];
807
805
  /**
808
806
  * The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if unspecified.
809
807
  * If specified, the story in the CSF file _must_ have a matching id set at `parameters.__id`, to be correctly matched.
@@ -1041,12 +1039,6 @@ interface TestBuildFlags {
1041
1039
  interface TestBuildConfig {
1042
1040
  test?: TestBuildFlags;
1043
1041
  }
1044
- type Tag = string;
1045
- interface TagOptions {
1046
- excludeFromSidebar: boolean;
1047
- excludeFromDocsStories: boolean;
1048
- }
1049
- type TagsOptions = Record<Tag, Partial<TagOptions>>;
1050
1042
  /**
1051
1043
  * The interface for Storybook configuration used internally in presets
1052
1044
  * The difference is that these values are the raw values, AKA, not wrapped with `PresetValue<>`
@@ -1102,7 +1094,6 @@ interface StorybookConfigRaw {
1102
1094
  previewBody?: string;
1103
1095
  previewMainTemplate?: string;
1104
1096
  managerHead?: string;
1105
- tags?: TagsOptions;
1106
1097
  }
1107
1098
  type PresetProperty<K, TStorybookConfig = StorybookConfigRaw> = TStorybookConfig[K extends keyof TStorybookConfig ? K : never] | PresetPropertyFn<K, TStorybookConfig>;
1108
1099
  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/react-webpack5",
3
- "version": "0.0.0-pr-25596-sha-579fbffd",
3
+ "version": "0.0.0-pr-25540-sha-c0037961",
4
4
  "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -47,15 +47,15 @@
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-25596-sha-579fbffd",
51
- "@storybook/preset-react-webpack": "0.0.0-pr-25596-sha-579fbffd",
52
- "@storybook/react": "0.0.0-pr-25596-sha-579fbffd",
50
+ "@storybook/builder-webpack5": "0.0.0-pr-25540-sha-c0037961",
51
+ "@storybook/preset-react-webpack": "0.0.0-pr-25540-sha-c0037961",
52
+ "@storybook/react": "0.0.0-pr-25540-sha-c0037961",
53
53
  "@types/node": "^18.0.0"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
57
57
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
58
- "typescript": ">= 4.2.x"
58
+ "typescript": "*"
59
59
  },
60
60
  "peerDependenciesMeta": {
61
61
  "typescript": {