@hixme-ui/theme
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -31,3 +31,3 @@ 'use strict'; | ||
var _templateObject = (0, _taggedTemplateLiteral3.default)(['\n@import \'~normalize.css/normalize\';\n\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-SemiboldItalic.eot\');\n src: url(\'fonts/SFProText/SFProText-SemiboldItalic.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-SemiboldItalic.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-SemiboldItalic.woff\') format("woff"), url(\'fonts/SFProText/SFProText-SemiboldItalic.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-SemiboldItalic.svg#SFProText-SemiboldItalic\') format("svg");\n font-weight: 600;\n font-style: italic;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-HeavyItalic.eot\');\n src: url(\'fonts/SFProText/SFProText-HeavyItalic.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-HeavyItalic.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-HeavyItalic.woff\') format("woff"), url(\'fonts/SFProText/SFProText-HeavyItalic.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-HeavyItalic.svg#SFProText-HeavyItalic\') format("svg");\n font-weight: 900;\n font-style: italic;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-RegularItalic.eot\');\n src: url(\'fonts/SFProText/SFProText-RegularItalic.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-RegularItalic.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-RegularItalic.woff\') format("woff"), url(\'fonts/SFProText/SFProText-RegularItalic.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-RegularItalic.svg#SFProText-RegularItalic\') format("svg");\n font-weight: normal;\n font-style: italic;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Bold.eot\');\n src: url(\'fonts/SFProText/SFProText-Bold.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Bold.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Bold.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Bold.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Bold.svg#SFProText-Bold\') format("svg");\n font-weight: bold;\n font-style: normal;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Medium.eot\');\n src: url(\'fonts/SFProText/SFProText-Medium.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Medium.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Medium.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Medium.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Medium.svg#SFProText-Medium\') format("svg");\n font-weight: 500;\n font-style: normal;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Heavy.eot\');\n src: url(\'fonts/SFProText/SFProText-Heavy.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Heavy.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Heavy.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Heavy.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Heavy.svg#SFProText-Heavy\') format("svg");\n font-weight: 900;\n font-style: normal;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Regular.eot\');\n src: url(\'fonts/SFProText/SFProText-Regular.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Regular.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Regular.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Regular.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Regular.svg#SFProText-Regular\') format("svg");\n font-weight: normal;\n font-style: normal;\n}\n\nhtml {\n box-sizing: border-box;\n}\n\nhtml,\nbody {\n margin: 0;\n padding: 0;\n height: 100%;\n font-family: "SF Pro Display", "Arial", "sans-serif";\n font-size: 14px;\n color: #3A4951;\n line-height: 1.42857143;\n}\n\n*,\n*:before,\n*:after {\n box-sizing: inherit;\n}\n\na {\n text-decoration: none;\n}\n '], ['\n@import \'~normalize.css/normalize\';\n\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-SemiboldItalic.eot\');\n src: url(\'fonts/SFProText/SFProText-SemiboldItalic.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-SemiboldItalic.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-SemiboldItalic.woff\') format("woff"), url(\'fonts/SFProText/SFProText-SemiboldItalic.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-SemiboldItalic.svg#SFProText-SemiboldItalic\') format("svg");\n font-weight: 600;\n font-style: italic;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-HeavyItalic.eot\');\n src: url(\'fonts/SFProText/SFProText-HeavyItalic.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-HeavyItalic.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-HeavyItalic.woff\') format("woff"), url(\'fonts/SFProText/SFProText-HeavyItalic.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-HeavyItalic.svg#SFProText-HeavyItalic\') format("svg");\n font-weight: 900;\n font-style: italic;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-RegularItalic.eot\');\n src: url(\'fonts/SFProText/SFProText-RegularItalic.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-RegularItalic.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-RegularItalic.woff\') format("woff"), url(\'fonts/SFProText/SFProText-RegularItalic.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-RegularItalic.svg#SFProText-RegularItalic\') format("svg");\n font-weight: normal;\n font-style: italic;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Bold.eot\');\n src: url(\'fonts/SFProText/SFProText-Bold.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Bold.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Bold.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Bold.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Bold.svg#SFProText-Bold\') format("svg");\n font-weight: bold;\n font-style: normal;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Medium.eot\');\n src: url(\'fonts/SFProText/SFProText-Medium.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Medium.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Medium.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Medium.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Medium.svg#SFProText-Medium\') format("svg");\n font-weight: 500;\n font-style: normal;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Heavy.eot\');\n src: url(\'fonts/SFProText/SFProText-Heavy.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Heavy.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Heavy.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Heavy.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Heavy.svg#SFProText-Heavy\') format("svg");\n font-weight: 900;\n font-style: normal;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Regular.eot\');\n src: url(\'fonts/SFProText/SFProText-Regular.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Regular.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Regular.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Regular.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Regular.svg#SFProText-Regular\') format("svg");\n font-weight: normal;\n font-style: normal;\n}\n\nhtml {\n box-sizing: border-box;\n}\n\nhtml,\nbody {\n margin: 0;\n padding: 0;\n height: 100%;\n font-family: "SF Pro Display", "Arial", "sans-serif";\n font-size: 14px;\n color: #3A4951;\n line-height: 1.42857143;\n}\n\n*,\n*:before,\n*:after {\n box-sizing: inherit;\n}\n\na {\n text-decoration: none;\n}\n ']); /* eslint-disable no-unused-expressions, max-len */ | ||
var _templateObject = (0, _taggedTemplateLiteral3.default)(['\n@import \'~normalize.css/normalize\';\n\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-SemiboldItalic.eot\');\n src: url(\'fonts/SFProText/SFProText-SemiboldItalic.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-SemiboldItalic.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-SemiboldItalic.woff\') format("woff"), url(\'fonts/SFProText/SFProText-SemiboldItalic.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-SemiboldItalic.svg#SFProText-SemiboldItalic\') format("svg");\n font-weight: 600;\n font-style: italic;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-HeavyItalic.eot\');\n src: url(\'fonts/SFProText/SFProText-HeavyItalic.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-HeavyItalic.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-HeavyItalic.woff\') format("woff"), url(\'fonts/SFProText/SFProText-HeavyItalic.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-HeavyItalic.svg#SFProText-HeavyItalic\') format("svg");\n font-weight: 900;\n font-style: italic;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-RegularItalic.eot\');\n src: url(\'fonts/SFProText/SFProText-RegularItalic.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-RegularItalic.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-RegularItalic.woff\') format("woff"), url(\'fonts/SFProText/SFProText-RegularItalic.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-RegularItalic.svg#SFProText-RegularItalic\') format("svg");\n font-weight: normal;\n font-style: italic;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Bold.eot\');\n src: url(\'fonts/SFProText/SFProText-Bold.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Bold.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Bold.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Bold.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Bold.svg#SFProText-Bold\') format("svg");\n font-weight: bold;\n font-style: normal;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Medium.eot\');\n src: url(\'fonts/SFProText/SFProText-Medium.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Medium.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Medium.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Medium.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Medium.svg#SFProText-Medium\') format("svg");\n font-weight: 500;\n font-style: normal;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Heavy.eot\');\n src: url(\'fonts/SFProText/SFProText-Heavy.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Heavy.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Heavy.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Heavy.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Heavy.svg#SFProText-Heavy\') format("svg");\n font-weight: 900;\n font-style: normal;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Regular.eot\');\n src: url(\'fonts/SFProText/SFProText-Regular.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Regular.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Regular.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Regular.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Regular.svg#SFProText-Regular\') format("svg");\n font-weight: normal;\n font-style: normal;\n}\n\nhtml {\n box-sizing: border-box;\n}\n\nhtml,\nbody {\n margin: 0;\n padding: 0;\n height: 100%;\n font-family: "SF Pro Display", "Arial", "sans-serif";\n font-size: 14px;\n color: #3A4951;\n line-height: 1.42857143;\n}\n\n*,\n*:before,\n*:after {\n box-sizing: inherit;\n}\n\na {\n text-decoration: none;\n}\n '], ['\n@import \'~normalize.css/normalize\';\n\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-SemiboldItalic.eot\');\n src: url(\'fonts/SFProText/SFProText-SemiboldItalic.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-SemiboldItalic.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-SemiboldItalic.woff\') format("woff"), url(\'fonts/SFProText/SFProText-SemiboldItalic.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-SemiboldItalic.svg#SFProText-SemiboldItalic\') format("svg");\n font-weight: 600;\n font-style: italic;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-HeavyItalic.eot\');\n src: url(\'fonts/SFProText/SFProText-HeavyItalic.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-HeavyItalic.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-HeavyItalic.woff\') format("woff"), url(\'fonts/SFProText/SFProText-HeavyItalic.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-HeavyItalic.svg#SFProText-HeavyItalic\') format("svg");\n font-weight: 900;\n font-style: italic;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-RegularItalic.eot\');\n src: url(\'fonts/SFProText/SFProText-RegularItalic.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-RegularItalic.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-RegularItalic.woff\') format("woff"), url(\'fonts/SFProText/SFProText-RegularItalic.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-RegularItalic.svg#SFProText-RegularItalic\') format("svg");\n font-weight: normal;\n font-style: italic;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Bold.eot\');\n src: url(\'fonts/SFProText/SFProText-Bold.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Bold.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Bold.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Bold.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Bold.svg#SFProText-Bold\') format("svg");\n font-weight: bold;\n font-style: normal;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Medium.eot\');\n src: url(\'fonts/SFProText/SFProText-Medium.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Medium.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Medium.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Medium.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Medium.svg#SFProText-Medium\') format("svg");\n font-weight: 500;\n font-style: normal;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Heavy.eot\');\n src: url(\'fonts/SFProText/SFProText-Heavy.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Heavy.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Heavy.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Heavy.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Heavy.svg#SFProText-Heavy\') format("svg");\n font-weight: 900;\n font-style: normal;\n}\n@font-face {\n font-family: "SF Pro Text";\n src: url(\'fonts/SFProText/SFProText-Regular.eot\');\n src: url(\'fonts/SFProText/SFProText-Regular.eot?#iefix\') format("embedded-opentype"), url(\'fonts/SFProText/SFProText-Regular.woff2\') format("woff2"), url(\'fonts/SFProText/SFProText-Regular.woff\') format("woff"), url(\'fonts/SFProText/SFProText-Regular.ttf\') format("truetype"), url(\'fonts/SFProText/SFProText-Regular.svg#SFProText-Regular\') format("svg");\n font-weight: normal;\n font-style: normal;\n}\n\nhtml {\n box-sizing: border-box;\n}\n\nhtml,\nbody {\n margin: 0;\n padding: 0;\n height: 100%;\n font-family: "SF Pro Display", "Arial", "sans-serif";\n font-size: 14px;\n color: #3A4951;\n line-height: 1.42857143;\n}\n\n*,\n*:before,\n*:after {\n box-sizing: inherit;\n}\n\na {\n text-decoration: none;\n}\n ']); /* eslint-disable no-unused-expressions, max-len, camelcase, class-methods-use-this */ | ||
@@ -56,4 +56,4 @@ | ||
(0, _createClass3.default)(GlobalStylesContainer, [{ | ||
key: 'componentWillMount', | ||
value: function componentWillMount() { | ||
key: 'UNSAFE_componentWillMount', | ||
value: function UNSAFE_componentWillMount() { | ||
(0, _styledComponents.injectGlobal)(_templateObject); | ||
@@ -60,0 +60,0 @@ } |
{ | ||
"name": "@hixme-ui/theme", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "hixme-ui theme", | ||
@@ -85,5 +85,5 @@ "main": "lib/index.js", | ||
"prop-types": "^15.6.0", | ||
"react": "~15 || ~16" | ||
"react": "~15 || ~16 || ~17" | ||
}, | ||
"gitHead": "2214195647bb37835500f0e57a9115ef81b93898" | ||
"gitHead": "dffadfa1556246f46edfb077a8ddb58b89beaf48" | ||
} |
@@ -1,2 +0,2 @@ | ||
/* eslint-disable no-unused-expressions, max-len */ | ||
/* eslint-disable no-unused-expressions, max-len, camelcase, class-methods-use-this */ | ||
import React from 'react' | ||
@@ -7,3 +7,3 @@ import PropTypes from 'prop-types' | ||
export default class GlobalStylesContainer extends React.Component { | ||
componentWillMount() { | ||
UNSAFE_componentWillMount() { | ||
injectGlobal` | ||
@@ -10,0 +10,0 @@ @import '~normalize.css/normalize'; |
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
47853