@teambit/mdx.ui.docs.link 0.0.488 → 0.0.491
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/link.d.ts +1 -1
- package/dist/link.js +2 -2
- package/dist/link.js.map +1 -1
- package/dist/tsconfig.json +32 -0
- package/link.tsx +2 -2
- package/package-tar/teambit-mdx.ui.docs.link-0.0.491.tgz +0 -0
- package/package.json +5 -35
- package/preview-1661916601653.js +5 -0
- package/tsconfig.json +8 -2
- package/__preview-1645365357220.js +0 -2
- package/package-tar/teambit-mdx.ui.docs.link-0.0.488.tgz +0 -0
package/dist/link.d.ts
CHANGED
package/dist/link.js
CHANGED
|
@@ -5,10 +5,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Link = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const
|
|
8
|
+
const base_react_navigation_link_1 = require("@teambit/base-react.navigation.link");
|
|
9
9
|
const link_module_scss_1 = __importDefault(require("./link.module.scss"));
|
|
10
10
|
function Link(props) {
|
|
11
|
-
return react_1.default.createElement(
|
|
11
|
+
return react_1.default.createElement(base_react_navigation_link_1.Link, Object.assign({}, props, { className: link_module_scss_1.default.link, external: true }));
|
|
12
12
|
}
|
|
13
13
|
exports.Link = Link;
|
|
14
14
|
//# sourceMappingURL=link.js.map
|
package/dist/link.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.js","sourceRoot":"","sources":["../link.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"link.js","sourceRoot":"","sources":["../link.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,oFAAkF;AAElF,0EAAwC;AAExC,SAAgB,IAAI,CAAC,KAAgB;IACnC,OAAO,8BAAC,iCAAQ,oBAAK,KAAK,IAAE,SAAS,EAAE,0BAAM,CAAC,IAAI,EAAE,QAAQ,UAAG,CAAC;AAClE,CAAC;AAFD,oBAEC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": [
|
|
4
|
+
"es2019",
|
|
5
|
+
"DOM",
|
|
6
|
+
"ES6",
|
|
7
|
+
"DOM.Iterable"
|
|
8
|
+
],
|
|
9
|
+
"target": "es2015",
|
|
10
|
+
"module": "CommonJS",
|
|
11
|
+
"jsx": "react",
|
|
12
|
+
"allowJs": true,
|
|
13
|
+
"composite": true,
|
|
14
|
+
"declaration": true,
|
|
15
|
+
"sourceMap": true,
|
|
16
|
+
"skipLibCheck": true,
|
|
17
|
+
"experimentalDecorators": true,
|
|
18
|
+
"outDir": "dist",
|
|
19
|
+
"moduleResolution": "node",
|
|
20
|
+
"esModuleInterop": true,
|
|
21
|
+
"rootDir": ".",
|
|
22
|
+
"resolveJsonModule": true
|
|
23
|
+
},
|
|
24
|
+
"exclude": [
|
|
25
|
+
"dist",
|
|
26
|
+
"package.json"
|
|
27
|
+
],
|
|
28
|
+
"include": [
|
|
29
|
+
"**/*",
|
|
30
|
+
"**/*.json"
|
|
31
|
+
]
|
|
32
|
+
}
|
package/link.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Link as
|
|
2
|
+
import { Link as BaseLink, LinkProps } from '@teambit/base-react.navigation.link';
|
|
3
3
|
|
|
4
4
|
import styles from './link.module.scss';
|
|
5
5
|
|
|
6
6
|
export function Link(props: LinkProps) {
|
|
7
|
-
return <
|
|
7
|
+
return <BaseLink {...props} className={styles.link} external />;
|
|
8
8
|
}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/mdx.ui.docs.link",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.491",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/mdx/ui/docs/link",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.mdx",
|
|
8
8
|
"name": "ui/docs/link",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.491"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"core-js": "^3.0.0",
|
|
13
|
-
"@teambit/base-
|
|
13
|
+
"@teambit/base-react.navigation.link": "2.0.27"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/react": "^17.0.8",
|
|
17
|
-
"@testing-library/react": "
|
|
17
|
+
"@testing-library/react": "12.1.5",
|
|
18
18
|
"chai": "4.3.0",
|
|
19
19
|
"@types/chai": "4.2.15",
|
|
20
20
|
"@types/mocha": "9.1.0",
|
|
@@ -30,34 +30,6 @@
|
|
|
30
30
|
"react": "^16.8.0 || ^17.0.0"
|
|
31
31
|
},
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
|
-
"bit": {
|
|
34
|
-
"bindingPrefix": "@teambit",
|
|
35
|
-
"env": {},
|
|
36
|
-
"overrides": {
|
|
37
|
-
"dependencies": {
|
|
38
|
-
"@teambit/legacy": "-",
|
|
39
|
-
"core-js": "^3.0.0",
|
|
40
|
-
"react-dom": "-",
|
|
41
|
-
"react": "-"
|
|
42
|
-
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@teambit/legacy": "-",
|
|
45
|
-
"@types/mocha": "9.1.0",
|
|
46
|
-
"@types/testing-library__jest-dom": "5.9.5",
|
|
47
|
-
"@babel/runtime": "7.12.18",
|
|
48
|
-
"@types/jest": "^26.0.0",
|
|
49
|
-
"@types/react-dom": "^17.0.5",
|
|
50
|
-
"@types/react": "^17.0.8",
|
|
51
|
-
"@types/node": "12.20.4",
|
|
52
|
-
"react-dom": "-",
|
|
53
|
-
"react": "-"
|
|
54
|
-
},
|
|
55
|
-
"peerDependencies": {
|
|
56
|
-
"react-dom": "^16.8.0 || ^17.0.0",
|
|
57
|
-
"react": "^16.8.0 || ^17.0.0"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
33
|
"private": false,
|
|
62
34
|
"engines": {
|
|
63
35
|
"node": ">=12.22.0"
|
|
@@ -74,8 +46,6 @@
|
|
|
74
46
|
"react",
|
|
75
47
|
"react-components",
|
|
76
48
|
"angular",
|
|
77
|
-
"angular-components"
|
|
78
|
-
"vue",
|
|
79
|
-
"vue-components"
|
|
49
|
+
"angular-components"
|
|
80
50
|
]
|
|
81
51
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_ui_docs_link@0.0.491/dist/link.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_ui_docs_link@0.0.491/dist/link.docs.md';
|
|
3
|
+
|
|
4
|
+
export const compositions = [compositions_0];
|
|
5
|
+
export const overview = [overview_0];
|
package/tsconfig.json
CHANGED
|
@@ -7,13 +7,14 @@
|
|
|
7
7
|
"DOM.Iterable"
|
|
8
8
|
],
|
|
9
9
|
"target": "es2015",
|
|
10
|
-
"module": "
|
|
10
|
+
"module": "CommonJS",
|
|
11
11
|
"jsx": "react",
|
|
12
12
|
"allowJs": true,
|
|
13
13
|
"composite": true,
|
|
14
14
|
"declaration": true,
|
|
15
15
|
"sourceMap": true,
|
|
16
16
|
"skipLibCheck": true,
|
|
17
|
+
"experimentalDecorators": true,
|
|
17
18
|
"outDir": "dist",
|
|
18
19
|
"moduleResolution": "node",
|
|
19
20
|
"esModuleInterop": true,
|
|
@@ -21,6 +22,11 @@
|
|
|
21
22
|
"resolveJsonModule": true
|
|
22
23
|
},
|
|
23
24
|
"exclude": [
|
|
24
|
-
"dist"
|
|
25
|
+
"dist",
|
|
26
|
+
"package.json"
|
|
27
|
+
],
|
|
28
|
+
"include": [
|
|
29
|
+
"**/*",
|
|
30
|
+
"**/*.json"
|
|
25
31
|
]
|
|
26
32
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_ui_docs_link@0.0.488/dist/link.composition.js')]
|
|
2
|
-
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_ui_docs_link@0.0.488/dist/link.docs.md')]
|
|
Binary file
|