@teambit/ui-foundation.ui.use-box.bit-info
Advanced tools
Comparing version 0.0.128 to 0.0.129
@@ -1,2 +0,1 @@ | ||
import React from 'react'; | ||
export declare const BitInfoExample: () => React.JSX.Element; | ||
export declare const BitInfoExample: () => import("react/jsx-runtime").JSX.Element; |
@@ -1,13 +0,6 @@ | ||
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
import { BitInfo } from './bit-info'; | ||
export const BitInfoExample = () => { | ||
return _jsx(BitInfo, {}); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BitInfoExample = void 0; | ||
const react_1 = __importDefault(require("react")); | ||
const bit_info_1 = require("./bit-info"); | ||
const BitInfoExample = () => { | ||
return react_1.default.createElement(bit_info_1.BitInfo, null); | ||
}; | ||
exports.BitInfoExample = BitInfoExample; | ||
//# sourceMappingURL=bit-info.compositions.js.map |
import React from 'react'; | ||
export declare type BitInfoProps = {} & React.HTMLAttributes<HTMLDivElement>; | ||
export declare function BitInfo({ ...rest }: BitInfoProps): React.JSX.Element; | ||
export type BitInfoProps = {} & React.HTMLAttributes<HTMLDivElement>; | ||
export declare function BitInfo({ ...rest }: BitInfoProps): import("react/jsx-runtime").JSX.Element; |
@@ -1,36 +0,12 @@ | ||
"use strict"; | ||
var __rest = (this && this.__rest) || function (s, e) { | ||
var t = {}; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) | ||
t[p] = s[p]; | ||
if (s != null && typeof Object.getOwnPropertySymbols === "function") | ||
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { | ||
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) | ||
t[p[i]] = s[p[i]]; | ||
} | ||
return t; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BitInfo = void 0; | ||
const react_1 = __importDefault(require("react")); | ||
const evangelist_elements_icon_1 = require("@teambit/evangelist.elements.icon"); | ||
const documenter_content_documentation_links_1 = require("@teambit/documenter.content.documentation-links"); | ||
const documenter_ui_copy_box_1 = require("@teambit/documenter.ui.copy-box"); | ||
const ui_foundation_ui_use_box_tab_content_1 = require("@teambit/ui-foundation.ui.use-box.tab-content"); | ||
const base_react_navigation_link_1 = require("@teambit/base-react.navigation.link"); | ||
const ui_foundation_ui_use_box_bottom_link_1 = require("@teambit/ui-foundation.ui.use-box.bottom-link"); | ||
const bit_info_module_scss_1 = __importDefault(require("./bit-info.module.scss")); | ||
function BitInfo(_a) { | ||
var rest = __rest(_a, []); | ||
return (react_1.default.createElement("div", Object.assign({}, rest), | ||
react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent, { className: bit_info_module_scss_1.default.moreInfo, bottom: react_1.default.createElement(base_react_navigation_link_1.Link, { external: true, href: documenter_content_documentation_links_1.links.installBit, className: ui_foundation_ui_use_box_bottom_link_1.linkStyles }, | ||
react_1.default.createElement(evangelist_elements_icon_1.Icon, { of: "information-sign" }), | ||
react_1.default.createElement("span", null, "Learn more")) }, | ||
react_1.default.createElement("div", null, "Install bit"), | ||
react_1.default.createElement(documenter_ui_copy_box_1.CopyBox, null, "npx @teambit/bvm install")))); | ||
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; | ||
import { Icon } from '@teambit/evangelist.elements.icon'; | ||
import { links } from '@teambit/documenter.content.documentation-links'; | ||
import { CopyBox } from '@teambit/documenter.ui.copy-box'; | ||
import { TabContent } from '@teambit/ui-foundation.ui.use-box.tab-content'; | ||
import { Link } from '@teambit/base-react.navigation.link'; | ||
import { linkStyles } from '@teambit/ui-foundation.ui.use-box.bottom-link'; | ||
import styles from './bit-info.module.scss'; | ||
export function BitInfo({ ...rest }) { | ||
return (_jsx("div", { ...rest, children: _jsxs(TabContent, { className: styles.moreInfo, bottom: _jsxs(Link, { external: true, href: links.installBit, className: linkStyles, children: [_jsx(Icon, { of: "information-sign" }), _jsx("span", { children: "Learn more" })] }), children: [_jsx("div", { children: "Install bit" }), _jsx(CopyBox, { children: "npx @teambit/bvm install" })] }) })); | ||
} | ||
exports.BitInfo = BitInfo; | ||
//# sourceMappingURL=bit-info.js.map |
@@ -1,6 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BitInfo = void 0; | ||
var bit_info_1 = require("./bit-info"); | ||
Object.defineProperty(exports, "BitInfo", { enumerable: true, get: function () { return bit_info_1.BitInfo; } }); | ||
export { BitInfo } from './bit-info'; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"compilerOptions": { | ||
"lib": [ | ||
"es2019", | ||
"DOM", | ||
"ES6", | ||
"DOM.Iterable" | ||
"esnext", | ||
"dom", | ||
"dom.Iterable" | ||
], | ||
"target": "es2015", | ||
"module": "CommonJS", | ||
"jsx": "react", | ||
"allowJs": true, | ||
"composite": true, | ||
"target": "es2020", | ||
"module": "es2020", | ||
"jsx": "react-jsx", | ||
"declaration": true, | ||
"sourceMap": true, | ||
"experimentalDecorators": true, | ||
"skipLibCheck": true, | ||
"experimentalDecorators": true, | ||
"outDir": "dist", | ||
"moduleResolution": "node", | ||
"esModuleInterop": true, | ||
"rootDir": ".", | ||
"resolveJsonModule": true | ||
"resolveJsonModule": true, | ||
"allowJs": true, | ||
"outDir": "dist", | ||
"strict": true, | ||
"emitDecoratorMetadata": true, | ||
"preserveConstEnums": true, | ||
"strictPropertyInitialization": false, | ||
"noImplicitAny": false | ||
}, | ||
"exclude": [ | ||
"artifacts", | ||
"public", | ||
"dist", | ||
"package.json" | ||
"node_modules", | ||
"package.json", | ||
"**/*.cjs", | ||
"./dist" | ||
], | ||
@@ -28,0 +35,0 @@ "include": [ |
{ | ||
"name": "@teambit/ui-foundation.ui.use-box.bit-info", | ||
"version": "0.0.128", | ||
"version": "0.0.129", | ||
"homepage": "https://bit.cloud/teambit/ui-foundation/ui/use-box/bit-info", | ||
@@ -9,7 +9,5 @@ "main": "dist/index.js", | ||
"name": "ui/use-box/bit-info", | ||
"version": "0.0.128" | ||
"version": "0.0.129" | ||
}, | ||
"dependencies": { | ||
"core-js": "^3.0.0", | ||
"@teambit/base-react.navigation.link": "2.0.27", | ||
"@teambit/documenter.content.documentation-links": "4.1.3", | ||
@@ -22,15 +20,12 @@ "@teambit/documenter.ui.copy-box": "4.1.17", | ||
"devDependencies": { | ||
"@types/react": "^17.0.8", | ||
"@types/mocha": "9.1.0", | ||
"@types/node": "12.20.4", | ||
"@types/react-dom": "^17.0.5", | ||
"@types/jest": "^26.0.0", | ||
"@babel/runtime": "7.23.2", | ||
"@types/testing-library__jest-dom": "5.9.5" | ||
"@teambit/react.v17.react-env": "1.1.17" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0", | ||
"react-dom": "^16.8.0 || ^17.0.0" | ||
"@teambit/base-react.navigation.link": "^2.0.31" | ||
}, | ||
"license": "Apache-2.0", | ||
"optionalDependencies": {}, | ||
"peerDependenciesMeta": {}, | ||
"private": false, | ||
@@ -54,2 +49,2 @@ "engines": { | ||
] | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
7
2
9790
22
216
2
- Removedcore-js@^3.0.0