@storybook/react 7.0.0-rc.4 → 7.0.0-rc.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react",
3
- "version": "7.0.0-rc.4",
3
+ "version": "7.0.0-rc.6",
4
4
  "description": "Storybook React renderer",
5
5
  "keywords": [
6
6
  "storybook"
@@ -53,13 +53,13 @@
53
53
  "prep": "../../../scripts/prepare/bundle.ts"
54
54
  },
55
55
  "dependencies": {
56
- "@storybook/client-logger": "7.0.0-rc.4",
57
- "@storybook/core-client": "7.0.0-rc.4",
58
- "@storybook/docs-tools": "7.0.0-rc.4",
56
+ "@storybook/client-logger": "7.0.0-rc.6",
57
+ "@storybook/core-client": "7.0.0-rc.6",
58
+ "@storybook/docs-tools": "7.0.0-rc.6",
59
59
  "@storybook/global": "^5.0.0",
60
- "@storybook/preview-api": "7.0.0-rc.4",
61
- "@storybook/react-dom-shim": "7.0.0-rc.4",
62
- "@storybook/types": "7.0.0-rc.4",
60
+ "@storybook/preview-api": "7.0.0-rc.6",
61
+ "@storybook/react-dom-shim": "7.0.0-rc.6",
62
+ "@storybook/types": "7.0.0-rc.6",
63
63
  "@types/escodegen": "^0.0.6",
64
64
  "@types/estree": "^0.0.51",
65
65
  "@types/node": "^16.0.0",
@@ -106,5 +106,5 @@
106
106
  ],
107
107
  "platform": "browser"
108
108
  },
109
- "gitHead": "6fb713a2ca980fa241f82a076579889fcdf47ecc"
109
+ "gitHead": "1467fa1d714cbf43d5d87f9233c6dd42e20da787"
110
110
  }
@@ -2,11 +2,11 @@
2
2
 
3
3
  exports[`react component properties 9832-ts-enum-export 1`] = `
4
4
  "import React from 'react';
5
- export let EnumWithExtraProps;
6
- (function (EnumWithExtraProps) {
5
+ export let EnumWithExtraProps = /*#__PURE__*/function (EnumWithExtraProps) {
7
6
  EnumWithExtraProps[\\"key1\\"] = \\"key1\\";
8
7
  EnumWithExtraProps[\\"key2\\"] = \\"key2\\";
9
- })(EnumWithExtraProps || (EnumWithExtraProps = {}));
8
+ return EnumWithExtraProps;
9
+ }({});
10
10
  export const component = () => /*#__PURE__*/React.createElement(\\"div\\", null, \\"hello\\");
11
11
  component.__docgenInfo = {
12
12
  \\"description\\": \\"\\",
@@ -5,24 +5,24 @@ exports[`react component properties ts-types 1`] = `
5
5
  function concat(a, b) {
6
6
  return a + b;
7
7
  }
8
- var DefaultEnum;
9
- (function (DefaultEnum) {
8
+ var DefaultEnum = /*#__PURE__*/function (DefaultEnum) {
10
9
  DefaultEnum[DefaultEnum[\\"TopLeft\\"] = 0] = \\"TopLeft\\";
11
10
  DefaultEnum[DefaultEnum[\\"TopRight\\"] = 1] = \\"TopRight\\";
12
11
  DefaultEnum[DefaultEnum[\\"TopCenter\\"] = 2] = \\"TopCenter\\";
13
- })(DefaultEnum || (DefaultEnum = {}));
14
- var NumericEnum;
15
- (function (NumericEnum) {
12
+ return DefaultEnum;
13
+ }(DefaultEnum || {});
14
+ var NumericEnum = /*#__PURE__*/function (NumericEnum) {
16
15
  NumericEnum[NumericEnum[\\"TopLeft\\"] = 0] = \\"TopLeft\\";
17
16
  NumericEnum[NumericEnum[\\"TopRight\\"] = 1] = \\"TopRight\\";
18
17
  NumericEnum[NumericEnum[\\"TopCenter\\"] = 2] = \\"TopCenter\\";
19
- })(NumericEnum || (NumericEnum = {}));
20
- var StringEnum;
21
- (function (StringEnum) {
18
+ return NumericEnum;
19
+ }(NumericEnum || {});
20
+ var StringEnum = /*#__PURE__*/function (StringEnum) {
22
21
  StringEnum[\\"TopLeft\\"] = \\"top-left\\";
23
22
  StringEnum[\\"TopRight\\"] = \\"top-right\\";
24
23
  StringEnum[\\"TopCenter\\"] = \\"top-center\\";
25
- })(StringEnum || (StringEnum = {}));
24
+ return StringEnum;
25
+ }(StringEnum || {});
26
26
  export const TypeScriptProps = () => /*#__PURE__*/React.createElement(\\"div\\", null, \\"TypeScript!\\");
27
27
  TypeScriptProps.defaultProps = {
28
28
  any: 'Any value',