Socket
Socket
Sign inDemoInstall

@os-design/core

Package Overview
Dependencies
Maintainers
1
Versions
478
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@os-design/core - npm Package Compare versions

Comparing version 0.0.34 to 0.0.35

15

lib/Link/index.d.ts

@@ -10,17 +10,4 @@ import { BaseProps } from '@os-design/styled';

}
declare const Link: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, LinkProps, {
colorPrimary: string;
colorBorder: string;
colorPlaceholder: string;
fontSize: number[];
sizing: {
small: number;
medium: number;
large: number;
};
baseHeight: number;
borderRadius: number;
transitionDelay: number;
}>;
declare const Link: React.FC<LinkProps>;
export default Link;
//# sourceMappingURL=index.d.ts.map

4

lib/Link/index.js

@@ -8,2 +8,3 @@ "use strict";

const utils_1 = require("@os-design/utils");
const react_1 = __importDefault(require("react"));
const core_1 = require("@emotion/core");

@@ -61,3 +62,3 @@ const color = (p) => !p.darkMode && core_1.css `

`;
const Link = styled_1.default('a', utils_1.omitProps(['darkMode', 'sizing', 'underline'])) `
const StyledLink = styled_1.default('a', utils_1.omitProps(['darkMode', 'sizing', 'underline'])) `
cursor: pointer;

@@ -74,3 +75,4 @@ text-decoration: none;

`;
const Link = props => react_1.default.createElement(StyledLink, Object.assign({}, props));
exports.default = Link;
//# sourceMappingURL=index.js.map
{
"name": "@os-design/core",
"version": "0.0.34",
"version": "0.0.35",
"license": "MIT",

@@ -32,3 +32,3 @@ "main": "lib/index.js",

},
"gitHead": "a4a9eb696dfeee9cf2453ebff530b0b813f6815c"
"gitHead": "0c23115da5e94b61c0dde42c8cb3a1bb3ec6f10d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc