@teambit/component-compare 0.0.14 → 0.0.15

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.
@@ -8,7 +8,7 @@ export class AspectsCompareSection implements Section {
8
8
  navigationLink = {
9
9
  href: 'aspects',
10
10
  children: 'Aspects',
11
- order: 5,
11
+ order: 6,
12
12
  };
13
13
 
14
14
  route = {
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { Section } from '@teambit/component';
3
+ import { ComponentCompareChangelog } from '@teambit/component.ui.compare';
4
+
5
+ export class CompareChangelogSection implements Section {
6
+ navigationLink = {
7
+ href: 'changelog',
8
+ children: 'Changelog',
9
+ order: 5,
10
+ };
11
+
12
+ route = {
13
+ path: 'changelog/*',
14
+ element: <ComponentCompareChangelog/>,
15
+ };
16
+ }
@@ -9,6 +9,7 @@ import { RouteProps } from 'react-router-dom';
9
9
  import { AspectsCompareSection } from './component-compare-aspects.section';
10
10
  import { ComponentCompareAspect } from './component-compare.aspect';
11
11
  import { ComponentCompareSection } from './component-compare.section';
12
+ import { CompareChangelogSection } from './component-compare-changelog.section';
12
13
 
13
14
  export type ComponentCompareNav = {
14
15
  props: NavLinkProps;
@@ -56,11 +57,19 @@ export class ComponentCompareUI {
56
57
  componentUi.registerRoute([componentCompareSection.route]);
57
58
  componentUi.registerWidget(componentCompareSection.navigationLink, componentCompareSection.order);
58
59
  const aspectCompareSection = new AspectsCompareSection(host);
59
- componentCompareUI.registerNavigation({
60
- props: aspectCompareSection.navigationLink,
61
- order: aspectCompareSection.navigationLink.order,
62
- });
63
- componentCompareUI.registerRoutes([aspectCompareSection.route]);
60
+ const compareChangelog = new CompareChangelogSection();
61
+ componentCompareUI.registerNavigation([
62
+ {
63
+ props: aspectCompareSection.navigationLink,
64
+ order: aspectCompareSection.navigationLink.order,
65
+ },
66
+ {
67
+ props: compareChangelog.navigationLink,
68
+ order: compareChangelog.navigationLink.order,
69
+ },
70
+ ]);
71
+
72
+ componentCompareUI.registerRoutes([aspectCompareSection.route, compareChangelog.route]);
64
73
  return componentCompareUI;
65
74
  }
66
75
  }
@@ -43,7 +43,7 @@ class AspectsCompareSection {
43
43
  (0, _defineProperty2().default)(this, "navigationLink", {
44
44
  href: 'aspects',
45
45
  children: 'Aspects',
46
- order: 5
46
+ order: 6
47
47
  });
48
48
  (0, _defineProperty2().default)(this, "route", {
49
49
  path: 'aspects/*',
@@ -1 +1 @@
1
- {"version":3,"names":["AspectsCompareSection","constructor","host","href","children","order","path","element"],"sources":["component-compare-aspects.section.tsx"],"sourcesContent":["import React from 'react';\nimport { Section } from '@teambit/component';\nimport { ComponentCompareAspects } from '@teambit/component.ui.compare';\n\nexport class AspectsCompareSection implements Section {\n constructor(private host: string) {}\n\n navigationLink = {\n href: 'aspects',\n children: 'Aspects',\n order: 5,\n };\n\n route = {\n path: 'aspects/*',\n element: <ComponentCompareAspects host={this.host} />,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,qBAAN,CAA+C;EACpDC,WAAW,CAASC,IAAT,EAAuB;IAAA,KAAdA,IAAc,GAAdA,IAAc;IAAA,wDAEjB;MACfC,IAAI,EAAE,SADS;MAEfC,QAAQ,EAAE,SAFK;MAGfC,KAAK,EAAE;IAHQ,CAFiB;IAAA,+CAQ1B;MACNC,IAAI,EAAE,WADA;MAENC,OAAO,eAAE,+BAAC,sCAAD;QAAyB,IAAI,EAAE,KAAKL;MAApC;IAFH,CAR0B;EAAE;;AADgB"}
1
+ {"version":3,"names":["AspectsCompareSection","constructor","host","href","children","order","path","element"],"sources":["component-compare-aspects.section.tsx"],"sourcesContent":["import React from 'react';\nimport { Section } from '@teambit/component';\nimport { ComponentCompareAspects } from '@teambit/component.ui.compare';\n\nexport class AspectsCompareSection implements Section {\n constructor(private host: string) {}\n\n navigationLink = {\n href: 'aspects',\n children: 'Aspects',\n order: 6,\n };\n\n route = {\n path: 'aspects/*',\n element: <ComponentCompareAspects host={this.host} />,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,qBAAN,CAA+C;EACpDC,WAAW,CAASC,IAAT,EAAuB;IAAA,KAAdA,IAAc,GAAdA,IAAc;IAAA,wDAEjB;MACfC,IAAI,EAAE,SADS;MAEfC,QAAQ,EAAE,SAFK;MAGfC,KAAK,EAAE;IAHQ,CAFiB;IAAA,+CAQ1B;MACNC,IAAI,EAAE,WADA;MAENC,OAAO,eAAE,+BAAC,sCAAD;QAAyB,IAAI,EAAE,KAAKL;MAApC;IAFH,CAR0B;EAAE;;AADgB"}
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { Section } from '@teambit/component';
3
+ export declare class CompareChangelogSection implements Section {
4
+ navigationLink: {
5
+ href: string;
6
+ children: string;
7
+ order: number;
8
+ };
9
+ route: {
10
+ path: string;
11
+ element: JSX.Element;
12
+ };
13
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.CompareChangelogSection = void 0;
9
+
10
+ function _defineProperty2() {
11
+ const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
12
+
13
+ _defineProperty2 = function () {
14
+ return data;
15
+ };
16
+
17
+ return data;
18
+ }
19
+
20
+ function _react() {
21
+ const data = _interopRequireDefault(require("react"));
22
+
23
+ _react = function () {
24
+ return data;
25
+ };
26
+
27
+ return data;
28
+ }
29
+
30
+ function _componentUi() {
31
+ const data = require("@teambit/component.ui.compare");
32
+
33
+ _componentUi = function () {
34
+ return data;
35
+ };
36
+
37
+ return data;
38
+ }
39
+
40
+ class CompareChangelogSection {
41
+ constructor() {
42
+ (0, _defineProperty2().default)(this, "navigationLink", {
43
+ href: 'changelog',
44
+ children: 'Changelog',
45
+ order: 5
46
+ });
47
+ (0, _defineProperty2().default)(this, "route", {
48
+ path: 'changelog/*',
49
+ element: /*#__PURE__*/_react().default.createElement(_componentUi().ComponentCompareChangelog, null)
50
+ });
51
+ }
52
+
53
+ }
54
+
55
+ exports.CompareChangelogSection = CompareChangelogSection;
56
+
57
+ //# sourceMappingURL=component-compare-changelog.section.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CompareChangelogSection","href","children","order","path","element"],"sources":["component-compare-changelog.section.tsx"],"sourcesContent":["import React from 'react';\nimport { Section } from '@teambit/component';\nimport { ComponentCompareChangelog } from '@teambit/component.ui.compare';\n\nexport class CompareChangelogSection implements Section {\n navigationLink = {\n href: 'changelog',\n children: 'Changelog',\n order: 5,\n };\n\n route = {\n path: 'changelog/*',\n element: <ComponentCompareChangelog/>,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,uBAAN,CAAiD;EAAA;IAAA,wDACrC;MACfC,IAAI,EAAE,WADS;MAEfC,QAAQ,EAAE,WAFK;MAGfC,KAAK,EAAE;IAHQ,CADqC;IAAA,+CAO9C;MACNC,IAAI,EAAE,aADA;MAENC,OAAO,eAAE,+BAAC,wCAAD;IAFH,CAP8C;EAAA;;AAAA"}
@@ -101,6 +101,16 @@ function _componentCompare2() {
101
101
  return data;
102
102
  }
103
103
 
104
+ function _componentCompareChangelog() {
105
+ const data = require("./component-compare-changelog.section");
106
+
107
+ _componentCompareChangelog = function () {
108
+ return data;
109
+ };
110
+
111
+ return data;
112
+ }
113
+
104
114
  class ComponentCompareUI {
105
115
  constructor(host, navSlot, routeSlot) {
106
116
  this.host = host;
@@ -138,11 +148,15 @@ class ComponentCompareUI {
138
148
  componentUi.registerRoute([componentCompareSection.route]);
139
149
  componentUi.registerWidget(componentCompareSection.navigationLink, componentCompareSection.order);
140
150
  const aspectCompareSection = new (_componentCompareAspects().AspectsCompareSection)(host);
141
- componentCompareUI.registerNavigation({
151
+ const compareChangelog = new (_componentCompareChangelog().CompareChangelogSection)();
152
+ componentCompareUI.registerNavigation([{
142
153
  props: aspectCompareSection.navigationLink,
143
154
  order: aspectCompareSection.navigationLink.order
144
- });
145
- componentCompareUI.registerRoutes([aspectCompareSection.route]);
155
+ }, {
156
+ props: compareChangelog.navigationLink,
157
+ order: compareChangelog.navigationLink.order
158
+ }]);
159
+ componentCompareUI.registerRoutes([aspectCompareSection.route, compareChangelog.route]);
146
160
  return componentCompareUI;
147
161
  }
148
162
 
@@ -1 +1 @@
1
- {"version":3,"names":["ComponentCompareUI","constructor","host","navSlot","routeSlot","registerNavigation","route","Array","isArray","register","registerRoutes","routes","provider","componentUi","_","harmony","config","String","get","componentCompareUI","componentCompareSection","ComponentCompareSection","registerRoute","registerWidget","navigationLink","order","aspectCompareSection","AspectsCompareSection","props","UIRuntime","Slot","withType","ComponentAspect","ComponentCompareAspect","addRuntime"],"sources":["component-compare.ui.runtime.tsx"],"sourcesContent":["import { NavLinkProps } from '@teambit/base-ui.routing.nav-link';\nimport ComponentAspect, { ComponentUI } from '@teambit/component';\nimport { ComponentCompare } from '@teambit/component.ui.compare';\nimport { Harmony, Slot, SlotRegistry } from '@teambit/harmony';\nimport { UIRuntime } from '@teambit/ui';\nimport { RouteSlot } from '@teambit/ui-foundation.ui.react-router.slot-router';\nimport React from 'react';\nimport { RouteProps } from 'react-router-dom';\nimport { AspectsCompareSection } from './component-compare-aspects.section';\nimport { ComponentCompareAspect } from './component-compare.aspect';\nimport { ComponentCompareSection } from './component-compare.section';\n\nexport type ComponentCompareNav = {\n props: NavLinkProps;\n order: number;\n};\n\nexport type ComponentCompareNavSlot = SlotRegistry<Array<ComponentCompareNav>>;\nexport class ComponentCompareUI {\n constructor(private host: string, private navSlot: ComponentCompareNavSlot, private routeSlot: RouteSlot) {}\n\n static runtime = UIRuntime;\n\n static slots = [Slot.withType<ComponentCompareNavSlot>(), Slot.withType<RouteSlot>()];\n\n static dependencies = [ComponentAspect];\n\n getComponentComparePage = () => (\n <ComponentCompare navSlot={this.navSlot} routeSlot={this.routeSlot} host={this.host} />\n );\n\n registerNavigation(route: ComponentCompareNav | Array<ComponentCompareNav>) {\n if (Array.isArray(route)) {\n this.navSlot.register(route);\n } else {\n this.navSlot.register([route]);\n }\n return this;\n }\n\n registerRoutes(routes: RouteProps[]) {\n this.routeSlot.register(routes);\n return this;\n }\n\n static async provider(\n [componentUi]: [ComponentUI],\n _,\n [navSlot, routeSlot]: [ComponentCompareNavSlot, RouteSlot],\n harmony: Harmony\n ) {\n const { config } = harmony;\n const host = String(config.get('teambit.harmony/bit'));\n const componentCompareUI = new ComponentCompareUI(host, navSlot, routeSlot);\n const componentCompareSection = new ComponentCompareSection(componentCompareUI);\n componentUi.registerRoute([componentCompareSection.route]);\n componentUi.registerWidget(componentCompareSection.navigationLink, componentCompareSection.order);\n const aspectCompareSection = new AspectsCompareSection(host);\n componentCompareUI.registerNavigation({\n props: aspectCompareSection.navigationLink,\n order: aspectCompareSection.navigationLink.order,\n });\n componentCompareUI.registerRoutes([aspectCompareSection.route]);\n return componentCompareUI;\n }\n}\n\nComponentCompareAspect.addRuntime(ComponentCompareUI);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;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;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;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AzB,CAA1B;IACAO,WAAW,CAACU,cAAZ,CAA2BH,uBAAuB,CAACI,cAAnD,EAAmEJ,uBAAuB,CAACK,KAA3F;IACA,MAAMC,oBAAoB,GAAG,KAAIC,gDAAJ,EAA0BzB,IAA1B,CAA7B;IACAiB,kBAAkB,CAACd,kBAAnB,CAAsC;MACpCuB,KAAK,EAAEF,oBAAoB,CAACF,cADQ;MAEpCC,KAAK,EAAEC,oBAAoB,CAACF,cAArB,CAAoCC;IAFP,CAAtC;IAIAN,kBAAkB,CAACT,cAAnB,CAAkC,CAACgB,oBAAoB,CAACpB,KAAtB,CAAlC;IACA,OAAOa,kBAAP;EACD;;AA9C6B;;;gCAAnBnB,kB,aAGM6B,e;gCAHN7B,kB,WAKI,CAAC8B,eAAA,CAAKC,QAAL,EAAD,EAA2CD,eAAA,CAAKC,QAAL,EAA3C,C;gCALJ/B,kB,kBAOW,CAACgC,oBAAD,C;;AA0CxBC,0CAAA,CAAuBC,UAAvB,CAAkClC,kBAAlC"}
1
+ {"version":3,"names":["ComponentCompareUI","constructor","host","navSlot","routeSlot","registerNavigation","route","Array","isArray","register","registerRoutes","routes","provider","componentUi","_","harmony","config","String","get","componentCompareUI","componentCompareSection","ComponentCompareSection","registerRoute","registerWidget","navigationLink","order","aspectCompareSection","AspectsCompareSection","compareChangelog","CompareChangelogSection","props","UIRuntime","Slot","withType","ComponentAspect","ComponentCompareAspect","addRuntime"],"sources":["component-compare.ui.runtime.tsx"],"sourcesContent":["import { NavLinkProps } from '@teambit/base-ui.routing.nav-link';\nimport ComponentAspect, { ComponentUI } from '@teambit/component';\nimport { ComponentCompare } from '@teambit/component.ui.compare';\nimport { Harmony, Slot, SlotRegistry } from '@teambit/harmony';\nimport { UIRuntime } from '@teambit/ui';\nimport { RouteSlot } from '@teambit/ui-foundation.ui.react-router.slot-router';\nimport React from 'react';\nimport { RouteProps } from 'react-router-dom';\nimport { AspectsCompareSection } from './component-compare-aspects.section';\nimport { ComponentCompareAspect } from './component-compare.aspect';\nimport { ComponentCompareSection } from './component-compare.section';\nimport { CompareChangelogSection } from './component-compare-changelog.section';\n\nexport type ComponentCompareNav = {\n props: NavLinkProps;\n order: number;\n};\n\nexport type ComponentCompareNavSlot = SlotRegistry<Array<ComponentCompareNav>>;\nexport class ComponentCompareUI {\n constructor(private host: string, private navSlot: ComponentCompareNavSlot, private routeSlot: RouteSlot) {}\n\n static runtime = UIRuntime;\n\n static slots = [Slot.withType<ComponentCompareNavSlot>(), Slot.withType<RouteSlot>()];\n\n static dependencies = [ComponentAspect];\n\n getComponentComparePage = () => (\n <ComponentCompare navSlot={this.navSlot} routeSlot={this.routeSlot} host={this.host} />\n );\n\n registerNavigation(route: ComponentCompareNav | Array<ComponentCompareNav>) {\n if (Array.isArray(route)) {\n this.navSlot.register(route);\n } else {\n this.navSlot.register([route]);\n }\n return this;\n }\n\n registerRoutes(routes: RouteProps[]) {\n this.routeSlot.register(routes);\n return this;\n }\n\n static async provider(\n [componentUi]: [ComponentUI],\n _,\n [navSlot, routeSlot]: [ComponentCompareNavSlot, RouteSlot],\n harmony: Harmony\n ) {\n const { config } = harmony;\n const host = String(config.get('teambit.harmony/bit'));\n const componentCompareUI = new ComponentCompareUI(host, navSlot, routeSlot);\n const componentCompareSection = new ComponentCompareSection(componentCompareUI);\n componentUi.registerRoute([componentCompareSection.route]);\n componentUi.registerWidget(componentCompareSection.navigationLink, componentCompareSection.order);\n const aspectCompareSection = new AspectsCompareSection(host);\n const compareChangelog = new CompareChangelogSection();\n componentCompareUI.registerNavigation([\n {\n props: aspectCompareSection.navigationLink,\n order: aspectCompareSection.navigationLink.order,\n },\n {\n props: compareChangelog.navigationLink,\n order: compareChangelog.navigationLink.order,\n },\n ]);\n\n componentCompareUI.registerRoutes([aspectCompareSection.route, compareChangelog.route]);\n return componentCompareUI;\n }\n}\n\nComponentCompareAspect.addRuntime(ComponentCompareUI);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACA;EAAA;;EAAA;IAAA;EAA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"0.0.15",
4
4
  "homepage": "https://bit.dev/teambit/component/component-compare",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "component-compare",
9
- "version": "0.0.14"
9
+ "version": "0.0.15"
10
10
  },
11
11
  "dependencies": {
12
12
  "classnames": "2.2.6",
@@ -14,11 +14,11 @@
14
14
  "core-js": "^3.0.0",
15
15
  "@teambit/harmony": "0.3.3",
16
16
  "@teambit/base-ui.routing.nav-link": "1.0.0",
17
- "@teambit/component.ui.compare": "0.0.12",
18
- "@teambit/component": "0.0.766",
17
+ "@teambit/component.ui.compare": "0.0.13",
18
+ "@teambit/component": "0.0.767",
19
19
  "@teambit/design.ui.tooltip": "0.0.352",
20
20
  "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.490",
21
- "@teambit/ui": "0.0.766"
21
+ "@teambit/ui": "0.0.767"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/react": "^17.0.8",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "peerDependencies": {
33
33
  "react-router-dom": "^6.0.0",
34
- "@teambit/legacy": "1.0.286",
34
+ "@teambit/legacy": "1.0.287",
35
35
  "react-dom": "^16.8.0 || ^17.0.0",
36
36
  "react": "^16.8.0 || ^17.0.0"
37
37
  },
@@ -59,7 +59,7 @@
59
59
  "react": "-"
60
60
  },
61
61
  "peerDependencies": {
62
- "@teambit/legacy": "1.0.286",
62
+ "@teambit/legacy": "1.0.287",
63
63
  "react-dom": "^16.8.0 || ^17.0.0",
64
64
  "react": "^16.8.0 || ^17.0.0"
65
65
  }