@teambit/mdx.ui.docs.link 0.0.486 → 0.0.489

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.
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const LinkExample: () => JSX.Element;
package/dist/link.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- import { LinkProps } from '@teambit/base-ui.routing.link';
1
+ /// <reference types="react" />
2
+ import { LinkProps } from '@teambit/base-react.navigation.link';
2
3
  export declare function Link(props: LinkProps): JSX.Element;
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 base_ui_routing_link_1 = require("@teambit/base-ui.routing.link");
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(base_ui_routing_link_1.Link, Object.assign({}, props, { className: link_module_scss_1.default.link, external: true }));
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,wEAA+E;AAE/E,0EAAwC;AAExC,SAAgB,IAAI,CAAC,KAAgB;IACnC,OAAO,8BAAC,2BAAW,oBAAK,KAAK,IAAE,SAAS,EAAE,0BAAM,CAAC,IAAI,EAAE,QAAQ,UAAG,CAAC;AACrE,CAAC;AAFD,oBAEC"}
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"}
package/link.tsx CHANGED
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { Link as RoutingLink, LinkProps } from '@teambit/base-ui.routing.link';
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 <RoutingLink {...props} className={styles.link} external />;
7
+ return <BaseLink {...props} className={styles.link} external />;
8
8
  }
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
1
  {
2
2
  "name": "@teambit/mdx.ui.docs.link",
3
- "version": "0.0.486",
3
+ "version": "0.0.489",
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.486"
9
+ "version": "0.0.489"
10
10
  },
11
11
  "dependencies": {
12
12
  "core-js": "^3.0.0",
13
- "@teambit/base-ui.routing.link": "1.0.0"
13
+ "@teambit/base-react.navigation.link": "2.0.27"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/react": "^17.0.8",
17
17
  "@testing-library/react": "11.2.6",
18
18
  "chai": "4.3.0",
19
19
  "@types/chai": "4.2.15",
20
- "@types/mocha": "5.2.7",
20
+ "@types/mocha": "9.1.0",
21
21
  "@types/testing-library__jest-dom": "5.9.5",
22
22
  "@babel/runtime": "7.12.18",
23
23
  "@types/jest": "^26.0.0",
24
24
  "@types/react-dom": "^17.0.5",
25
25
  "@types/node": "12.20.4",
26
- "@teambit/documenter.theme.theme-compositions": "2.0.3"
26
+ "@teambit/documenter.theme.theme-compositions": "4.1.1"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react-dom": "^16.8.0 || ^17.0.0",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@teambit/legacy": "-",
45
- "@types/mocha": "5.2.7",
45
+ "@types/mocha": "9.1.0",
46
46
  "@types/testing-library__jest-dom": "5.9.5",
47
47
  "@babel/runtime": "7.12.18",
48
48
  "@types/jest": "^26.0.0",
@@ -0,0 +1,2 @@
1
+ export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_ui_docs_link@0.0.489/dist/link.composition.js')]
2
+ export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_ui_docs_link@0.0.489/dist/link.docs.md')]
package/tsconfig.json CHANGED
@@ -7,13 +7,14 @@
7
7
  "DOM.Iterable"
8
8
  ],
9
9
  "target": "es2015",
10
- "module": "commonjs",
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,