@teambit/changelog 0.0.881 → 0.0.882
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/changelog.aspect.js +0 -5
- package/dist/changelog.aspect.js.map +1 -1
- package/dist/changelog.composition.js +0 -6
- package/dist/changelog.composition.js.map +1 -1
- package/dist/changelog.section.js +0 -16
- package/dist/changelog.section.js.map +1 -1
- package/dist/changelog.ui.runtime.js +0 -29
- package/dist/changelog.ui.runtime.js.map +1 -1
- package/dist/index.js +0 -5
- package/dist/index.js.map +1 -1
- package/dist/ui/change-log-page.js +0 -36
- package/dist/ui/change-log-page.js.map +1 -1
- package/package-tar/teambit-changelog-0.0.882.tgz +0 -0
- package/package.json +4 -4
- package/{preview-1666409808293.js → preview-1666496165706.js} +2 -2
- package/package-tar/teambit-changelog-0.0.881.tgz +0 -0
package/dist/changelog.aspect.js
CHANGED
|
@@ -4,23 +4,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = exports.ChangelogAspect = void 0;
|
|
7
|
-
|
|
8
7
|
function _harmony() {
|
|
9
8
|
const data = require("@teambit/harmony");
|
|
10
|
-
|
|
11
9
|
_harmony = function () {
|
|
12
10
|
return data;
|
|
13
11
|
};
|
|
14
|
-
|
|
15
12
|
return data;
|
|
16
13
|
}
|
|
17
|
-
|
|
18
14
|
const ChangelogAspect = _harmony().Aspect.create({
|
|
19
15
|
id: 'teambit.component/changelog',
|
|
20
16
|
dependencies: [],
|
|
21
17
|
defaultConfig: {}
|
|
22
18
|
});
|
|
23
|
-
|
|
24
19
|
exports.ChangelogAspect = ChangelogAspect;
|
|
25
20
|
var _default = ChangelogAspect;
|
|
26
21
|
exports.default = _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ChangelogAspect","Aspect","create","id","dependencies","defaultConfig"],"sources":["changelog.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const ChangelogAspect = Aspect.create({\n id: 'teambit.component/changelog',\n dependencies: [],\n defaultConfig: {},\n});\n\nexport default ChangelogAspect;\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["ChangelogAspect","Aspect","create","id","dependencies","defaultConfig"],"sources":["changelog.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const ChangelogAspect = Aspect.create({\n id: 'teambit.component/changelog',\n dependencies: [],\n defaultConfig: {},\n});\n\nexport default ChangelogAspect;\n"],"mappings":";;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,MAAMA,eAAe,GAAGC,iBAAM,CAACC,MAAM,CAAC;EAC3CC,EAAE,EAAE,6BAA6B;EACjCC,YAAY,EAAE,EAAE;EAChBC,aAAa,EAAE,CAAC;AAClB,CAAC,CAAC;AAAC;AAAA,eAEYL,eAAe;AAAA"}
|
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.Logo = void 0;
|
|
9
|
-
|
|
10
8
|
function _react() {
|
|
11
9
|
const data = _interopRequireDefault(require("react"));
|
|
12
|
-
|
|
13
10
|
_react = function () {
|
|
14
11
|
return data;
|
|
15
12
|
};
|
|
16
|
-
|
|
17
13
|
return data;
|
|
18
14
|
}
|
|
19
|
-
|
|
20
15
|
const Logo = () => /*#__PURE__*/_react().default.createElement("div", {
|
|
21
16
|
style: {
|
|
22
17
|
height: '100%',
|
|
@@ -29,7 +24,6 @@ const Logo = () => /*#__PURE__*/_react().default.createElement("div", {
|
|
|
29
24
|
},
|
|
30
25
|
src: "https://static.bit.dev/extensions-icons/changelog.svg"
|
|
31
26
|
}));
|
|
32
|
-
|
|
33
27
|
exports.Logo = Logo;
|
|
34
28
|
|
|
35
29
|
//# sourceMappingURL=changelog.composition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Logo","height","display","justifyContent","width"],"sources":["changelog.composition.tsx"],"sourcesContent":["import React from 'react';\n\nexport const Logo = () => (\n <div style={{ height: '100%', display: 'flex', justifyContent: 'center' }}>\n <img style={{ width: 70 }} src=\"https://static.bit.dev/extensions-icons/changelog.svg\" />\n </div>\n);\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["Logo","height","display","justifyContent","width"],"sources":["changelog.composition.tsx"],"sourcesContent":["import React from 'react';\n\nexport const Logo = () => (\n <div style={{ height: '100%', display: 'flex', justifyContent: 'center' }}>\n <img style={{ width: 70 }} src=\"https://static.bit.dev/extensions-icons/changelog.svg\" />\n </div>\n);\n"],"mappings":";;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,MAAMA,IAAI,GAAG,mBAClB;EAAK,KAAK,EAAE;IAAEC,MAAM,EAAE,MAAM;IAAEC,OAAO,EAAE,MAAM;IAAEC,cAAc,EAAE;EAAS;AAAE,gBACxE;EAAK,KAAK,EAAE;IAAEC,KAAK,EAAE;EAAG,CAAE;EAAC,GAAG,EAAC;AAAuD,EAAG,CAE5F;AAAC"}
|
|
@@ -1,52 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.ChangelogSection = void 0;
|
|
9
|
-
|
|
10
8
|
function _defineProperty2() {
|
|
11
9
|
const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
12
|
-
|
|
13
10
|
_defineProperty2 = function () {
|
|
14
11
|
return data;
|
|
15
12
|
};
|
|
16
|
-
|
|
17
13
|
return data;
|
|
18
14
|
}
|
|
19
|
-
|
|
20
15
|
function _react() {
|
|
21
16
|
const data = _interopRequireDefault(require("react"));
|
|
22
|
-
|
|
23
17
|
_react = function () {
|
|
24
18
|
return data;
|
|
25
19
|
};
|
|
26
|
-
|
|
27
20
|
return data;
|
|
28
21
|
}
|
|
29
|
-
|
|
30
22
|
function _uiFoundationUi() {
|
|
31
23
|
const data = require("@teambit/ui-foundation.ui.menu-widget-icon");
|
|
32
|
-
|
|
33
24
|
_uiFoundationUi = function () {
|
|
34
25
|
return data;
|
|
35
26
|
};
|
|
36
|
-
|
|
37
27
|
return data;
|
|
38
28
|
}
|
|
39
|
-
|
|
40
29
|
function _changeLogPage() {
|
|
41
30
|
const data = require("./ui/change-log-page");
|
|
42
|
-
|
|
43
31
|
_changeLogPage = function () {
|
|
44
32
|
return data;
|
|
45
33
|
};
|
|
46
|
-
|
|
47
34
|
return data;
|
|
48
35
|
}
|
|
49
|
-
|
|
50
36
|
class ChangelogSection {
|
|
51
37
|
constructor() {
|
|
52
38
|
(0, _defineProperty2().default)(this, "route", {
|
|
@@ -63,9 +49,7 @@ class ChangelogSection {
|
|
|
63
49
|
});
|
|
64
50
|
(0, _defineProperty2().default)(this, "order", 40);
|
|
65
51
|
}
|
|
66
|
-
|
|
67
52
|
}
|
|
68
|
-
|
|
69
53
|
exports.ChangelogSection = ChangelogSection;
|
|
70
54
|
|
|
71
55
|
//# sourceMappingURL=changelog.section.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ChangelogSection","path","element","href","children","displayName"],"sources":["changelog.section.tsx"],"sourcesContent":["import { Section } from '@teambit/component';\nimport React from 'react';\nimport { MenuWidgetIcon } from '@teambit/ui-foundation.ui.menu-widget-icon';\nimport { ChangeLogPage } from './ui/change-log-page';\n\nexport class ChangelogSection implements Section {\n route = {\n path: '~changelog',\n element: <ChangeLogPage />,\n };\n navigationLink = {\n href: '~changelog',\n children: <MenuWidgetIcon icon=\"changelog\" tooltipContent=\"Change log\" />,\n displayName: 'Change log',\n };\n order = 40;\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["ChangelogSection","path","element","href","children","displayName"],"sources":["changelog.section.tsx"],"sourcesContent":["import { Section } from '@teambit/component';\nimport React from 'react';\nimport { MenuWidgetIcon } from '@teambit/ui-foundation.ui.menu-widget-icon';\nimport { ChangeLogPage } from './ui/change-log-page';\n\nexport class ChangelogSection implements Section {\n route = {\n path: '~changelog',\n element: <ChangeLogPage />,\n };\n navigationLink = {\n href: '~changelog',\n children: <MenuWidgetIcon icon=\"changelog\" tooltipContent=\"Change log\" />,\n displayName: 'Change log',\n };\n order = 40;\n}\n"],"mappings":";;;;;;;;;;;;;;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,MAAMA,gBAAgB,CAAoB;EAAA;IAAA,+CACvC;MACNC,IAAI,EAAE,YAAY;MAClBC,OAAO,eAAE,+BAAC,8BAAa;IACzB,CAAC;IAAA,wDACgB;MACfC,IAAI,EAAE,YAAY;MAClBC,QAAQ,eAAE,+BAAC,gCAAc;QAAC,IAAI,EAAC,WAAW;QAAC,cAAc,EAAC;MAAY,EAAG;MACzEC,WAAW,EAAE;IACf,CAAC;IAAA,+CACO,EAAE;EAAA;AACZ;AAAC"}
|
|
@@ -1,93 +1,67 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
require("core-js/modules/es.array.iterator.js");
|
|
6
|
-
|
|
7
5
|
require("core-js/modules/es.promise.js");
|
|
8
|
-
|
|
9
6
|
Object.defineProperty(exports, "__esModule", {
|
|
10
7
|
value: true
|
|
11
8
|
});
|
|
12
9
|
exports.ChangeLogUI = void 0;
|
|
13
|
-
|
|
14
10
|
function _defineProperty2() {
|
|
15
11
|
const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
16
|
-
|
|
17
12
|
_defineProperty2 = function () {
|
|
18
13
|
return data;
|
|
19
14
|
};
|
|
20
|
-
|
|
21
15
|
return data;
|
|
22
16
|
}
|
|
23
|
-
|
|
24
17
|
function _component() {
|
|
25
18
|
const data = require("@teambit/component");
|
|
26
|
-
|
|
27
19
|
_component = function () {
|
|
28
20
|
return data;
|
|
29
21
|
};
|
|
30
|
-
|
|
31
22
|
return data;
|
|
32
23
|
}
|
|
33
|
-
|
|
34
24
|
function _ui() {
|
|
35
25
|
const data = require("@teambit/ui");
|
|
36
|
-
|
|
37
26
|
_ui = function () {
|
|
38
27
|
return data;
|
|
39
28
|
};
|
|
40
|
-
|
|
41
29
|
return data;
|
|
42
30
|
}
|
|
43
|
-
|
|
44
31
|
function _react() {
|
|
45
32
|
const data = _interopRequireDefault(require("react"));
|
|
46
|
-
|
|
47
33
|
_react = function () {
|
|
48
34
|
return data;
|
|
49
35
|
};
|
|
50
|
-
|
|
51
36
|
return data;
|
|
52
37
|
}
|
|
53
|
-
|
|
54
38
|
function _changelog() {
|
|
55
39
|
const data = require("./changelog.aspect");
|
|
56
|
-
|
|
57
40
|
_changelog = function () {
|
|
58
41
|
return data;
|
|
59
42
|
};
|
|
60
|
-
|
|
61
43
|
return data;
|
|
62
44
|
}
|
|
63
|
-
|
|
64
45
|
function _changelog2() {
|
|
65
46
|
const data = require("./changelog.section");
|
|
66
|
-
|
|
67
47
|
_changelog2 = function () {
|
|
68
48
|
return data;
|
|
69
49
|
};
|
|
70
|
-
|
|
71
50
|
return data;
|
|
72
51
|
}
|
|
73
|
-
|
|
74
52
|
function _changeLogPage() {
|
|
75
53
|
const data = require("./ui/change-log-page");
|
|
76
|
-
|
|
77
54
|
_changeLogPage = function () {
|
|
78
55
|
return data;
|
|
79
56
|
};
|
|
80
|
-
|
|
81
57
|
return data;
|
|
82
58
|
}
|
|
83
|
-
|
|
84
59
|
class ChangeLogUI {
|
|
85
60
|
constructor() {
|
|
86
61
|
(0, _defineProperty2().default)(this, "ChangeLog", () => {
|
|
87
62
|
return /*#__PURE__*/_react().default.createElement(_changeLogPage().ChangeLogPage, null);
|
|
88
63
|
});
|
|
89
64
|
}
|
|
90
|
-
|
|
91
65
|
static async provider([component]) {
|
|
92
66
|
const ui = new ChangeLogUI();
|
|
93
67
|
const section = new (_changelog2().ChangelogSection)();
|
|
@@ -95,13 +69,10 @@ class ChangeLogUI {
|
|
|
95
69
|
component.registerWidget(section.navigationLink, section.order);
|
|
96
70
|
return ui;
|
|
97
71
|
}
|
|
98
|
-
|
|
99
72
|
}
|
|
100
|
-
|
|
101
73
|
exports.ChangeLogUI = ChangeLogUI;
|
|
102
74
|
(0, _defineProperty2().default)(ChangeLogUI, "dependencies", [_component().ComponentAspect]);
|
|
103
75
|
(0, _defineProperty2().default)(ChangeLogUI, "runtime", _ui().UIRuntime);
|
|
104
|
-
|
|
105
76
|
_changelog().ChangelogAspect.addRuntime(ChangeLogUI);
|
|
106
77
|
|
|
107
78
|
//# sourceMappingURL=changelog.ui.runtime.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ChangeLogUI","provider","component","ui","section","ChangelogSection","registerRoute","route","registerWidget","navigationLink","order","ComponentAspect","UIRuntime","ChangelogAspect","addRuntime"],"sources":["changelog.ui.runtime.tsx"],"sourcesContent":["import { ComponentAspect, ComponentUI } from '@teambit/component';\nimport { UIRuntime } from '@teambit/ui';\nimport React from 'react';\n\nimport { ChangelogAspect } from './changelog.aspect';\nimport { ChangelogSection } from './changelog.section';\nimport { ChangeLogPage } from './ui/change-log-page';\n\nexport class ChangeLogUI {\n ChangeLog = () => {\n return <ChangeLogPage />;\n };\n\n static dependencies = [ComponentAspect];\n\n static runtime = UIRuntime;\n\n static async provider([component]: [ComponentUI]) {\n const ui = new ChangeLogUI();\n const section = new ChangelogSection();\n\n component.registerRoute(section.route);\n component.registerWidget(section.navigationLink, section.order);\n\n return ui;\n }\n}\n\nChangelogAspect.addRuntime(ChangeLogUI);\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["ChangeLogUI","provider","component","ui","section","ChangelogSection","registerRoute","route","registerWidget","navigationLink","order","ComponentAspect","UIRuntime","ChangelogAspect","addRuntime"],"sources":["changelog.ui.runtime.tsx"],"sourcesContent":["import { ComponentAspect, ComponentUI } from '@teambit/component';\nimport { UIRuntime } from '@teambit/ui';\nimport React from 'react';\n\nimport { ChangelogAspect } from './changelog.aspect';\nimport { ChangelogSection } from './changelog.section';\nimport { ChangeLogPage } from './ui/change-log-page';\n\nexport class ChangeLogUI {\n ChangeLog = () => {\n return <ChangeLogPage />;\n };\n\n static dependencies = [ComponentAspect];\n\n static runtime = UIRuntime;\n\n static async provider([component]: [ComponentUI]) {\n const ui = new ChangeLogUI();\n const section = new ChangelogSection();\n\n component.registerRoute(section.route);\n component.registerWidget(section.navigationLink, section.order);\n\n return ui;\n }\n}\n\nChangelogAspect.addRuntime(ChangeLogUI);\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,MAAMA,WAAW,CAAC;EAAA;IAAA,mDACX,MAAM;MAChB,oBAAO,+BAAC,8BAAa,OAAG;IAC1B,CAAC;EAAA;EAMD,aAAaC,QAAQ,CAAC,CAACC,SAAS,CAAgB,EAAE;IAChD,MAAMC,EAAE,GAAG,IAAIH,WAAW,EAAE;IAC5B,MAAMI,OAAO,GAAG,KAAIC,8BAAgB,GAAE;IAEtCH,SAAS,CAACI,aAAa,CAACF,OAAO,CAACG,KAAK,CAAC;IACtCL,SAAS,CAACM,cAAc,CAACJ,OAAO,CAACK,cAAc,EAAEL,OAAO,CAACM,KAAK,CAAC;IAE/D,OAAOP,EAAE;EACX;AACF;AAAC;AAAA,gCAlBYH,WAAW,kBAKA,CAACW,4BAAe,CAAC;AAAA,gCAL5BX,WAAW,aAOLY,eAAS;AAa5BC,4BAAe,CAACC,UAAU,CAACd,WAAW,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -10,19 +10,14 @@ Object.defineProperty(exports, "ChangelogAspect", {
|
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
exports.default = void 0;
|
|
13
|
-
|
|
14
13
|
function _changelog() {
|
|
15
14
|
const data = require("./changelog.aspect");
|
|
16
|
-
|
|
17
15
|
_changelog = function () {
|
|
18
16
|
return data;
|
|
19
17
|
};
|
|
20
|
-
|
|
21
18
|
return data;
|
|
22
19
|
}
|
|
23
|
-
|
|
24
20
|
var _default = _changelog().ChangelogAspect;
|
|
25
|
-
|
|
26
21
|
exports.default = _default;
|
|
27
22
|
|
|
28
23
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ChangelogAspect"],"sources":["index.ts"],"sourcesContent":["import { ChangelogAspect } from './changelog.aspect';\n\nexport type { ChangeLogUI } from './changelog.ui.runtime';\nexport { ChangelogAspect };\nexport default ChangelogAspect;\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["ChangelogAspect"],"sources":["index.ts"],"sourcesContent":["import { ChangelogAspect } from './changelog.aspect';\n\nexport type { ChangeLogUI } from './changelog.ui.runtime';\nexport { ChangelogAspect };\nexport default ChangelogAspect;\n"],"mappings":";;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAAqD,eAItCA,4BAAe;AAAA"}
|
|
@@ -1,116 +1,82 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.ChangeLogPage = ChangeLogPage;
|
|
9
|
-
|
|
10
8
|
function _component() {
|
|
11
9
|
const data = require("@teambit/component");
|
|
12
|
-
|
|
13
10
|
_component = function () {
|
|
14
11
|
return data;
|
|
15
12
|
};
|
|
16
|
-
|
|
17
13
|
return data;
|
|
18
14
|
}
|
|
19
|
-
|
|
20
15
|
function _documenterUi() {
|
|
21
16
|
const data = require("@teambit/documenter.ui.heading");
|
|
22
|
-
|
|
23
17
|
_documenterUi = function () {
|
|
24
18
|
return data;
|
|
25
19
|
};
|
|
26
|
-
|
|
27
20
|
return data;
|
|
28
21
|
}
|
|
29
|
-
|
|
30
22
|
function _designUi() {
|
|
31
23
|
const data = require("@teambit/design.ui.separator");
|
|
32
|
-
|
|
33
24
|
_designUi = function () {
|
|
34
25
|
return data;
|
|
35
26
|
};
|
|
36
|
-
|
|
37
27
|
return data;
|
|
38
28
|
}
|
|
39
|
-
|
|
40
29
|
function _componentUi() {
|
|
41
30
|
const data = require("@teambit/component.ui.version-block");
|
|
42
|
-
|
|
43
31
|
_componentUi = function () {
|
|
44
32
|
return data;
|
|
45
33
|
};
|
|
46
|
-
|
|
47
34
|
return data;
|
|
48
35
|
}
|
|
49
|
-
|
|
50
36
|
function _classnames() {
|
|
51
37
|
const data = _interopRequireDefault(require("classnames"));
|
|
52
|
-
|
|
53
38
|
_classnames = function () {
|
|
54
39
|
return data;
|
|
55
40
|
};
|
|
56
|
-
|
|
57
41
|
return data;
|
|
58
42
|
}
|
|
59
|
-
|
|
60
43
|
function _mdxUi() {
|
|
61
44
|
const data = require("@teambit/mdx.ui.mdx-layout");
|
|
62
|
-
|
|
63
45
|
_mdxUi = function () {
|
|
64
46
|
return data;
|
|
65
47
|
};
|
|
66
|
-
|
|
67
48
|
return data;
|
|
68
49
|
}
|
|
69
|
-
|
|
70
50
|
function _componentInstructions() {
|
|
71
51
|
const data = require("@teambit/component.instructions.exporting-components");
|
|
72
|
-
|
|
73
52
|
_componentInstructions = function () {
|
|
74
53
|
return data;
|
|
75
54
|
};
|
|
76
|
-
|
|
77
55
|
return data;
|
|
78
56
|
}
|
|
79
|
-
|
|
80
57
|
function _designUi2() {
|
|
81
58
|
const data = require("@teambit/design.ui.alert-card");
|
|
82
|
-
|
|
83
59
|
_designUi2 = function () {
|
|
84
60
|
return data;
|
|
85
61
|
};
|
|
86
|
-
|
|
87
62
|
return data;
|
|
88
63
|
}
|
|
89
|
-
|
|
90
64
|
function _react() {
|
|
91
65
|
const data = _interopRequireWildcard(require("react"));
|
|
92
|
-
|
|
93
66
|
_react = function () {
|
|
94
67
|
return data;
|
|
95
68
|
};
|
|
96
|
-
|
|
97
69
|
return data;
|
|
98
70
|
}
|
|
99
|
-
|
|
100
71
|
function _changeLogPageModule() {
|
|
101
72
|
const data = _interopRequireDefault(require("./change-log-page.module.scss"));
|
|
102
|
-
|
|
103
73
|
_changeLogPageModule = function () {
|
|
104
74
|
return data;
|
|
105
75
|
};
|
|
106
|
-
|
|
107
76
|
return data;
|
|
108
77
|
}
|
|
109
|
-
|
|
110
78
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
111
|
-
|
|
112
79
|
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; }
|
|
113
|
-
|
|
114
80
|
function ChangeLogPage({
|
|
115
81
|
className
|
|
116
82
|
}) {
|
|
@@ -119,7 +85,6 @@ function ChangeLogPage({
|
|
|
119
85
|
logs
|
|
120
86
|
} = component;
|
|
121
87
|
if (!logs) return null;
|
|
122
|
-
|
|
123
88
|
if (logs.length === 0) {
|
|
124
89
|
return /*#__PURE__*/_react().default.createElement("div", {
|
|
125
90
|
className: (0, _classnames().default)(_changeLogPageModule().default.changeLogPage, className)
|
|
@@ -134,7 +99,6 @@ function ChangeLogPage({
|
|
|
134
99
|
className: _changeLogPageModule().default.changeLogCard
|
|
135
100
|
}, /*#__PURE__*/_react().default.createElement(_mdxUi().MDXLayout, null, /*#__PURE__*/_react().default.createElement(_componentInstructions().ExportingComponents, null))));
|
|
136
101
|
}
|
|
137
|
-
|
|
138
102
|
return /*#__PURE__*/_react().default.createElement("div", {
|
|
139
103
|
className: (0, _classnames().default)(_changeLogPageModule().default.changeLogPage, className)
|
|
140
104
|
}, /*#__PURE__*/_react().default.createElement(_documenterUi().H1, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ChangeLogPage","className","component","useContext","ComponentContext","logs","length","classNames","styles","changeLogPage","title","separatorNoChangeLog","changeLogCard","separator","logContainer","map","snap","index","isLatest","latest","tag","hash","isCurrent","version","id","fullName"],"sources":["change-log-page.tsx"],"sourcesContent":["import { ComponentContext } from '@teambit/component';\nimport { H1 } from '@teambit/documenter.ui.heading';\nimport { Separator } from '@teambit/design.ui.separator';\nimport { VersionBlock } from '@teambit/component.ui.version-block';\nimport classNames from 'classnames';\nimport { MDXLayout } from '@teambit/mdx.ui.mdx-layout';\nimport { ExportingComponents } from '@teambit/component.instructions.exporting-components';\nimport { AlertCard } from '@teambit/design.ui.alert-card';\nimport React, { HTMLAttributes, useContext } from 'react';\n\nimport styles from './change-log-page.module.scss';\n\ntype ChangeLogPageProps = {} & HTMLAttributes<HTMLDivElement>;\n\nexport function ChangeLogPage({ className }: ChangeLogPageProps) {\n const component = useContext(ComponentContext);\n const { logs } = component;\n\n if (!logs) return null;\n\n if (logs.length === 0) {\n return (\n <div className={classNames(styles.changeLogPage, className)}>\n <H1 className={styles.title}>History</H1>\n <Separator isPresentational className={styles.separatorNoChangeLog} />\n <AlertCard\n level=\"info\"\n title=\"There is no change log as this component has not been exported yet.\n Learn how to export components:\"\n className={styles.changeLogCard}\n >\n <MDXLayout>\n <ExportingComponents />\n </MDXLayout>\n </AlertCard>\n </div>\n );\n }\n\n return (\n <div className={classNames(styles.changeLogPage, className)}>\n <H1 className={styles.title}>History</H1>\n <Separator isPresentational className={styles.separator} />\n <div className={styles.logContainer}>\n {logs.map((snap, index) => {\n const isLatest = component.latest === snap.tag || component.latest === snap.hash;\n const isCurrent = component.version === snap.tag || component.version === snap.hash;\n return (\n <VersionBlock\n key={index}\n componentId={component.id.fullName}\n isLatest={isLatest}\n snap={snap}\n isCurrent={isCurrent}\n />\n );\n })}\n </div>\n </div>\n );\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["ChangeLogPage","className","component","useContext","ComponentContext","logs","length","classNames","styles","changeLogPage","title","separatorNoChangeLog","changeLogCard","separator","logContainer","map","snap","index","isLatest","latest","tag","hash","isCurrent","version","id","fullName"],"sources":["change-log-page.tsx"],"sourcesContent":["import { ComponentContext } from '@teambit/component';\nimport { H1 } from '@teambit/documenter.ui.heading';\nimport { Separator } from '@teambit/design.ui.separator';\nimport { VersionBlock } from '@teambit/component.ui.version-block';\nimport classNames from 'classnames';\nimport { MDXLayout } from '@teambit/mdx.ui.mdx-layout';\nimport { ExportingComponents } from '@teambit/component.instructions.exporting-components';\nimport { AlertCard } from '@teambit/design.ui.alert-card';\nimport React, { HTMLAttributes, useContext } from 'react';\n\nimport styles from './change-log-page.module.scss';\n\ntype ChangeLogPageProps = {} & HTMLAttributes<HTMLDivElement>;\n\nexport function ChangeLogPage({ className }: ChangeLogPageProps) {\n const component = useContext(ComponentContext);\n const { logs } = component;\n\n if (!logs) return null;\n\n if (logs.length === 0) {\n return (\n <div className={classNames(styles.changeLogPage, className)}>\n <H1 className={styles.title}>History</H1>\n <Separator isPresentational className={styles.separatorNoChangeLog} />\n <AlertCard\n level=\"info\"\n title=\"There is no change log as this component has not been exported yet.\n Learn how to export components:\"\n className={styles.changeLogCard}\n >\n <MDXLayout>\n <ExportingComponents />\n </MDXLayout>\n </AlertCard>\n </div>\n );\n }\n\n return (\n <div className={classNames(styles.changeLogPage, className)}>\n <H1 className={styles.title}>History</H1>\n <Separator isPresentational className={styles.separator} />\n <div className={styles.logContainer}>\n {logs.map((snap, index) => {\n const isLatest = component.latest === snap.tag || component.latest === snap.hash;\n const isCurrent = component.version === snap.tag || component.version === snap.hash;\n return (\n <VersionBlock\n key={index}\n componentId={component.id.fullName}\n isLatest={isLatest}\n snap={snap}\n isCurrent={isCurrent}\n />\n );\n })}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAAmD;AAAA;AAI5C,SAASA,aAAa,CAAC;EAAEC;AAA8B,CAAC,EAAE;EAC/D,MAAMC,SAAS,GAAG,IAAAC,mBAAU,EAACC,6BAAgB,CAAC;EAC9C,MAAM;IAAEC;EAAK,CAAC,GAAGH,SAAS;EAE1B,IAAI,CAACG,IAAI,EAAE,OAAO,IAAI;EAEtB,IAAIA,IAAI,CAACC,MAAM,KAAK,CAAC,EAAE;IACrB,oBACE;MAAK,SAAS,EAAE,IAAAC,qBAAU,EAACC,8BAAM,CAACC,aAAa,EAAER,SAAS;IAAE,gBAC1D,+BAAC,kBAAE;MAAC,SAAS,EAAEO,8BAAM,CAACE;IAAM,aAAa,eACzC,+BAAC,qBAAS;MAAC,gBAAgB;MAAC,SAAS,EAAEF,8BAAM,CAACG;IAAqB,EAAG,eACtE,+BAAC,sBAAS;MACR,KAAK,EAAC,MAAM;MACZ,KAAK,EAAC,qGAC0B;MAChC,SAAS,EAAEH,8BAAM,CAACI;IAAc,gBAEhC,+BAAC,kBAAS,qBACR,+BAAC,4CAAmB,OAAG,CACb,CACF,CACR;EAEV;EAEA,oBACE;IAAK,SAAS,EAAE,IAAAL,qBAAU,EAACC,8BAAM,CAACC,aAAa,EAAER,SAAS;EAAE,gBAC1D,+BAAC,kBAAE;IAAC,SAAS,EAAEO,8BAAM,CAACE;EAAM,aAAa,eACzC,+BAAC,qBAAS;IAAC,gBAAgB;IAAC,SAAS,EAAEF,8BAAM,CAACK;EAAU,EAAG,eAC3D;IAAK,SAAS,EAAEL,8BAAM,CAACM;EAAa,GACjCT,IAAI,CAACU,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,KAAK;IACzB,MAAMC,QAAQ,GAAGhB,SAAS,CAACiB,MAAM,KAAKH,IAAI,CAACI,GAAG,IAAIlB,SAAS,CAACiB,MAAM,KAAKH,IAAI,CAACK,IAAI;IAChF,MAAMC,SAAS,GAAGpB,SAAS,CAACqB,OAAO,KAAKP,IAAI,CAACI,GAAG,IAAIlB,SAAS,CAACqB,OAAO,KAAKP,IAAI,CAACK,IAAI;IACnF,oBACE,+BAAC,2BAAY;MACX,GAAG,EAAEJ,KAAM;MACX,WAAW,EAAEf,SAAS,CAACsB,EAAE,CAACC,QAAS;MACnC,QAAQ,EAAEP,QAAS;MACnB,IAAI,EAAEF,IAAK;MACX,SAAS,EAAEM;IAAU,EACrB;EAEN,CAAC,CAAC,CACE,CACF;AAEV"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/changelog",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.882",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/component/changelog",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "changelog",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.882"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"classnames": "2.2.6",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"@teambit/component.instructions.exporting-components": "0.0.6",
|
|
17
17
|
"@teambit/design.ui.separator": "0.0.354",
|
|
18
18
|
"@teambit/documenter.ui.heading": "4.1.1",
|
|
19
|
-
"@teambit/component": "0.0.
|
|
19
|
+
"@teambit/component": "0.0.882",
|
|
20
20
|
"@teambit/ui-foundation.ui.menu-widget-icon": "0.0.494",
|
|
21
|
-
"@teambit/ui": "0.0.
|
|
21
|
+
"@teambit/ui": "0.0.882",
|
|
22
22
|
"@teambit/component.ui.version-block": "0.0.670",
|
|
23
23
|
"@teambit/design.ui.alert-card": "0.0.23",
|
|
24
24
|
"@teambit/mdx.ui.mdx-layout": "0.0.508"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_changelog@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_changelog@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_changelog@0.0.882/dist/changelog.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_changelog@0.0.882/dist/changelog.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
Binary file
|