@storybook/react-webpack5 7.0.0-alpha.49 → 7.0.0-alpha.50
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 +1 -31
- package/jest.config.js +7 -0
- package/package.json +6 -6
package/dist/preset.d.ts
CHANGED
@@ -720,39 +720,9 @@ PackageJson$1.NonStandardEntryPoints &
|
|
720
720
|
PackageJson$1.TypeScriptConfiguration &
|
721
721
|
PackageJson$1.YarnConfiguration &
|
722
722
|
PackageJson$1.JSPMConfiguration;
|
723
|
-
|
724
|
-
declare type StoryId = string;
|
725
723
|
declare type Tag = string;
|
726
|
-
|
724
|
+
interface Parameters {
|
727
725
|
[name: string]: any;
|
728
|
-
};
|
729
|
-
declare type Addon_Comparator<T> = ((a: T, b: T) => boolean) | ((a: T, b: T) => number);
|
730
|
-
declare type Addon_StorySortMethod = 'configure' | 'alphabetical';
|
731
|
-
interface Addon_StorySortObjectParameter {
|
732
|
-
method?: Addon_StorySortMethod;
|
733
|
-
order?: any[];
|
734
|
-
locales?: string;
|
735
|
-
includeNames?: boolean;
|
736
|
-
}
|
737
|
-
declare type Addon_IndexEntryLegacy = [StoryId, any, Parameters, Parameters];
|
738
|
-
declare type Addon_StorySortComparator = Addon_Comparator<Addon_IndexEntryLegacy>;
|
739
|
-
declare type Addon_StorySortParameter = Addon_StorySortComparator | Addon_StorySortObjectParameter;
|
740
|
-
interface Addon_OptionsParameter extends Object {
|
741
|
-
storySort?: Addon_StorySortParameter;
|
742
|
-
theme?: {
|
743
|
-
base: string;
|
744
|
-
brandTitle?: string;
|
745
|
-
};
|
746
|
-
[key: string]: any;
|
747
|
-
}
|
748
|
-
declare type Layout = 'centered' | 'fullscreen' | 'padded' | 'none';
|
749
|
-
interface Parameters extends Parameters$1 {
|
750
|
-
fileName?: string;
|
751
|
-
options?: Addon_OptionsParameter;
|
752
|
-
/** The layout property defines basic styles added to the preview body where the story is rendered. If you pass 'none', no styles are applied. */
|
753
|
-
layout?: Layout;
|
754
|
-
docsOnly?: boolean;
|
755
|
-
[key: string]: any;
|
756
726
|
}
|
757
727
|
|
758
728
|
interface Options$1 {
|
package/jest.config.js
ADDED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/react-webpack5",
|
3
|
-
"version": "7.0.0-alpha.
|
3
|
+
"version": "7.0.0-alpha.50",
|
4
4
|
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -51,13 +51,13 @@
|
|
51
51
|
"prep": "../../../scripts/prepare/bundle.ts"
|
52
52
|
},
|
53
53
|
"dependencies": {
|
54
|
-
"@storybook/builder-webpack5": "7.0.0-alpha.
|
55
|
-
"@storybook/preset-react-webpack": "7.0.0-alpha.
|
56
|
-
"@storybook/react": "7.0.0-alpha.
|
54
|
+
"@storybook/builder-webpack5": "7.0.0-alpha.50",
|
55
|
+
"@storybook/preset-react-webpack": "7.0.0-alpha.50",
|
56
|
+
"@storybook/react": "7.0.0-alpha.50",
|
57
57
|
"@types/node": "^16.0.0"
|
58
58
|
},
|
59
59
|
"devDependencies": {
|
60
|
-
"jest-specific-snapshot": "^
|
60
|
+
"jest-specific-snapshot": "^6.0.0",
|
61
61
|
"typescript": "~4.6.3"
|
62
62
|
},
|
63
63
|
"peerDependencies": {
|
@@ -86,5 +86,5 @@
|
|
86
86
|
],
|
87
87
|
"platform": "node"
|
88
88
|
},
|
89
|
-
"gitHead": "
|
89
|
+
"gitHead": "77184d039091f4782dc4540df6d271a24fb3e242"
|
90
90
|
}
|