@teambit/sidebar 0.0.707 → 0.0.710
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package-tar/teambit-sidebar-0.0.710.tgz +0 -0
- package/package.json +7 -10
- package/{preview-1649733938651.js → preview-1650252279523.js} +2 -2
- package/dist/ui/overview-link/index.d.ts +0 -1
- package/dist/ui/overview-link/index.js +0 -23
- package/dist/ui/overview-link/index.js.map +0 -1
- package/dist/ui/overview-link/overview-link.d.ts +0 -2
- package/dist/ui/overview-link/overview-link.js +0 -87
- package/dist/ui/overview-link/overview-link.js.map +0 -1
- package/dist/ui/overview-link/overview-link.module.scss +0 -29
- package/package-tar/teambit-sidebar-0.0.707.tgz +0 -0
- package/ui/overview-link/index.ts +0 -1
- package/ui/overview-link/overview-link.module.scss +0 -29
- package/ui/overview-link/overview-link.tsx +0 -27
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/sidebar",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.710",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/ui-foundation/sidebar",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.ui-foundation",
|
|
8
8
|
"name": "sidebar",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.710"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"classnames": "2.2.6",
|
|
@@ -14,13 +14,10 @@
|
|
|
14
14
|
"@babel/runtime": "7.12.18",
|
|
15
15
|
"core-js": "^3.0.0",
|
|
16
16
|
"@teambit/harmony": "0.3.3",
|
|
17
|
-
"@teambit/
|
|
18
|
-
"@teambit/
|
|
19
|
-
"@teambit/evangelist.elements.icon": "1.0.2",
|
|
20
|
-
"@teambit/component": "0.0.707",
|
|
17
|
+
"@teambit/design.ui.surfaces.menu.section": "0.0.347",
|
|
18
|
+
"@teambit/component": "0.0.710",
|
|
21
19
|
"@teambit/ui-foundation.ui.tree.drawer": "0.0.499",
|
|
22
|
-
"@teambit/ui": "0.0.
|
|
23
|
-
"@teambit/design.ui.surfaces.menu.section": "0.0.347"
|
|
20
|
+
"@teambit/ui": "0.0.710"
|
|
24
21
|
},
|
|
25
22
|
"devDependencies": {
|
|
26
23
|
"@types/react": "^17.0.8",
|
|
@@ -33,7 +30,7 @@
|
|
|
33
30
|
"@types/node": "12.20.4"
|
|
34
31
|
},
|
|
35
32
|
"peerDependencies": {
|
|
36
|
-
"@teambit/legacy": "1.0.
|
|
33
|
+
"@teambit/legacy": "1.0.251",
|
|
37
34
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
38
35
|
"react": "^16.8.0 || ^17.0.0"
|
|
39
36
|
},
|
|
@@ -61,7 +58,7 @@
|
|
|
61
58
|
"react": "-"
|
|
62
59
|
},
|
|
63
60
|
"peerDependencies": {
|
|
64
|
-
"@teambit/legacy": "1.0.
|
|
61
|
+
"@teambit/legacy": "1.0.251",
|
|
65
62
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
66
63
|
"react": "^16.8.0 || ^17.0.0"
|
|
67
64
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_sidebar@0.0.
|
|
2
|
-
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_sidebar@0.0.
|
|
1
|
+
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_sidebar@0.0.710/dist/sidebar.composition.js')]
|
|
2
|
+
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_sidebar@0.0.710/dist/sidebar.docs.mdx')]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { OverviewLink } from './overview-link';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "OverviewLink", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _overviewLink().OverviewLink;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
function _overviewLink() {
|
|
14
|
-
const data = require("./overview-link");
|
|
15
|
-
|
|
16
|
-
_overviewLink = function () {
|
|
17
|
-
return data;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
return data;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA","sourcesContent":["export { OverviewLink } from './overview-link';\n"]}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.OverviewLink = OverviewLink;
|
|
9
|
-
|
|
10
|
-
function _documenterUi() {
|
|
11
|
-
const data = require("@teambit/documenter.ui.separator");
|
|
12
|
-
|
|
13
|
-
_documenterUi = function () {
|
|
14
|
-
return data;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
return data;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function _evangelistElements() {
|
|
21
|
-
const data = require("@teambit/evangelist.elements.icon");
|
|
22
|
-
|
|
23
|
-
_evangelistElements = function () {
|
|
24
|
-
return data;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
return data;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
function _baseUiRouting() {
|
|
31
|
-
const data = require("@teambit/base-ui.routing.nav-link");
|
|
32
|
-
|
|
33
|
-
_baseUiRouting = function () {
|
|
34
|
-
return data;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
return data;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function _classnames() {
|
|
41
|
-
const data = _interopRequireDefault(require("classnames"));
|
|
42
|
-
|
|
43
|
-
_classnames = function () {
|
|
44
|
-
return data;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
return data;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function _react() {
|
|
51
|
-
const data = _interopRequireDefault(require("react"));
|
|
52
|
-
|
|
53
|
-
_react = function () {
|
|
54
|
-
return data;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
return data;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
function _overviewLinkModule() {
|
|
61
|
-
const data = _interopRequireDefault(require("./overview-link.module.scss"));
|
|
62
|
-
|
|
63
|
-
_overviewLinkModule = function () {
|
|
64
|
-
return data;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
return data;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function OverviewLink() {
|
|
71
|
-
return /*#__PURE__*/_react().default.createElement("div", {
|
|
72
|
-
className: _overviewLinkModule().default.overview
|
|
73
|
-
}, /*#__PURE__*/_react().default.createElement(_baseUiRouting().NavLink, {
|
|
74
|
-
exact: true,
|
|
75
|
-
href: "/",
|
|
76
|
-
activeClassName: _overviewLinkModule().default.active,
|
|
77
|
-
className: (0, _classnames().default)( // hoverable, clickable, // TODO - return these somehow @oded
|
|
78
|
-
_overviewLinkModule().default.overviewLink)
|
|
79
|
-
}, "Components", /*#__PURE__*/_react().default.createElement(_evangelistElements().Icon, {
|
|
80
|
-
of: "comps",
|
|
81
|
-
className: _overviewLinkModule().default.icon
|
|
82
|
-
})), /*#__PURE__*/_react().default.createElement(_documenterUi().Separator, {
|
|
83
|
-
className: _overviewLinkModule().default.separator
|
|
84
|
-
}));
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
//# sourceMappingURL=overview-link.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["overview-link.tsx"],"names":["OverviewLink","styles","overview","active","overviewLink","icon","separator"],"mappings":";;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEO,SAASA,YAAT,GAAwB;AAC7B,sBACE;AAAK,IAAA,SAAS,EAAEC,8BAAOC;AAAvB,kBACE,+BAAC,wBAAD;AACE,IAAA,KAAK,MADP;AAEE,IAAA,IAAI,EAAC,GAFP;AAGE,IAAA,eAAe,EAAED,8BAAOE,MAH1B;AAIE,IAAA,SAAS,EAAE,4BACT;AACAF,kCAAOG,YAFE;AAJb,gCAUE,+BAAC,0BAAD;AAAM,IAAA,EAAE,EAAC,OAAT;AAAiB,IAAA,SAAS,EAAEH,8BAAOI;AAAnC,IAVF,CADF,eAaE,+BAAC,yBAAD;AAAW,IAAA,SAAS,EAAEJ,8BAAOK;AAA7B,IAbF,CADF;AAiBD","sourcesContent":["import { Separator } from '@teambit/documenter.ui.separator';\nimport { Icon } from '@teambit/evangelist.elements.icon';\nimport { NavLink } from '@teambit/base-ui.routing.nav-link';\nimport classNames from 'classnames';\nimport React from 'react';\n\nimport styles from './overview-link.module.scss';\n\nexport function OverviewLink() {\n return (\n <div className={styles.overview}>\n <NavLink\n exact\n href=\"/\"\n activeClassName={styles.active}\n className={classNames(\n // hoverable, clickable, // TODO - return these somehow @oded\n styles.overviewLink\n )}\n >\n Components\n <Icon of=\"comps\" className={styles.icon} />\n </NavLink>\n <Separator className={styles.separator} />\n </div>\n );\n}\n"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
.overview {
|
|
2
|
-
padding: 8px 8px 0px 8px;
|
|
3
|
-
.separator {
|
|
4
|
-
margin: unset;
|
|
5
|
-
}
|
|
6
|
-
.overviewLink {
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
align-items: center;
|
|
10
|
-
padding: 9px 8px;
|
|
11
|
-
text-decoration: none;
|
|
12
|
-
color: var(--bit-text-color-heavy);
|
|
13
|
-
margin-bottom: 8px;
|
|
14
|
-
.icon {
|
|
15
|
-
color: var(--bit-text-color-light, #6c707c);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
.active {
|
|
19
|
-
background-color: var(--bit-accent-color, #6c5ce7);
|
|
20
|
-
color: var(--bit-text-on-accent, #ffffff);
|
|
21
|
-
font-weight: unset;
|
|
22
|
-
.icon {
|
|
23
|
-
color: var(--bit-text-on-accent, #ffffff);
|
|
24
|
-
}
|
|
25
|
-
&:hover {
|
|
26
|
-
background-color: var(--bit-accent-heavy, #5d4aec);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { OverviewLink } from './overview-link';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
.overview {
|
|
2
|
-
padding: 8px 8px 0px 8px;
|
|
3
|
-
.separator {
|
|
4
|
-
margin: unset;
|
|
5
|
-
}
|
|
6
|
-
.overviewLink {
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
align-items: center;
|
|
10
|
-
padding: 9px 8px;
|
|
11
|
-
text-decoration: none;
|
|
12
|
-
color: var(--bit-text-color-heavy);
|
|
13
|
-
margin-bottom: 8px;
|
|
14
|
-
.icon {
|
|
15
|
-
color: var(--bit-text-color-light, #6c707c);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
.active {
|
|
19
|
-
background-color: var(--bit-accent-color, #6c5ce7);
|
|
20
|
-
color: var(--bit-text-on-accent, #ffffff);
|
|
21
|
-
font-weight: unset;
|
|
22
|
-
.icon {
|
|
23
|
-
color: var(--bit-text-on-accent, #ffffff);
|
|
24
|
-
}
|
|
25
|
-
&:hover {
|
|
26
|
-
background-color: var(--bit-accent-heavy, #5d4aec);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Separator } from '@teambit/documenter.ui.separator';
|
|
2
|
-
import { Icon } from '@teambit/evangelist.elements.icon';
|
|
3
|
-
import { NavLink } from '@teambit/base-ui.routing.nav-link';
|
|
4
|
-
import classNames from 'classnames';
|
|
5
|
-
import React from 'react';
|
|
6
|
-
|
|
7
|
-
import styles from './overview-link.module.scss';
|
|
8
|
-
|
|
9
|
-
export function OverviewLink() {
|
|
10
|
-
return (
|
|
11
|
-
<div className={styles.overview}>
|
|
12
|
-
<NavLink
|
|
13
|
-
exact
|
|
14
|
-
href="/"
|
|
15
|
-
activeClassName={styles.active}
|
|
16
|
-
className={classNames(
|
|
17
|
-
// hoverable, clickable, // TODO - return these somehow @oded
|
|
18
|
-
styles.overviewLink
|
|
19
|
-
)}
|
|
20
|
-
>
|
|
21
|
-
Components
|
|
22
|
-
<Icon of="comps" className={styles.icon} />
|
|
23
|
-
</NavLink>
|
|
24
|
-
<Separator className={styles.separator} />
|
|
25
|
-
</div>
|
|
26
|
-
);
|
|
27
|
-
}
|