@storybook/ember 6.5.0-alpha.6 → 6.5.0-alpha.60
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/cjs/client/docs/config.js +21 -0
- package/dist/cjs/client/docs/index.js +13 -0
- package/dist/cjs/client/docs/jsondoc.js +89 -0
- package/dist/cjs/client/index.js +16 -16
- package/dist/cjs/client/preview/config.js +1 -1
- package/dist/cjs/client/preview/docs/config.js +17 -0
- package/dist/cjs/client/preview/docs/index.js +13 -0
- package/dist/cjs/client/preview/docs/jsondoc.js +89 -0
- package/dist/cjs/client/preview/index.js +3 -3
- package/dist/cjs/server/framework-preset-babel-ember.js +5 -5
- package/dist/cjs/server/framework-preset-ember-docs.js +17 -0
- package/dist/cjs/server/options.js +1 -1
- package/dist/cjs/server/preset.js +8 -0
- package/dist/esm/client/docs/config.js +10 -0
- package/dist/esm/client/docs/index.js +1 -0
- package/dist/esm/client/docs/jsondoc.js +67 -0
- package/dist/esm/client/preview/docs/config.js +8 -0
- package/dist/esm/client/preview/docs/index.js +1 -0
- package/dist/esm/client/preview/docs/jsondoc.js +67 -0
- package/dist/esm/client/preview/index.js +1 -1
- package/dist/esm/server/framework-preset-babel-ember.js +3 -3
- package/dist/esm/server/framework-preset-ember-docs.js +6 -0
- package/dist/esm/server/options.js +1 -1
- package/dist/esm/server/preset.js +1 -0
- package/dist/modern/client/docs/config.js +10 -0
- package/dist/modern/client/docs/index.js +1 -0
- package/dist/modern/client/docs/jsondoc.js +57 -0
- package/dist/modern/client/preview/docs/config.js +8 -0
- package/dist/modern/client/preview/docs/index.js +1 -0
- package/dist/modern/client/preview/docs/jsondoc.js +57 -0
- package/dist/modern/client/preview/index.js +1 -1
- package/dist/modern/server/framework-preset-babel-ember.js +3 -3
- package/dist/modern/server/framework-preset-ember-docs.js +6 -0
- package/dist/modern/server/options.js +1 -1
- package/dist/modern/server/preset.js +1 -0
- package/dist/ts3.4/src/client/preview/index.d.ts +2 -2
- package/dist/ts3.4/src/server/framework-preset-babel-ember.d.ts +3 -48
- package/dist/ts3.4/src/server/framework-preset-ember-docs.d.ts +2 -0
- package/dist/ts3.4/src/server/preset.d.ts +2 -0
- package/dist/ts3.9/src/client/preview/index.d.ts +2 -2
- package/dist/ts3.9/src/server/framework-preset-babel-ember.d.ts +4 -49
- package/dist/ts3.9/src/server/framework-preset-ember-docs.d.ts +2 -0
- package/dist/ts3.9/src/server/options.d.ts +1 -1
- package/dist/ts3.9/src/server/preset.d.ts +2 -0
- package/package.json +6 -6
- package/preset.js +1 -1
- package/dist/cjs/typings.d.js +0 -1
- package/dist/esm/typings.d.js +0 -0
- package/dist/modern/typings.d.js +0 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.parameters = exports.argTypesEnhancers = void 0;
|
7
|
+
|
8
|
+
var _docsTools = require("@storybook/docs-tools");
|
9
|
+
|
10
|
+
var _jsondoc = require("./jsondoc");
|
11
|
+
|
12
|
+
var parameters = {
|
13
|
+
docs: {
|
14
|
+
iframeHeight: 80,
|
15
|
+
extractArgTypes: _jsondoc.extractArgTypes,
|
16
|
+
extractComponentDescription: _jsondoc.extractComponentDescription
|
17
|
+
}
|
18
|
+
};
|
19
|
+
exports.parameters = parameters;
|
20
|
+
var argTypesEnhancers = [_docsTools.enhanceArgTypes];
|
21
|
+
exports.argTypesEnhancers = argTypesEnhancers;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
Object.defineProperty(exports, "setJSONDoc", {
|
7
|
+
enumerable: true,
|
8
|
+
get: function get() {
|
9
|
+
return _jsondoc.setJSONDoc;
|
10
|
+
}
|
11
|
+
});
|
12
|
+
|
13
|
+
var _jsondoc = require("./jsondoc");
|
@@ -0,0 +1,89 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.setJSONDoc = exports.getJSONDoc = exports.extractComponentDescription = exports.extractArgTypes = void 0;
|
7
|
+
|
8
|
+
require("core-js/modules/es.array.find.js");
|
9
|
+
|
10
|
+
require("core-js/modules/es.object.to-string.js");
|
11
|
+
|
12
|
+
require("core-js/modules/es.function.name.js");
|
13
|
+
|
14
|
+
require("core-js/modules/es.symbol.js");
|
15
|
+
|
16
|
+
require("core-js/modules/es.symbol.description.js");
|
17
|
+
|
18
|
+
/* eslint-disable no-underscore-dangle */
|
19
|
+
|
20
|
+
/* global window */
|
21
|
+
var setJSONDoc = function setJSONDoc(jsondoc) {
|
22
|
+
window.__EMBER_GENERATED_DOC_JSON__ = jsondoc;
|
23
|
+
};
|
24
|
+
|
25
|
+
exports.setJSONDoc = setJSONDoc;
|
26
|
+
|
27
|
+
var getJSONDoc = function getJSONDoc() {
|
28
|
+
return window.__EMBER_GENERATED_DOC_JSON__;
|
29
|
+
};
|
30
|
+
|
31
|
+
exports.getJSONDoc = getJSONDoc;
|
32
|
+
|
33
|
+
var extractArgTypes = function extractArgTypes(componentName) {
|
34
|
+
var json = getJSONDoc();
|
35
|
+
|
36
|
+
if (!(json && json.included)) {
|
37
|
+
return null;
|
38
|
+
}
|
39
|
+
|
40
|
+
var componentDoc = json.included.find(function (doc) {
|
41
|
+
return doc.attributes.name === componentName;
|
42
|
+
});
|
43
|
+
|
44
|
+
if (!componentDoc) {
|
45
|
+
return null;
|
46
|
+
}
|
47
|
+
|
48
|
+
return componentDoc.attributes.arguments.reduce(function (acc, prop) {
|
49
|
+
acc[prop.name] = {
|
50
|
+
name: prop.name,
|
51
|
+
defaultValue: prop.defaultValue,
|
52
|
+
description: prop.description,
|
53
|
+
table: {
|
54
|
+
defaultValue: {
|
55
|
+
summary: prop.defaultValue
|
56
|
+
},
|
57
|
+
type: {
|
58
|
+
summary: prop.type,
|
59
|
+
required: prop.tags.length ? prop.tags.some(function (tag) {
|
60
|
+
return tag.name === 'required';
|
61
|
+
}) : false
|
62
|
+
}
|
63
|
+
}
|
64
|
+
};
|
65
|
+
return acc;
|
66
|
+
}, {});
|
67
|
+
};
|
68
|
+
|
69
|
+
exports.extractArgTypes = extractArgTypes;
|
70
|
+
|
71
|
+
var extractComponentDescription = function extractComponentDescription(componentName) {
|
72
|
+
var json = getJSONDoc();
|
73
|
+
|
74
|
+
if (!(json && json.included)) {
|
75
|
+
return null;
|
76
|
+
}
|
77
|
+
|
78
|
+
var componentDoc = json.included.find(function (doc) {
|
79
|
+
return doc.attributes.name === componentName;
|
80
|
+
});
|
81
|
+
|
82
|
+
if (!componentDoc) {
|
83
|
+
return null;
|
84
|
+
}
|
85
|
+
|
86
|
+
return componentDoc.attributes.description;
|
87
|
+
};
|
88
|
+
|
89
|
+
exports.extractComponentDescription = extractComponentDescription;
|
package/dist/cjs/client/index.js
CHANGED
@@ -3,18 +3,6 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
Object.defineProperty(exports, "storiesOf", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function get() {
|
9
|
-
return _preview.storiesOf;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
Object.defineProperty(exports, "setAddon", {
|
13
|
-
enumerable: true,
|
14
|
-
get: function get() {
|
15
|
-
return _preview.setAddon;
|
16
|
-
}
|
17
|
-
});
|
18
6
|
Object.defineProperty(exports, "addDecorator", {
|
19
7
|
enumerable: true,
|
20
8
|
get: function get() {
|
@@ -33,16 +21,16 @@ Object.defineProperty(exports, "configure", {
|
|
33
21
|
return _preview.configure;
|
34
22
|
}
|
35
23
|
});
|
36
|
-
Object.defineProperty(exports, "
|
24
|
+
Object.defineProperty(exports, "forceReRender", {
|
37
25
|
enumerable: true,
|
38
26
|
get: function get() {
|
39
|
-
return _preview.
|
27
|
+
return _preview.forceReRender;
|
40
28
|
}
|
41
29
|
});
|
42
|
-
Object.defineProperty(exports, "
|
30
|
+
Object.defineProperty(exports, "getStorybook", {
|
43
31
|
enumerable: true,
|
44
32
|
get: function get() {
|
45
|
-
return _preview.
|
33
|
+
return _preview.getStorybook;
|
46
34
|
}
|
47
35
|
});
|
48
36
|
Object.defineProperty(exports, "raw", {
|
@@ -51,6 +39,18 @@ Object.defineProperty(exports, "raw", {
|
|
51
39
|
return _preview.raw;
|
52
40
|
}
|
53
41
|
});
|
42
|
+
Object.defineProperty(exports, "setAddon", {
|
43
|
+
enumerable: true,
|
44
|
+
get: function get() {
|
45
|
+
return _preview.setAddon;
|
46
|
+
}
|
47
|
+
});
|
48
|
+
Object.defineProperty(exports, "storiesOf", {
|
49
|
+
enumerable: true,
|
50
|
+
get: function get() {
|
51
|
+
return _preview.storiesOf;
|
52
|
+
}
|
53
|
+
});
|
54
54
|
|
55
55
|
var _preview = require("./preview");
|
56
56
|
|
@@ -3,13 +3,13 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
+
exports.parameters = void 0;
|
6
7
|
Object.defineProperty(exports, "renderToDOM", {
|
7
8
|
enumerable: true,
|
8
9
|
get: function get() {
|
9
10
|
return _render.renderToDOM;
|
10
11
|
}
|
11
12
|
});
|
12
|
-
exports.parameters = void 0;
|
13
13
|
|
14
14
|
var _render = require("./render");
|
15
15
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.parameters = void 0;
|
7
|
+
|
8
|
+
var _jsondoc = require("./jsondoc");
|
9
|
+
|
10
|
+
var parameters = {
|
11
|
+
docs: {
|
12
|
+
iframeHeight: 80,
|
13
|
+
extractArgTypes: _jsondoc.extractArgTypes,
|
14
|
+
extractComponentDescription: _jsondoc.extractComponentDescription
|
15
|
+
}
|
16
|
+
};
|
17
|
+
exports.parameters = parameters;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
Object.defineProperty(exports, "setJSONDoc", {
|
7
|
+
enumerable: true,
|
8
|
+
get: function get() {
|
9
|
+
return _jsondoc.setJSONDoc;
|
10
|
+
}
|
11
|
+
});
|
12
|
+
|
13
|
+
var _jsondoc = require("./jsondoc");
|
@@ -0,0 +1,89 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.setJSONDoc = exports.getJSONDoc = exports.extractComponentDescription = exports.extractArgTypes = void 0;
|
7
|
+
|
8
|
+
require("core-js/modules/es.array.find.js");
|
9
|
+
|
10
|
+
require("core-js/modules/es.object.to-string.js");
|
11
|
+
|
12
|
+
require("core-js/modules/es.function.name.js");
|
13
|
+
|
14
|
+
require("core-js/modules/es.symbol.js");
|
15
|
+
|
16
|
+
require("core-js/modules/es.symbol.description.js");
|
17
|
+
|
18
|
+
/* eslint-disable no-underscore-dangle */
|
19
|
+
|
20
|
+
/* global window */
|
21
|
+
var setJSONDoc = function setJSONDoc(jsondoc) {
|
22
|
+
window.__EMBER_GENERATED_DOC_JSON__ = jsondoc;
|
23
|
+
};
|
24
|
+
|
25
|
+
exports.setJSONDoc = setJSONDoc;
|
26
|
+
|
27
|
+
var getJSONDoc = function getJSONDoc() {
|
28
|
+
return window.__EMBER_GENERATED_DOC_JSON__;
|
29
|
+
};
|
30
|
+
|
31
|
+
exports.getJSONDoc = getJSONDoc;
|
32
|
+
|
33
|
+
var extractArgTypes = function extractArgTypes(componentName) {
|
34
|
+
var json = getJSONDoc();
|
35
|
+
|
36
|
+
if (!(json && json.included)) {
|
37
|
+
return null;
|
38
|
+
}
|
39
|
+
|
40
|
+
var componentDoc = json.included.find(function (doc) {
|
41
|
+
return doc.attributes.name === componentName;
|
42
|
+
});
|
43
|
+
|
44
|
+
if (!componentDoc) {
|
45
|
+
return null;
|
46
|
+
}
|
47
|
+
|
48
|
+
return componentDoc.attributes.arguments.reduce(function (acc, prop) {
|
49
|
+
acc[prop.name] = {
|
50
|
+
name: prop.name,
|
51
|
+
defaultValue: prop.defaultValue,
|
52
|
+
description: prop.description,
|
53
|
+
table: {
|
54
|
+
defaultValue: {
|
55
|
+
summary: prop.defaultValue
|
56
|
+
},
|
57
|
+
type: {
|
58
|
+
summary: prop.type,
|
59
|
+
required: prop.tags.length ? prop.tags.some(function (tag) {
|
60
|
+
return tag.name === 'required';
|
61
|
+
}) : false
|
62
|
+
}
|
63
|
+
}
|
64
|
+
};
|
65
|
+
return acc;
|
66
|
+
}, {});
|
67
|
+
};
|
68
|
+
|
69
|
+
exports.extractArgTypes = extractArgTypes;
|
70
|
+
|
71
|
+
var extractComponentDescription = function extractComponentDescription(componentName) {
|
72
|
+
var json = getJSONDoc();
|
73
|
+
|
74
|
+
if (!(json && json.included)) {
|
75
|
+
return null;
|
76
|
+
}
|
77
|
+
|
78
|
+
var componentDoc = json.included.find(function (doc) {
|
79
|
+
return doc.attributes.name === componentName;
|
80
|
+
});
|
81
|
+
|
82
|
+
if (!componentDoc) {
|
83
|
+
return null;
|
84
|
+
}
|
85
|
+
|
86
|
+
return componentDoc.attributes.description;
|
87
|
+
};
|
88
|
+
|
89
|
+
exports.extractComponentDescription = extractComponentDescription;
|
@@ -3,15 +3,15 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.
|
6
|
+
exports.storiesOf = exports.setAddon = exports.raw = exports.getStorybook = exports.forceReRender = exports.configure = exports.clearDecorators = exports.addParameters = exports.addDecorator = void 0;
|
7
7
|
|
8
|
-
var
|
8
|
+
var _core = require("@storybook/core");
|
9
9
|
|
10
10
|
require("./globals");
|
11
11
|
|
12
12
|
var _render = require("./render");
|
13
13
|
|
14
|
-
var _start = (0,
|
14
|
+
var _start = (0, _core.start)(_render.renderToDOM),
|
15
15
|
coreConfigure = _start.configure,
|
16
16
|
clientApi = _start.clientApi,
|
17
17
|
forceReRender = _start.forceReRender;
|
@@ -4,15 +4,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.babel = babel;
|
7
|
-
exports.
|
7
|
+
exports.previewAnnotations = void 0;
|
8
8
|
|
9
9
|
var _emberTemplateCompiler = require("ember-source/dist/ember-template-compiler");
|
10
10
|
|
11
11
|
var _coreCommon = require("@storybook/core-common");
|
12
12
|
|
13
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
13
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
14
14
|
|
15
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
15
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
16
16
|
|
17
17
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
18
18
|
|
@@ -55,8 +55,8 @@ function babel(config, options) {
|
|
55
55
|
});
|
56
56
|
}
|
57
57
|
|
58
|
-
var
|
58
|
+
var previewAnnotations = function (entry = []) {
|
59
59
|
return [...entry, (0, _coreCommon.findDistEsm)(__dirname, 'client/preview/config')];
|
60
60
|
};
|
61
61
|
|
62
|
-
exports.
|
62
|
+
exports.previewAnnotations = previewAnnotations;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.previewAnnotations = void 0;
|
7
|
+
|
8
|
+
var _coreCommon = require("@storybook/core-common");
|
9
|
+
|
10
|
+
var _docsTools = require("@storybook/docs-tools");
|
11
|
+
|
12
|
+
var previewAnnotations = function (entry = [], options) {
|
13
|
+
if (!(0, _docsTools.hasDocsOrControls)(options)) return entry;
|
14
|
+
return [...entry, (0, _coreCommon.findDistEsm)(__dirname, 'client/docs/config')];
|
15
|
+
};
|
16
|
+
|
17
|
+
exports.previewAnnotations = previewAnnotations;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { enhanceArgTypes } from '@storybook/docs-tools';
|
2
|
+
import { extractArgTypes, extractComponentDescription } from './jsondoc';
|
3
|
+
export var parameters = {
|
4
|
+
docs: {
|
5
|
+
iframeHeight: 80,
|
6
|
+
extractArgTypes: extractArgTypes,
|
7
|
+
extractComponentDescription: extractComponentDescription
|
8
|
+
}
|
9
|
+
};
|
10
|
+
export var argTypesEnhancers = [enhanceArgTypes];
|
@@ -0,0 +1 @@
|
|
1
|
+
export { setJSONDoc } from './jsondoc';
|
@@ -0,0 +1,67 @@
|
|
1
|
+
import "core-js/modules/es.array.find.js";
|
2
|
+
import "core-js/modules/es.object.to-string.js";
|
3
|
+
import "core-js/modules/es.function.name.js";
|
4
|
+
import "core-js/modules/es.symbol.js";
|
5
|
+
import "core-js/modules/es.symbol.description.js";
|
6
|
+
|
7
|
+
/* eslint-disable no-underscore-dangle */
|
8
|
+
|
9
|
+
/* global window */
|
10
|
+
export var setJSONDoc = function setJSONDoc(jsondoc) {
|
11
|
+
window.__EMBER_GENERATED_DOC_JSON__ = jsondoc;
|
12
|
+
};
|
13
|
+
export var getJSONDoc = function getJSONDoc() {
|
14
|
+
return window.__EMBER_GENERATED_DOC_JSON__;
|
15
|
+
};
|
16
|
+
export var extractArgTypes = function extractArgTypes(componentName) {
|
17
|
+
var json = getJSONDoc();
|
18
|
+
|
19
|
+
if (!(json && json.included)) {
|
20
|
+
return null;
|
21
|
+
}
|
22
|
+
|
23
|
+
var componentDoc = json.included.find(function (doc) {
|
24
|
+
return doc.attributes.name === componentName;
|
25
|
+
});
|
26
|
+
|
27
|
+
if (!componentDoc) {
|
28
|
+
return null;
|
29
|
+
}
|
30
|
+
|
31
|
+
return componentDoc.attributes.arguments.reduce(function (acc, prop) {
|
32
|
+
acc[prop.name] = {
|
33
|
+
name: prop.name,
|
34
|
+
defaultValue: prop.defaultValue,
|
35
|
+
description: prop.description,
|
36
|
+
table: {
|
37
|
+
defaultValue: {
|
38
|
+
summary: prop.defaultValue
|
39
|
+
},
|
40
|
+
type: {
|
41
|
+
summary: prop.type,
|
42
|
+
required: prop.tags.length ? prop.tags.some(function (tag) {
|
43
|
+
return tag.name === 'required';
|
44
|
+
}) : false
|
45
|
+
}
|
46
|
+
}
|
47
|
+
};
|
48
|
+
return acc;
|
49
|
+
}, {});
|
50
|
+
};
|
51
|
+
export var extractComponentDescription = function extractComponentDescription(componentName) {
|
52
|
+
var json = getJSONDoc();
|
53
|
+
|
54
|
+
if (!(json && json.included)) {
|
55
|
+
return null;
|
56
|
+
}
|
57
|
+
|
58
|
+
var componentDoc = json.included.find(function (doc) {
|
59
|
+
return doc.attributes.name === componentName;
|
60
|
+
});
|
61
|
+
|
62
|
+
if (!componentDoc) {
|
63
|
+
return null;
|
64
|
+
}
|
65
|
+
|
66
|
+
return componentDoc.attributes.description;
|
67
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { setJSONDoc } from './jsondoc';
|
@@ -0,0 +1,67 @@
|
|
1
|
+
import "core-js/modules/es.array.find.js";
|
2
|
+
import "core-js/modules/es.object.to-string.js";
|
3
|
+
import "core-js/modules/es.function.name.js";
|
4
|
+
import "core-js/modules/es.symbol.js";
|
5
|
+
import "core-js/modules/es.symbol.description.js";
|
6
|
+
|
7
|
+
/* eslint-disable no-underscore-dangle */
|
8
|
+
|
9
|
+
/* global window */
|
10
|
+
export var setJSONDoc = function setJSONDoc(jsondoc) {
|
11
|
+
window.__EMBER_GENERATED_DOC_JSON__ = jsondoc;
|
12
|
+
};
|
13
|
+
export var getJSONDoc = function getJSONDoc() {
|
14
|
+
return window.__EMBER_GENERATED_DOC_JSON__;
|
15
|
+
};
|
16
|
+
export var extractArgTypes = function extractArgTypes(componentName) {
|
17
|
+
var json = getJSONDoc();
|
18
|
+
|
19
|
+
if (!(json && json.included)) {
|
20
|
+
return null;
|
21
|
+
}
|
22
|
+
|
23
|
+
var componentDoc = json.included.find(function (doc) {
|
24
|
+
return doc.attributes.name === componentName;
|
25
|
+
});
|
26
|
+
|
27
|
+
if (!componentDoc) {
|
28
|
+
return null;
|
29
|
+
}
|
30
|
+
|
31
|
+
return componentDoc.attributes.arguments.reduce(function (acc, prop) {
|
32
|
+
acc[prop.name] = {
|
33
|
+
name: prop.name,
|
34
|
+
defaultValue: prop.defaultValue,
|
35
|
+
description: prop.description,
|
36
|
+
table: {
|
37
|
+
defaultValue: {
|
38
|
+
summary: prop.defaultValue
|
39
|
+
},
|
40
|
+
type: {
|
41
|
+
summary: prop.type,
|
42
|
+
required: prop.tags.length ? prop.tags.some(function (tag) {
|
43
|
+
return tag.name === 'required';
|
44
|
+
}) : false
|
45
|
+
}
|
46
|
+
}
|
47
|
+
};
|
48
|
+
return acc;
|
49
|
+
}, {});
|
50
|
+
};
|
51
|
+
export var extractComponentDescription = function extractComponentDescription(componentName) {
|
52
|
+
var json = getJSONDoc();
|
53
|
+
|
54
|
+
if (!(json && json.included)) {
|
55
|
+
return null;
|
56
|
+
}
|
57
|
+
|
58
|
+
var componentDoc = json.included.find(function (doc) {
|
59
|
+
return doc.attributes.name === componentName;
|
60
|
+
});
|
61
|
+
|
62
|
+
if (!componentDoc) {
|
63
|
+
return null;
|
64
|
+
}
|
65
|
+
|
66
|
+
return componentDoc.attributes.description;
|
67
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
2
2
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
4
4
|
|
5
5
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
6
6
|
|
@@ -44,6 +44,6 @@ export function babel(config, options) {
|
|
44
44
|
plugins: [].concat(babelConfigPlugins, extraPlugins)
|
45
45
|
});
|
46
46
|
}
|
47
|
-
export var
|
47
|
+
export var previewAnnotations = function (entry = []) {
|
48
48
|
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
49
49
|
};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { findDistEsm } from '@storybook/core-common';
|
2
|
+
import { hasDocsOrControls } from '@storybook/docs-tools';
|
3
|
+
export var previewAnnotations = function (entry = [], options) {
|
4
|
+
if (!hasDocsOrControls(options)) return entry;
|
5
|
+
return [...entry, findDistEsm(__dirname, 'client/docs/config')];
|
6
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export var addons = [require.resolve('./framework-preset-babel-ember'), require.resolve('./framework-preset-ember-docs')];
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { enhanceArgTypes } from '@storybook/docs-tools';
|
2
|
+
import { extractArgTypes, extractComponentDescription } from './jsondoc';
|
3
|
+
export const parameters = {
|
4
|
+
docs: {
|
5
|
+
iframeHeight: 80,
|
6
|
+
extractArgTypes,
|
7
|
+
extractComponentDescription
|
8
|
+
}
|
9
|
+
};
|
10
|
+
export const argTypesEnhancers = [enhanceArgTypes];
|
@@ -0,0 +1 @@
|
|
1
|
+
export { setJSONDoc } from './jsondoc';
|
@@ -0,0 +1,57 @@
|
|
1
|
+
import "core-js/modules/es.array.reduce.js";
|
2
|
+
|
3
|
+
/* eslint-disable no-underscore-dangle */
|
4
|
+
|
5
|
+
/* global window */
|
6
|
+
export const setJSONDoc = jsondoc => {
|
7
|
+
window.__EMBER_GENERATED_DOC_JSON__ = jsondoc;
|
8
|
+
};
|
9
|
+
export const getJSONDoc = () => {
|
10
|
+
return window.__EMBER_GENERATED_DOC_JSON__;
|
11
|
+
};
|
12
|
+
export const extractArgTypes = componentName => {
|
13
|
+
const json = getJSONDoc();
|
14
|
+
|
15
|
+
if (!(json && json.included)) {
|
16
|
+
return null;
|
17
|
+
}
|
18
|
+
|
19
|
+
const componentDoc = json.included.find(doc => doc.attributes.name === componentName);
|
20
|
+
|
21
|
+
if (!componentDoc) {
|
22
|
+
return null;
|
23
|
+
}
|
24
|
+
|
25
|
+
return componentDoc.attributes.arguments.reduce((acc, prop) => {
|
26
|
+
acc[prop.name] = {
|
27
|
+
name: prop.name,
|
28
|
+
defaultValue: prop.defaultValue,
|
29
|
+
description: prop.description,
|
30
|
+
table: {
|
31
|
+
defaultValue: {
|
32
|
+
summary: prop.defaultValue
|
33
|
+
},
|
34
|
+
type: {
|
35
|
+
summary: prop.type,
|
36
|
+
required: prop.tags.length ? prop.tags.some(tag => tag.name === 'required') : false
|
37
|
+
}
|
38
|
+
}
|
39
|
+
};
|
40
|
+
return acc;
|
41
|
+
}, {});
|
42
|
+
};
|
43
|
+
export const extractComponentDescription = componentName => {
|
44
|
+
const json = getJSONDoc();
|
45
|
+
|
46
|
+
if (!(json && json.included)) {
|
47
|
+
return null;
|
48
|
+
}
|
49
|
+
|
50
|
+
const componentDoc = json.included.find(doc => doc.attributes.name === componentName);
|
51
|
+
|
52
|
+
if (!componentDoc) {
|
53
|
+
return null;
|
54
|
+
}
|
55
|
+
|
56
|
+
return componentDoc.attributes.description;
|
57
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { setJSONDoc } from './jsondoc';
|
@@ -0,0 +1,57 @@
|
|
1
|
+
import "core-js/modules/es.array.reduce.js";
|
2
|
+
|
3
|
+
/* eslint-disable no-underscore-dangle */
|
4
|
+
|
5
|
+
/* global window */
|
6
|
+
export const setJSONDoc = jsondoc => {
|
7
|
+
window.__EMBER_GENERATED_DOC_JSON__ = jsondoc;
|
8
|
+
};
|
9
|
+
export const getJSONDoc = () => {
|
10
|
+
return window.__EMBER_GENERATED_DOC_JSON__;
|
11
|
+
};
|
12
|
+
export const extractArgTypes = componentName => {
|
13
|
+
const json = getJSONDoc();
|
14
|
+
|
15
|
+
if (!(json && json.included)) {
|
16
|
+
return null;
|
17
|
+
}
|
18
|
+
|
19
|
+
const componentDoc = json.included.find(doc => doc.attributes.name === componentName);
|
20
|
+
|
21
|
+
if (!componentDoc) {
|
22
|
+
return null;
|
23
|
+
}
|
24
|
+
|
25
|
+
return componentDoc.attributes.arguments.reduce((acc, prop) => {
|
26
|
+
acc[prop.name] = {
|
27
|
+
name: prop.name,
|
28
|
+
defaultValue: prop.defaultValue,
|
29
|
+
description: prop.description,
|
30
|
+
table: {
|
31
|
+
defaultValue: {
|
32
|
+
summary: prop.defaultValue
|
33
|
+
},
|
34
|
+
type: {
|
35
|
+
summary: prop.type,
|
36
|
+
required: prop.tags.length ? prop.tags.some(tag => tag.name === 'required') : false
|
37
|
+
}
|
38
|
+
}
|
39
|
+
};
|
40
|
+
return acc;
|
41
|
+
}, {});
|
42
|
+
};
|
43
|
+
export const extractComponentDescription = componentName => {
|
44
|
+
const json = getJSONDoc();
|
45
|
+
|
46
|
+
if (!(json && json.included)) {
|
47
|
+
return null;
|
48
|
+
}
|
49
|
+
|
50
|
+
const componentDoc = json.included.find(doc => doc.attributes.name === componentName);
|
51
|
+
|
52
|
+
if (!componentDoc) {
|
53
|
+
return null;
|
54
|
+
}
|
55
|
+
|
56
|
+
return componentDoc.attributes.description;
|
57
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
2
2
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
4
4
|
|
5
5
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
6
6
|
|
@@ -44,6 +44,6 @@ export function babel(config, options) {
|
|
44
44
|
plugins: [].concat(babelConfigPlugins, extraPlugins)
|
45
45
|
});
|
46
46
|
}
|
47
|
-
export var
|
47
|
+
export var previewAnnotations = function (entry = []) {
|
48
48
|
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
49
49
|
};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { findDistEsm } from '@storybook/core-common';
|
2
|
+
import { hasDocsOrControls } from '@storybook/docs-tools';
|
3
|
+
export var previewAnnotations = function (entry = [], options) {
|
4
|
+
if (!hasDocsOrControls(options)) return entry;
|
5
|
+
return [...entry, findDistEsm(__dirname, 'client/docs/config')];
|
6
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export var addons = [require.resolve('./framework-preset-babel-ember'), require.resolve('./framework-preset-ember-docs')];
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import './globals';
|
2
2
|
declare const forceReRender: (() => never) | (() => void);
|
3
|
-
export declare const setAddon: (() =>
|
3
|
+
export declare const setAddon: ((addon: any) => void) | (() => never), addDecorator: (() => never) | ((decorator: import("@storybook/csf").DecoratorFunction<import("./types").EmberFramework, import("@storybook/csf").Args>) => void), addParameters: (({ globals, globalTypes, ...parameters }: import("@storybook/csf").Parameters & {
|
4
4
|
globals?: import("@storybook/csf").Globals;
|
5
5
|
globalTypes?: import("@storybook/csf").GlobalTypes;
|
6
|
-
}) => void), clearDecorators: (() =>
|
6
|
+
}) => void) | (() => never), clearDecorators: (() => void) | (() => never), getStorybook: (() => never) | (() => import("@storybook/client-api/dist/ts3.9/ClientApi").GetStorybookKind<import("./types").EmberFramework>[]), raw: (() => never) | (() => import("@storybook/store").BoundStory<import("./types").EmberFramework>[]);
|
7
7
|
export declare const storiesOf: (kind: string, m: any) => import("@storybook/addons").StoryApi<import("./types").OptionsArgs>;
|
8
8
|
export declare const configure: (loadable: any, m: any) => void;
|
9
9
|
export { forceReRender };
|
@@ -1,49 +1,4 @@
|
|
1
1
|
import { TransformOptions } from '@babel/core';
|
2
|
-
import { StorybookConfig } from '@storybook/core-common';
|
3
|
-
export declare function babel(config: TransformOptions, options:
|
4
|
-
|
5
|
-
ast?: boolean;
|
6
|
-
auxiliaryCommentAfter?: string;
|
7
|
-
auxiliaryCommentBefore?: string;
|
8
|
-
root?: string;
|
9
|
-
rootMode?: "root" | "upward" | "upward-optional";
|
10
|
-
configFile?: string | boolean;
|
11
|
-
babelrc?: boolean;
|
12
|
-
babelrcRoots?: string | boolean | RegExp | ((filename: string, context: import("@babel/core").MatchPatternContext) => boolean) | import("@babel/core").MatchPattern[];
|
13
|
-
envName?: string;
|
14
|
-
exclude?: string | RegExp | ((filename: string, context: import("@babel/core").MatchPatternContext) => boolean) | import("@babel/core").MatchPattern[];
|
15
|
-
code?: boolean;
|
16
|
-
comments?: boolean;
|
17
|
-
compact?: boolean | "auto";
|
18
|
-
cwd?: string;
|
19
|
-
caller?: import("@babel/core").TransformCaller;
|
20
|
-
env?: {
|
21
|
-
[index: string]: TransformOptions;
|
22
|
-
};
|
23
|
-
extends?: string;
|
24
|
-
filename?: string;
|
25
|
-
filenameRelative?: string;
|
26
|
-
generatorOpts?: import("@babel/generator").GeneratorOptions;
|
27
|
-
getModuleId?: (moduleName: string) => string;
|
28
|
-
highlightCode?: boolean;
|
29
|
-
ignore?: import("@babel/core").MatchPattern[];
|
30
|
-
include?: string | RegExp | ((filename: string, context: import("@babel/core").MatchPatternContext) => boolean) | import("@babel/core").MatchPattern[];
|
31
|
-
inputSourceMap?: object;
|
32
|
-
minified?: boolean;
|
33
|
-
moduleId?: string;
|
34
|
-
moduleIds?: boolean;
|
35
|
-
moduleRoot?: string;
|
36
|
-
only?: import("@babel/core").MatchPattern[];
|
37
|
-
overrides?: TransformOptions[];
|
38
|
-
parserOpts?: import("@babel/parser").ParserOptions;
|
39
|
-
presets?: import("@babel/core").PluginItem[];
|
40
|
-
retainLines?: boolean;
|
41
|
-
shouldPrintComment?: (commentContents: string) => boolean;
|
42
|
-
sourceFileName?: string;
|
43
|
-
sourceMaps?: boolean | "inline" | "both";
|
44
|
-
sourceRoot?: string;
|
45
|
-
sourceType?: "script" | "module" | "unambiguous";
|
46
|
-
test?: string | RegExp | ((filename: string, context: import("@babel/core").MatchPatternContext) => boolean) | import("@babel/core").MatchPattern[];
|
47
|
-
wrapPluginVisitorMethod?: (pluginAlias: string, visitorType: "enter" | "exit", callback: (path: import("@babel/traverse").NodePath<import("@babel/types").Node>, state: any) => void) => (path: import("@babel/traverse").NodePath<import("@babel/types").Node>, state: any) => void;
|
48
|
-
};
|
49
|
-
export declare const config: StorybookConfig['config'];
|
2
|
+
import { StorybookConfig, Options } from '@storybook/core-common';
|
3
|
+
export declare function babel(config: TransformOptions, options: Options): TransformOptions;
|
4
|
+
export declare const previewAnnotations: StorybookConfig['previewAnnotations'];
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import './globals';
|
2
2
|
declare const forceReRender: (() => never) | (() => void);
|
3
|
-
export declare const setAddon: (() =>
|
3
|
+
export declare const setAddon: ((addon: any) => void) | (() => never), addDecorator: (() => never) | ((decorator: import("@storybook/csf").DecoratorFunction<import("./types").EmberFramework, import("@storybook/csf").Args>) => void), addParameters: (({ globals, globalTypes, ...parameters }: import("@storybook/csf").Parameters & {
|
4
4
|
globals?: import("@storybook/csf").Globals;
|
5
5
|
globalTypes?: import("@storybook/csf").GlobalTypes;
|
6
|
-
}) => void), clearDecorators: (() =>
|
6
|
+
}) => void) | (() => never), clearDecorators: (() => void) | (() => never), getStorybook: (() => never) | (() => import("@storybook/client-api/dist/ts3.9/ClientApi").GetStorybookKind<import("./types").EmberFramework>[]), raw: (() => never) | (() => import("@storybook/store").BoundStory<import("./types").EmberFramework>[]);
|
7
7
|
export declare const storiesOf: (kind: string, m: any) => import("@storybook/addons").StoryApi<import("./types").OptionsArgs>;
|
8
8
|
export declare const configure: (loadable: any, m: any) => void;
|
9
9
|
export { forceReRender };
|
@@ -1,49 +1,4 @@
|
|
1
|
-
import { TransformOptions } from '@babel/core';
|
2
|
-
import { StorybookConfig } from '@storybook/core-common';
|
3
|
-
export declare function babel(config: TransformOptions, options:
|
4
|
-
|
5
|
-
ast?: boolean;
|
6
|
-
auxiliaryCommentAfter?: string;
|
7
|
-
auxiliaryCommentBefore?: string;
|
8
|
-
root?: string;
|
9
|
-
rootMode?: "root" | "upward" | "upward-optional";
|
10
|
-
configFile?: string | boolean;
|
11
|
-
babelrc?: boolean;
|
12
|
-
babelrcRoots?: string | boolean | RegExp | ((filename: string, context: import("@babel/core").MatchPatternContext) => boolean) | import("@babel/core").MatchPattern[];
|
13
|
-
envName?: string;
|
14
|
-
exclude?: string | RegExp | ((filename: string, context: import("@babel/core").MatchPatternContext) => boolean) | import("@babel/core").MatchPattern[];
|
15
|
-
code?: boolean;
|
16
|
-
comments?: boolean;
|
17
|
-
compact?: boolean | "auto";
|
18
|
-
cwd?: string;
|
19
|
-
caller?: import("@babel/core").TransformCaller;
|
20
|
-
env?: {
|
21
|
-
[index: string]: TransformOptions;
|
22
|
-
};
|
23
|
-
extends?: string;
|
24
|
-
filename?: string;
|
25
|
-
filenameRelative?: string;
|
26
|
-
generatorOpts?: import("@babel/generator").GeneratorOptions;
|
27
|
-
getModuleId?: (moduleName: string) => string;
|
28
|
-
highlightCode?: boolean;
|
29
|
-
ignore?: import("@babel/core").MatchPattern[];
|
30
|
-
include?: string | RegExp | ((filename: string, context: import("@babel/core").MatchPatternContext) => boolean) | import("@babel/core").MatchPattern[];
|
31
|
-
inputSourceMap?: object;
|
32
|
-
minified?: boolean;
|
33
|
-
moduleId?: string;
|
34
|
-
moduleIds?: boolean;
|
35
|
-
moduleRoot?: string;
|
36
|
-
only?: import("@babel/core").MatchPattern[];
|
37
|
-
overrides?: TransformOptions[];
|
38
|
-
parserOpts?: import("@babel/parser").ParserOptions;
|
39
|
-
presets?: import("@babel/core").PluginItem[];
|
40
|
-
retainLines?: boolean;
|
41
|
-
shouldPrintComment?: (commentContents: string) => boolean;
|
42
|
-
sourceFileName?: string;
|
43
|
-
sourceMaps?: boolean | "inline" | "both";
|
44
|
-
sourceRoot?: string;
|
45
|
-
sourceType?: "script" | "module" | "unambiguous";
|
46
|
-
test?: string | RegExp | ((filename: string, context: import("@babel/core").MatchPatternContext) => boolean) | import("@babel/core").MatchPattern[];
|
47
|
-
wrapPluginVisitorMethod?: (pluginAlias: string, visitorType: "enter" | "exit", callback: (path: import("@babel/traverse").NodePath<import("@babel/types").Node>, state: any) => void) => (path: import("@babel/traverse").NodePath<import("@babel/types").Node>, state: any) => void;
|
48
|
-
};
|
49
|
-
export declare const config: StorybookConfig['config'];
|
1
|
+
import type { TransformOptions } from '@babel/core';
|
2
|
+
import type { StorybookConfig, Options } from '@storybook/core-common';
|
3
|
+
export declare function babel(config: TransformOptions, options: Options): TransformOptions;
|
4
|
+
export declare const previewAnnotations: StorybookConfig['previewAnnotations'];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/ember",
|
3
|
-
"version": "6.5.0-alpha.
|
3
|
+
"version": "6.5.0-alpha.60",
|
4
4
|
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
|
5
5
|
"homepage": "https://github.com/storybookjs/storybook/tree/main/app/ember",
|
6
6
|
"bugs": {
|
@@ -42,10 +42,10 @@
|
|
42
42
|
"prepare": "node ../../scripts/prepare.js"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@
|
46
|
-
"@storybook/core": "6.5.0-alpha.
|
47
|
-
"@storybook/
|
48
|
-
"@storybook/store": "6.5.0-alpha.
|
45
|
+
"@storybook/core": "6.5.0-alpha.60",
|
46
|
+
"@storybook/core-common": "6.5.0-alpha.60",
|
47
|
+
"@storybook/docs-tools": "6.5.0-alpha.60",
|
48
|
+
"@storybook/store": "6.5.0-alpha.60",
|
49
49
|
"core-js": "^3.8.2",
|
50
50
|
"global": "^4.4.0",
|
51
51
|
"react": "16.14.0",
|
@@ -66,6 +66,6 @@
|
|
66
66
|
"publishConfig": {
|
67
67
|
"access": "public"
|
68
68
|
},
|
69
|
-
"gitHead": "
|
69
|
+
"gitHead": "b45a2371f8c63aeef298b94a5b5237575007e401",
|
70
70
|
"sbmodern": "dist/modern/client/index.js"
|
71
71
|
}
|
package/preset.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
module.exports = require('./dist/cjs/server/
|
1
|
+
module.exports = require('./dist/cjs/server/preset');
|
package/dist/cjs/typings.d.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";
|
package/dist/esm/typings.d.js
DELETED
File without changes
|
package/dist/modern/typings.d.js
DELETED
File without changes
|