@os-design/website
Advanced tools
Comparing version 0.0.46 to 0.0.47
@@ -7,4 +7,8 @@ "use strict"; | ||
const react_1 = __importDefault(require("react")); | ||
const styled_1 = __importDefault(require("@os-design/styled")); | ||
const year = new Date().getFullYear(); | ||
const Copyright = () => (react_1.default.createElement("div", null, | ||
const CopyrightContainer = styled_1.default.div ` | ||
opacity: 0.7; | ||
`; | ||
const Copyright = () => (react_1.default.createElement(CopyrightContainer, null, | ||
"Copyright \u00A9\u00A0", | ||
@@ -11,0 +15,0 @@ year)); |
@@ -1,21 +0,7 @@ | ||
/// <reference types="react" /> | ||
/// <reference types="@emotion/core" /> | ||
import React from 'react'; | ||
interface FooterCompanyInfoProps { | ||
hasNavigation?: boolean; | ||
} | ||
declare const FooterCompanyInfo: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FooterCompanyInfoProps, { | ||
colorPrimary: string; | ||
colorBorder: string; | ||
colorPlaceholder: string; | ||
fontSize: number[]; | ||
sizing: { | ||
small: number; | ||
medium: number; | ||
large: number; | ||
}; | ||
baseHeight: number; | ||
borderRadius: number; | ||
transitionDelay: number; | ||
}>; | ||
declare const FooterCompanyInfo: React.FC<FooterCompanyInfoProps>; | ||
export default FooterCompanyInfo; | ||
//# sourceMappingURL=FooterCompanyInfo.d.ts.map |
@@ -9,13 +9,8 @@ "use strict"; | ||
const styled_1 = __importDefault(require("@os-design/styled")); | ||
const maringBottom = core_1.css ` | ||
& > * { | ||
display: block; | ||
opacity: 0.7; | ||
&:not(:last-child) { | ||
margin-bottom: 0.3em; | ||
} | ||
} | ||
`; | ||
const react_1 = __importDefault(require("react")); | ||
const resetUl_1 = __importDefault(require("../utils/resetUl")); | ||
const responsive = (p) => p.hasNavigation && core_1.css ` | ||
justify-self: start; | ||
text-align: left; | ||
${utils_1.m.md} { | ||
@@ -26,10 +21,10 @@ justify-self: end; | ||
`; | ||
const FooterCompanyInfo = styled_1.default('div', utils_1.omitProps(['hasNavigation'])) ` | ||
const FooterCompanyInfoContainer = styled_1.default('ul', utils_1.omitProps(['hasNavigation'])) ` | ||
grid-area: company-info; | ||
justify-self: start; | ||
${maringBottom}; | ||
${resetUl_1.default}; | ||
${responsive}; | ||
`; | ||
const FooterCompanyInfo = props => (react_1.default.createElement(FooterCompanyInfoContainer, { hasNavigation: props.hasNavigation }, react_1.default.Children.map(props.children, child => react_1.default.createElement("li", null, child)))); | ||
exports.default = FooterCompanyInfo; | ||
//# sourceMappingURL=FooterCompanyInfo.js.map |
{ | ||
"name": "@os-design/website", | ||
"version": "0.0.46", | ||
"version": "0.0.47", | ||
"license": "MIT", | ||
@@ -34,3 +34,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "05f8204961708652aabda6ef3d523628e5b0a769" | ||
"gitHead": "a74103bcb78161ed5deed6a90067eca0767d7386" | ||
} |
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
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
87068
1196