@storybook/react-dom-shim 7.6.0-alpha.5 → 7.6.0-alpha.7
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 +20 -7
- package/package.json +4 -4
package/dist/preset.d.ts
CHANGED
|
@@ -2872,8 +2872,15 @@ interface TypescriptOptions {
|
|
|
2872
2872
|
* Disable parsing typescript files through babel.
|
|
2873
2873
|
*
|
|
2874
2874
|
* @default `false`
|
|
2875
|
+
* @deprecated use `skipCompiler` instead
|
|
2875
2876
|
*/
|
|
2876
2877
|
skipBabel: boolean;
|
|
2878
|
+
/**
|
|
2879
|
+
* Disable parsing typescript files through compiler.
|
|
2880
|
+
*
|
|
2881
|
+
* @default `false`
|
|
2882
|
+
*/
|
|
2883
|
+
skipCompiler: boolean;
|
|
2877
2884
|
}
|
|
2878
2885
|
type Preset = string | {
|
|
2879
2886
|
name: string;
|
|
@@ -2911,19 +2918,19 @@ interface TestBuildFlags {
|
|
|
2911
2918
|
/**
|
|
2912
2919
|
* The package @storybook/blocks will be excluded from the bundle, even when imported in e.g. the preview.
|
|
2913
2920
|
*/
|
|
2914
|
-
|
|
2921
|
+
disableBlocks?: boolean;
|
|
2915
2922
|
/**
|
|
2916
|
-
* Disable
|
|
2923
|
+
* Disable specific addons
|
|
2917
2924
|
*/
|
|
2918
|
-
|
|
2925
|
+
disabledAddons?: string[];
|
|
2919
2926
|
/**
|
|
2920
2927
|
* Filter out .mdx stories entries
|
|
2921
2928
|
*/
|
|
2922
|
-
|
|
2929
|
+
disableMDXEntries?: boolean;
|
|
2923
2930
|
/**
|
|
2924
2931
|
* Override autodocs to be disabled
|
|
2925
2932
|
*/
|
|
2926
|
-
|
|
2933
|
+
disableAutoDocs?: boolean;
|
|
2927
2934
|
/**
|
|
2928
2935
|
* Override docgen to be disabled.
|
|
2929
2936
|
*/
|
|
@@ -2937,9 +2944,9 @@ interface TestBuildFlags {
|
|
|
2937
2944
|
*/
|
|
2938
2945
|
disableTreeShaking?: boolean;
|
|
2939
2946
|
/**
|
|
2940
|
-
*
|
|
2947
|
+
* Minify with ESBuild when using webpack.
|
|
2941
2948
|
*/
|
|
2942
|
-
|
|
2949
|
+
esbuildMinify?: boolean;
|
|
2943
2950
|
}
|
|
2944
2951
|
interface TestBuildConfig {
|
|
2945
2952
|
test?: TestBuildFlags;
|
|
@@ -2993,6 +3000,12 @@ interface StorybookConfig {
|
|
|
2993
3000
|
* Apply decorators from preview.js before decorators from addons or frameworks
|
|
2994
3001
|
*/
|
|
2995
3002
|
legacyDecoratorFileOrder?: boolean;
|
|
3003
|
+
/**
|
|
3004
|
+
* Disallow implicit actions during rendering. This will be the default in Storybook 8.
|
|
3005
|
+
*
|
|
3006
|
+
* This will make sure that your story renders the same no matter if docgen is enabled or not.
|
|
3007
|
+
*/
|
|
3008
|
+
disallowImplicitActionsInRenderV8?: boolean;
|
|
2996
3009
|
};
|
|
2997
3010
|
build?: TestBuildConfig;
|
|
2998
3011
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-dom-shim",
|
|
3
|
-
"version": "7.6.0-alpha.
|
|
3
|
+
"version": "7.6.0-alpha.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"!src/**/*"
|
|
51
51
|
],
|
|
52
52
|
"scripts": {
|
|
53
|
-
"check": "../../../scripts/prepare/check.ts",
|
|
54
|
-
"prep": "../../../scripts/prepare/bundle.ts"
|
|
53
|
+
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
|
|
54
|
+
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@storybook/types": "7.6.0-alpha.
|
|
57
|
+
"@storybook/types": "7.6.0-alpha.7",
|
|
58
58
|
"typescript": "~4.9.3"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|