@storybook/addon-essentials 6.5.0-alpha.4 → 6.5.0-alpha.40

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Storybook Essentials is a curated collection of addons to bring out the best of Storybook.
4
4
 
5
- Each addon is documented and maintained by the core team and will be upgraded alongside Storybook as the platform evolves. We will also do our best to maintain [framework support](https://github.com/storybookjs/storybook/blob/main/ADDONS_SUPPORT.md) for all of the officially supported frameworks.
5
+ Each addon is documented and maintained by the core team and will be upgraded alongside Storybook as the platform evolves. We will also do our best to maintain [framework support](https://storybook.js.org/docs/react/api/frameworks-feature-support) for all of the officially supported frameworks.
6
6
 
7
7
  ## Contents
8
8
 
package/dist/cjs/index.js CHANGED
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
- require("core-js/modules/es.weak-map.js");
6
-
7
- require("core-js/modules/es.object.to-string.js");
5
+ require("core-js/modules/es.array.iterator.js");
8
6
 
9
7
  require("core-js/modules/es.string.iterator.js");
10
8
 
11
- require("core-js/modules/es.array.iterator.js");
9
+ require("core-js/modules/es.weak-map.js");
12
10
 
13
11
  require("core-js/modules/web.dom-collections.iterator.js");
14
12
 
@@ -29,6 +27,8 @@ require("core-js/modules/es.array.join.js");
29
27
 
30
28
  require("core-js/modules/es.array.find.js");
31
29
 
30
+ require("core-js/modules/es.object.to-string.js");
31
+
32
32
  require("core-js/modules/es.function.name.js");
33
33
 
34
34
  require("core-js/modules/es.string.starts-with.js");
@@ -41,9 +41,9 @@ var _path = _interopRequireWildcard(require("path"));
41
41
 
42
42
  var _nodeLogger = require("@storybook/node-logger");
43
43
 
44
- function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
44
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
45
45
 
46
- function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
46
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
47
47
 
48
48
  var requireMain = function requireMain(configDir) {
49
49
  var main = {};
package/dist/esm/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import "core-js/modules/es.array.join.js";
2
2
  import "core-js/modules/es.array.find.js";
3
+ import "core-js/modules/es.object.to-string.js";
3
4
  import "core-js/modules/es.function.name.js";
4
5
  import "core-js/modules/es.string.starts-with.js";
5
6
  import "core-js/modules/es.array.map.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-essentials",
3
- "version": "6.5.0-alpha.4",
3
+ "version": "6.5.0-alpha.40",
4
4
  "description": "Curated addons to bring out the best of Storybook",
5
5
  "keywords": [
6
6
  "addon",
@@ -39,44 +39,61 @@
39
39
  "prepare": "node ../../scripts/prepare.js"
40
40
  },
41
41
  "dependencies": {
42
- "@storybook/addon-actions": "6.5.0-alpha.4",
43
- "@storybook/addon-backgrounds": "6.5.0-alpha.4",
44
- "@storybook/addon-controls": "6.5.0-alpha.4",
45
- "@storybook/addon-docs": "6.5.0-alpha.4",
46
- "@storybook/addon-measure": "6.5.0-alpha.4",
47
- "@storybook/addon-outline": "6.5.0-alpha.4",
48
- "@storybook/addon-toolbars": "6.5.0-alpha.4",
49
- "@storybook/addon-viewport": "6.5.0-alpha.4",
50
- "@storybook/addons": "6.5.0-alpha.4",
51
- "@storybook/api": "6.5.0-alpha.4",
52
- "@storybook/node-logger": "6.5.0-alpha.4",
42
+ "@storybook/addon-actions": "6.5.0-alpha.40",
43
+ "@storybook/addon-backgrounds": "6.5.0-alpha.40",
44
+ "@storybook/addon-controls": "6.5.0-alpha.40",
45
+ "@storybook/addon-docs": "6.5.0-alpha.40",
46
+ "@storybook/addon-measure": "6.5.0-alpha.40",
47
+ "@storybook/addon-outline": "6.5.0-alpha.40",
48
+ "@storybook/addon-toolbars": "6.5.0-alpha.40",
49
+ "@storybook/addon-viewport": "6.5.0-alpha.40",
50
+ "@storybook/addons": "6.5.0-alpha.40",
51
+ "@storybook/api": "6.5.0-alpha.40",
52
+ "@storybook/node-logger": "6.5.0-alpha.40",
53
53
  "core-js": "^3.8.2",
54
54
  "regenerator-runtime": "^0.13.7",
55
55
  "ts-dedent": "^2.0.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@babel/core": "^7.12.10",
59
- "@storybook/vue": "6.5.0-alpha.4",
59
+ "@storybook/vue": "6.5.0-alpha.40",
60
60
  "@types/jest": "^26.0.16",
61
61
  "@types/webpack-env": "^1.16.0"
62
62
  },
63
63
  "peerDependencies": {
64
- "@babel/core": "^7.9.6",
65
- "@storybook/vue": "6.5.0-alpha.4",
66
- "@storybook/web-components": "6.5.0-alpha.4",
67
- "babel-loader": "^8.0.0",
68
- "lit-html": "^1.4.1 || ^2.0.0-rc.3",
69
- "react": "^16.8.0 || ^17.0.0",
70
- "react-dom": "^16.8.0 || ^17.0.0",
71
- "webpack": "*"
64
+ "@babel/core": "^7.9.6"
72
65
  },
73
66
  "peerDependenciesMeta": {
67
+ "@storybook/angular": {
68
+ "optional": true
69
+ },
70
+ "@storybook/builder-manager4": {
71
+ "optional": true
72
+ },
73
+ "@storybook/builder-manager5": {
74
+ "optional": true
75
+ },
76
+ "@storybook/builder-webpack4": {
77
+ "optional": true
78
+ },
79
+ "@storybook/builder-webpack5": {
80
+ "optional": true
81
+ },
82
+ "@storybook/html": {
83
+ "optional": true
84
+ },
74
85
  "@storybook/vue": {
75
86
  "optional": true
76
87
  },
88
+ "@storybook/vue3": {
89
+ "optional": true
90
+ },
77
91
  "@storybook/web-components": {
78
92
  "optional": true
79
93
  },
94
+ "lit": {
95
+ "optional": true
96
+ },
80
97
  "lit-html": {
81
98
  "optional": true
82
99
  },
@@ -86,6 +103,15 @@
86
103
  "react-dom": {
87
104
  "optional": true
88
105
  },
106
+ "svelte": {
107
+ "optional": true
108
+ },
109
+ "sveltedoc-parser": {
110
+ "optional": true
111
+ },
112
+ "vue": {
113
+ "optional": true
114
+ },
89
115
  "webpack": {
90
116
  "optional": true
91
117
  }
@@ -93,6 +119,6 @@
93
119
  "publishConfig": {
94
120
  "access": "public"
95
121
  },
96
- "gitHead": "9a73995d6a5cfa36c5a5ce60cb33259ff40e2fe6",
122
+ "gitHead": "ffb3402ee40562579d45dbcf7870a1a8372ac0dd",
97
123
  "sbmodern": "dist/modern/index.js"
98
124
  }
@@ -1 +0,0 @@
1
- "use strict";
File without changes
File without changes