@os-design/core
Advanced tools
Comparing version 0.0.34 to 0.0.35
@@ -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 |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
155757
1924