@arcteryx/components-typography
Advanced tools
Comparing version 1.27.8 to 1.27.9
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.27.9](https://bitbucket.org/arcteryx/arcteryx-js-helpers/compare/@arcteryx/components-typography@1.27.5...@arcteryx/components-typography@1.27.9) (2020-02-06) | ||
**Note:** Version bump only for package @arcteryx/components-typography | ||
## [1.27.8](https://bitbucket.org/arcteryx/arcteryx-js-helpers/compare/@arcteryx/components-typography@1.27.5...@arcteryx/components-typography@1.27.8) (2020-02-06) | ||
@@ -8,0 +16,0 @@ |
@@ -1,8 +0,10 @@ | ||
'use strict'; | ||
"use strict"; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
function _interopDefault(ex) { | ||
return ex && typeof ex === "object" && "default" in ex ? ex["default"] : ex; | ||
} | ||
var styled = _interopDefault(require('styled-components')); | ||
var styled = _interopDefault(require("styled-components")); | ||
@@ -14,11 +16,19 @@ function _taggedTemplateLiteral(strings, raw) { | ||
return Object.freeze(Object.defineProperties(strings, { | ||
raw: { | ||
value: Object.freeze(raw) | ||
} | ||
})); | ||
return Object.freeze( | ||
Object.defineProperties(strings, { | ||
raw: { | ||
value: Object.freeze(raw), | ||
}, | ||
}) | ||
); | ||
} | ||
function _templateObject() { | ||
var data = _taggedTemplateLiteral(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n margin-bottom: 0.5em;\n line-height: ", ";\n text-transform: uppercase;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
"\n font-family: ", | ||
";\n font-size: ", | ||
";\n font-weight: ", | ||
";\n margin-bottom: 0.5em;\n line-height: ", | ||
";\n text-transform: uppercase;\n", | ||
]); | ||
@@ -44,18 +54,30 @@ _templateObject = function _templateObject() { | ||
var H1 = styled.h1(_templateObject(), function (props) { | ||
return props.large ? "\"Avenir LT W01 95 Black\", arial, sans-serif" : "\"Avenir LT W01 85 Heavy\", arial, sans-serif"; | ||
}, function (props) { | ||
return fontSize(props.large, props.loud); | ||
}, function (props) { | ||
return props.large ? "700" : "normal"; | ||
}, function (props) { | ||
return props.large ? "1.0em" : "1.1em"; | ||
}); | ||
var H1 = styled.h1( | ||
_templateObject(), | ||
function(props) { | ||
return props.large ? '"Avenir LT W01 95 Black", arial, sans-serif' : '"Avenir LT W01 85 Heavy", arial, sans-serif'; | ||
}, | ||
function(props) { | ||
return fontSize(props.large, props.loud); | ||
}, | ||
function(props) { | ||
return props.large ? "700" : "normal"; | ||
}, | ||
function(props) { | ||
return props.large ? "1.0em" : "1.1em"; | ||
} | ||
); | ||
H1.defaultProps = { | ||
large: false, | ||
loud: false | ||
loud: false, | ||
}; | ||
function _templateObject$1() { | ||
var data = _taggedTemplateLiteral(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n text-transform: uppercase;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
"\n font-family: ", | ||
";\n font-size: ", | ||
";\n font-weight: ", | ||
";\n line-height: ", | ||
";\n text-transform: uppercase;\n", | ||
]); | ||
@@ -68,17 +90,29 @@ _templateObject$1 = function _templateObject() { | ||
} | ||
var H2 = styled.h2(_templateObject$1(), function (props) { | ||
return props.large ? "\"Avenir LT W01 95 Black\", arial, sans-serif" : "\"Avenir LT W01 85 Heavy\", arial, sans-serif"; | ||
}, function (props) { | ||
return props.large ? "22px" : "18px"; | ||
}, function (props) { | ||
return props.large ? "700" : "normal"; | ||
}, function (props) { | ||
return props.large ? "1em" : "1.1em"; | ||
}); | ||
var H2 = styled.h2( | ||
_templateObject$1(), | ||
function(props) { | ||
return props.large ? '"Avenir LT W01 95 Black", arial, sans-serif' : '"Avenir LT W01 85 Heavy", arial, sans-serif'; | ||
}, | ||
function(props) { | ||
return props.large ? "22px" : "18px"; | ||
}, | ||
function(props) { | ||
return props.large ? "700" : "normal"; | ||
}, | ||
function(props) { | ||
return props.large ? "1em" : "1.1em"; | ||
} | ||
); | ||
H2.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
function _templateObject$2() { | ||
var data = _taggedTemplateLiteral(["\n font-family: ", ";\n color: \"red\";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n text-transform: uppercase;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
"\n font-family: ", | ||
';\n color: "red";\n font-size: ', | ||
";\n font-weight: ", | ||
";\n line-height: ", | ||
";\n text-transform: uppercase;\n", | ||
]); | ||
@@ -91,17 +125,29 @@ _templateObject$2 = function _templateObject() { | ||
} | ||
var H3 = styled.h3(_templateObject$2(), function (props) { | ||
return props.large ? "\"Avenir LT W01 95 Black\", arial, sans-serif" : "\"Avenir LT W01 85 Heavy\", arial, sans-serif"; | ||
}, function (props) { | ||
return props.large ? "18px" : "16px"; | ||
}, function (props) { | ||
return props.large ? "700" : "normal"; | ||
}, function (props) { | ||
return props.large ? "1em" : "1.1em"; | ||
}); | ||
var H3 = styled.h3( | ||
_templateObject$2(), | ||
function(props) { | ||
return props.large ? '"Avenir LT W01 95 Black", arial, sans-serif' : '"Avenir LT W01 85 Heavy", arial, sans-serif'; | ||
}, | ||
function(props) { | ||
return props.large ? "18px" : "16px"; | ||
}, | ||
function(props) { | ||
return props.large ? "700" : "normal"; | ||
}, | ||
function(props) { | ||
return props.large ? "1em" : "1.1em"; | ||
} | ||
); | ||
H3.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
function _templateObject$3() { | ||
var data = _taggedTemplateLiteral(["\n font-family: ", ";\n color: \"red\";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n text-transform: uppercase;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
"\n font-family: ", | ||
';\n color: "red";\n font-size: ', | ||
";\n font-weight: ", | ||
";\n line-height: ", | ||
";\n text-transform: uppercase;\n", | ||
]); | ||
@@ -114,17 +160,25 @@ _templateObject$3 = function _templateObject() { | ||
} | ||
var H4 = styled.h4(_templateObject$3(), function (props) { | ||
return props.large ? "\"Avenir LT W01 95 Black\", arial, sans-serif" : "\"Avenir LT W01 85 Heavy\", arial, sans-serif"; | ||
}, function (props) { | ||
return props.large ? "16px" : "15px"; | ||
}, function (props) { | ||
return props.large ? "700" : "normal"; | ||
}, function (props) { | ||
return props.large ? "1em" : "1.1em"; | ||
}); | ||
var H4 = styled.h4( | ||
_templateObject$3(), | ||
function(props) { | ||
return props.large ? '"Avenir LT W01 95 Black", arial, sans-serif' : '"Avenir LT W01 85 Heavy", arial, sans-serif'; | ||
}, | ||
function(props) { | ||
return props.large ? "16px" : "15px"; | ||
}, | ||
function(props) { | ||
return props.large ? "700" : "normal"; | ||
}, | ||
function(props) { | ||
return props.large ? "1em" : "1.1em"; | ||
} | ||
); | ||
H4.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
function _templateObject$4() { | ||
var data = _taggedTemplateLiteral(["\n font-family: \"Avenir LT W01 55 Roman\", arial, sans-serif;\n font-size: 15px;\n line-height: 1.5em;\n margin: 0 0 1em 0;\n max-width: 650px;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
'\n font-family: "Avenir LT W01 55 Roman", arial, sans-serif;\n font-size: 15px;\n line-height: 1.5em;\n margin: 0 0 1em 0;\n max-width: 650px;\n', | ||
]); | ||
@@ -139,7 +193,9 @@ _templateObject$4 = function _templateObject() { | ||
P.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
function _templateObject$5() { | ||
var data = _taggedTemplateLiteral(["\n font-family: \"AvenirLTW01-55Oblique\", arial, sans-serif;\n font-size: 16px;\n font-style: italic;\n line-height: 1.4em;\n padding: 15px;\n margin: 0;\n max-width: 650px;\n align-self: center;\n background: url(\"https://images.arcteryx.com/misc/quotation-marks-left.png\") no-repeat;\n background-size: 46px;\n margin-bottom: 1em;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
'\n font-family: "AvenirLTW01-55Oblique", arial, sans-serif;\n font-size: 16px;\n font-style: italic;\n line-height: 1.4em;\n padding: 15px;\n margin: 0;\n max-width: 650px;\n align-self: center;\n background: url("https://images.arcteryx.com/misc/quotation-marks-left.png") no-repeat;\n background-size: 46px;\n margin-bottom: 1em;\n', | ||
]); | ||
@@ -154,3 +210,3 @@ _templateObject$5 = function _templateObject() { | ||
Blockquote.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
@@ -157,0 +213,0 @@ |
@@ -1,2 +0,2 @@ | ||
import styled from 'styled-components'; | ||
import styled from "styled-components"; | ||
@@ -8,11 +8,19 @@ function _taggedTemplateLiteral(strings, raw) { | ||
return Object.freeze(Object.defineProperties(strings, { | ||
raw: { | ||
value: Object.freeze(raw) | ||
} | ||
})); | ||
return Object.freeze( | ||
Object.defineProperties(strings, { | ||
raw: { | ||
value: Object.freeze(raw), | ||
}, | ||
}) | ||
); | ||
} | ||
function _templateObject() { | ||
var data = _taggedTemplateLiteral(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n margin-bottom: 0.5em;\n line-height: ", ";\n text-transform: uppercase;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
"\n font-family: ", | ||
";\n font-size: ", | ||
";\n font-weight: ", | ||
";\n margin-bottom: 0.5em;\n line-height: ", | ||
";\n text-transform: uppercase;\n", | ||
]); | ||
@@ -38,18 +46,30 @@ _templateObject = function _templateObject() { | ||
var H1 = styled.h1(_templateObject(), function (props) { | ||
return props.large ? "\"Avenir LT W01 95 Black\", arial, sans-serif" : "\"Avenir LT W01 85 Heavy\", arial, sans-serif"; | ||
}, function (props) { | ||
return fontSize(props.large, props.loud); | ||
}, function (props) { | ||
return props.large ? "700" : "normal"; | ||
}, function (props) { | ||
return props.large ? "1.0em" : "1.1em"; | ||
}); | ||
var H1 = styled.h1( | ||
_templateObject(), | ||
function(props) { | ||
return props.large ? '"Avenir LT W01 95 Black", arial, sans-serif' : '"Avenir LT W01 85 Heavy", arial, sans-serif'; | ||
}, | ||
function(props) { | ||
return fontSize(props.large, props.loud); | ||
}, | ||
function(props) { | ||
return props.large ? "700" : "normal"; | ||
}, | ||
function(props) { | ||
return props.large ? "1.0em" : "1.1em"; | ||
} | ||
); | ||
H1.defaultProps = { | ||
large: false, | ||
loud: false | ||
loud: false, | ||
}; | ||
function _templateObject$1() { | ||
var data = _taggedTemplateLiteral(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n text-transform: uppercase;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
"\n font-family: ", | ||
";\n font-size: ", | ||
";\n font-weight: ", | ||
";\n line-height: ", | ||
";\n text-transform: uppercase;\n", | ||
]); | ||
@@ -62,17 +82,29 @@ _templateObject$1 = function _templateObject() { | ||
} | ||
var H2 = styled.h2(_templateObject$1(), function (props) { | ||
return props.large ? "\"Avenir LT W01 95 Black\", arial, sans-serif" : "\"Avenir LT W01 85 Heavy\", arial, sans-serif"; | ||
}, function (props) { | ||
return props.large ? "22px" : "18px"; | ||
}, function (props) { | ||
return props.large ? "700" : "normal"; | ||
}, function (props) { | ||
return props.large ? "1em" : "1.1em"; | ||
}); | ||
var H2 = styled.h2( | ||
_templateObject$1(), | ||
function(props) { | ||
return props.large ? '"Avenir LT W01 95 Black", arial, sans-serif' : '"Avenir LT W01 85 Heavy", arial, sans-serif'; | ||
}, | ||
function(props) { | ||
return props.large ? "22px" : "18px"; | ||
}, | ||
function(props) { | ||
return props.large ? "700" : "normal"; | ||
}, | ||
function(props) { | ||
return props.large ? "1em" : "1.1em"; | ||
} | ||
); | ||
H2.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
function _templateObject$2() { | ||
var data = _taggedTemplateLiteral(["\n font-family: ", ";\n color: \"red\";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n text-transform: uppercase;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
"\n font-family: ", | ||
';\n color: "red";\n font-size: ', | ||
";\n font-weight: ", | ||
";\n line-height: ", | ||
";\n text-transform: uppercase;\n", | ||
]); | ||
@@ -85,17 +117,29 @@ _templateObject$2 = function _templateObject() { | ||
} | ||
var H3 = styled.h3(_templateObject$2(), function (props) { | ||
return props.large ? "\"Avenir LT W01 95 Black\", arial, sans-serif" : "\"Avenir LT W01 85 Heavy\", arial, sans-serif"; | ||
}, function (props) { | ||
return props.large ? "18px" : "16px"; | ||
}, function (props) { | ||
return props.large ? "700" : "normal"; | ||
}, function (props) { | ||
return props.large ? "1em" : "1.1em"; | ||
}); | ||
var H3 = styled.h3( | ||
_templateObject$2(), | ||
function(props) { | ||
return props.large ? '"Avenir LT W01 95 Black", arial, sans-serif' : '"Avenir LT W01 85 Heavy", arial, sans-serif'; | ||
}, | ||
function(props) { | ||
return props.large ? "18px" : "16px"; | ||
}, | ||
function(props) { | ||
return props.large ? "700" : "normal"; | ||
}, | ||
function(props) { | ||
return props.large ? "1em" : "1.1em"; | ||
} | ||
); | ||
H3.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
function _templateObject$3() { | ||
var data = _taggedTemplateLiteral(["\n font-family: ", ";\n color: \"red\";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n text-transform: uppercase;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
"\n font-family: ", | ||
';\n color: "red";\n font-size: ', | ||
";\n font-weight: ", | ||
";\n line-height: ", | ||
";\n text-transform: uppercase;\n", | ||
]); | ||
@@ -108,17 +152,25 @@ _templateObject$3 = function _templateObject() { | ||
} | ||
var H4 = styled.h4(_templateObject$3(), function (props) { | ||
return props.large ? "\"Avenir LT W01 95 Black\", arial, sans-serif" : "\"Avenir LT W01 85 Heavy\", arial, sans-serif"; | ||
}, function (props) { | ||
return props.large ? "16px" : "15px"; | ||
}, function (props) { | ||
return props.large ? "700" : "normal"; | ||
}, function (props) { | ||
return props.large ? "1em" : "1.1em"; | ||
}); | ||
var H4 = styled.h4( | ||
_templateObject$3(), | ||
function(props) { | ||
return props.large ? '"Avenir LT W01 95 Black", arial, sans-serif' : '"Avenir LT W01 85 Heavy", arial, sans-serif'; | ||
}, | ||
function(props) { | ||
return props.large ? "16px" : "15px"; | ||
}, | ||
function(props) { | ||
return props.large ? "700" : "normal"; | ||
}, | ||
function(props) { | ||
return props.large ? "1em" : "1.1em"; | ||
} | ||
); | ||
H4.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
function _templateObject$4() { | ||
var data = _taggedTemplateLiteral(["\n font-family: \"Avenir LT W01 55 Roman\", arial, sans-serif;\n font-size: 15px;\n line-height: 1.5em;\n margin: 0 0 1em 0;\n max-width: 650px;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
'\n font-family: "Avenir LT W01 55 Roman", arial, sans-serif;\n font-size: 15px;\n line-height: 1.5em;\n margin: 0 0 1em 0;\n max-width: 650px;\n', | ||
]); | ||
@@ -133,7 +185,9 @@ _templateObject$4 = function _templateObject() { | ||
P.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
function _templateObject$5() { | ||
var data = _taggedTemplateLiteral(["\n font-family: \"AvenirLTW01-55Oblique\", arial, sans-serif;\n font-size: 16px;\n font-style: italic;\n line-height: 1.4em;\n padding: 15px;\n margin: 0;\n max-width: 650px;\n align-self: center;\n background: url(\"https://images.arcteryx.com/misc/quotation-marks-left.png\") no-repeat;\n background-size: 46px;\n margin-bottom: 1em;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
'\n font-family: "AvenirLTW01-55Oblique", arial, sans-serif;\n font-size: 16px;\n font-style: italic;\n line-height: 1.4em;\n padding: 15px;\n margin: 0;\n max-width: 650px;\n align-self: center;\n background: url("https://images.arcteryx.com/misc/quotation-marks-left.png") no-repeat;\n background-size: 46px;\n margin-bottom: 1em;\n', | ||
]); | ||
@@ -148,3 +202,3 @@ _templateObject$5 = function _templateObject() { | ||
Blockquote.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
@@ -151,0 +205,0 @@ |
@@ -1,8 +0,11 @@ | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('styled-components')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'styled-components'], factory) : | ||
(factory((global.ARCTERYX = {}),global.styled)); | ||
}(this, (function (exports,styled) { 'use strict'; | ||
(function(global, factory) { | ||
typeof exports === "object" && typeof module !== "undefined" | ||
? factory(exports, require("styled-components")) | ||
: typeof define === "function" && define.amd | ||
? define(["exports", "styled-components"], factory) | ||
: factory((global.ARCTERYX = {}), global.styled); | ||
})(this, function(exports, styled) { | ||
"use strict"; | ||
styled = styled && styled.hasOwnProperty('default') ? styled['default'] : styled; | ||
styled = styled && styled.hasOwnProperty("default") ? styled["default"] : styled; | ||
@@ -14,11 +17,19 @@ function _taggedTemplateLiteral(strings, raw) { | ||
return Object.freeze(Object.defineProperties(strings, { | ||
raw: { | ||
value: Object.freeze(raw) | ||
} | ||
})); | ||
return Object.freeze( | ||
Object.defineProperties(strings, { | ||
raw: { | ||
value: Object.freeze(raw), | ||
}, | ||
}) | ||
); | ||
} | ||
function _templateObject() { | ||
var data = _taggedTemplateLiteral(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n margin-bottom: 0.5em;\n line-height: ", ";\n text-transform: uppercase;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
"\n font-family: ", | ||
";\n font-size: ", | ||
";\n font-weight: ", | ||
";\n margin-bottom: 0.5em;\n line-height: ", | ||
";\n text-transform: uppercase;\n", | ||
]); | ||
@@ -44,18 +55,32 @@ _templateObject = function _templateObject() { | ||
var H1 = styled.h1(_templateObject(), function (props) { | ||
return props.large ? "\"Avenir LT W01 95 Black\", arial, sans-serif" : "\"Avenir LT W01 85 Heavy\", arial, sans-serif"; | ||
}, function (props) { | ||
return fontSize(props.large, props.loud); | ||
}, function (props) { | ||
return props.large ? "700" : "normal"; | ||
}, function (props) { | ||
return props.large ? "1.0em" : "1.1em"; | ||
}); | ||
var H1 = styled.h1( | ||
_templateObject(), | ||
function(props) { | ||
return props.large | ||
? '"Avenir LT W01 95 Black", arial, sans-serif' | ||
: '"Avenir LT W01 85 Heavy", arial, sans-serif'; | ||
}, | ||
function(props) { | ||
return fontSize(props.large, props.loud); | ||
}, | ||
function(props) { | ||
return props.large ? "700" : "normal"; | ||
}, | ||
function(props) { | ||
return props.large ? "1.0em" : "1.1em"; | ||
} | ||
); | ||
H1.defaultProps = { | ||
large: false, | ||
loud: false | ||
loud: false, | ||
}; | ||
function _templateObject$1() { | ||
var data = _taggedTemplateLiteral(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n text-transform: uppercase;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
"\n font-family: ", | ||
";\n font-size: ", | ||
";\n font-weight: ", | ||
";\n line-height: ", | ||
";\n text-transform: uppercase;\n", | ||
]); | ||
@@ -68,17 +93,31 @@ _templateObject$1 = function _templateObject() { | ||
} | ||
var H2 = styled.h2(_templateObject$1(), function (props) { | ||
return props.large ? "\"Avenir LT W01 95 Black\", arial, sans-serif" : "\"Avenir LT W01 85 Heavy\", arial, sans-serif"; | ||
}, function (props) { | ||
return props.large ? "22px" : "18px"; | ||
}, function (props) { | ||
return props.large ? "700" : "normal"; | ||
}, function (props) { | ||
return props.large ? "1em" : "1.1em"; | ||
}); | ||
var H2 = styled.h2( | ||
_templateObject$1(), | ||
function(props) { | ||
return props.large | ||
? '"Avenir LT W01 95 Black", arial, sans-serif' | ||
: '"Avenir LT W01 85 Heavy", arial, sans-serif'; | ||
}, | ||
function(props) { | ||
return props.large ? "22px" : "18px"; | ||
}, | ||
function(props) { | ||
return props.large ? "700" : "normal"; | ||
}, | ||
function(props) { | ||
return props.large ? "1em" : "1.1em"; | ||
} | ||
); | ||
H2.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
function _templateObject$2() { | ||
var data = _taggedTemplateLiteral(["\n font-family: ", ";\n color: \"red\";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n text-transform: uppercase;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
"\n font-family: ", | ||
';\n color: "red";\n font-size: ', | ||
";\n font-weight: ", | ||
";\n line-height: ", | ||
";\n text-transform: uppercase;\n", | ||
]); | ||
@@ -91,17 +130,31 @@ _templateObject$2 = function _templateObject() { | ||
} | ||
var H3 = styled.h3(_templateObject$2(), function (props) { | ||
return props.large ? "\"Avenir LT W01 95 Black\", arial, sans-serif" : "\"Avenir LT W01 85 Heavy\", arial, sans-serif"; | ||
}, function (props) { | ||
return props.large ? "18px" : "16px"; | ||
}, function (props) { | ||
return props.large ? "700" : "normal"; | ||
}, function (props) { | ||
return props.large ? "1em" : "1.1em"; | ||
}); | ||
var H3 = styled.h3( | ||
_templateObject$2(), | ||
function(props) { | ||
return props.large | ||
? '"Avenir LT W01 95 Black", arial, sans-serif' | ||
: '"Avenir LT W01 85 Heavy", arial, sans-serif'; | ||
}, | ||
function(props) { | ||
return props.large ? "18px" : "16px"; | ||
}, | ||
function(props) { | ||
return props.large ? "700" : "normal"; | ||
}, | ||
function(props) { | ||
return props.large ? "1em" : "1.1em"; | ||
} | ||
); | ||
H3.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
function _templateObject$3() { | ||
var data = _taggedTemplateLiteral(["\n font-family: ", ";\n color: \"red\";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n text-transform: uppercase;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
"\n font-family: ", | ||
';\n color: "red";\n font-size: ', | ||
";\n font-weight: ", | ||
";\n line-height: ", | ||
";\n text-transform: uppercase;\n", | ||
]); | ||
@@ -114,17 +167,27 @@ _templateObject$3 = function _templateObject() { | ||
} | ||
var H4 = styled.h4(_templateObject$3(), function (props) { | ||
return props.large ? "\"Avenir LT W01 95 Black\", arial, sans-serif" : "\"Avenir LT W01 85 Heavy\", arial, sans-serif"; | ||
}, function (props) { | ||
return props.large ? "16px" : "15px"; | ||
}, function (props) { | ||
return props.large ? "700" : "normal"; | ||
}, function (props) { | ||
return props.large ? "1em" : "1.1em"; | ||
}); | ||
var H4 = styled.h4( | ||
_templateObject$3(), | ||
function(props) { | ||
return props.large | ||
? '"Avenir LT W01 95 Black", arial, sans-serif' | ||
: '"Avenir LT W01 85 Heavy", arial, sans-serif'; | ||
}, | ||
function(props) { | ||
return props.large ? "16px" : "15px"; | ||
}, | ||
function(props) { | ||
return props.large ? "700" : "normal"; | ||
}, | ||
function(props) { | ||
return props.large ? "1em" : "1.1em"; | ||
} | ||
); | ||
H4.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
function _templateObject$4() { | ||
var data = _taggedTemplateLiteral(["\n font-family: \"Avenir LT W01 55 Roman\", arial, sans-serif;\n font-size: 15px;\n line-height: 1.5em;\n margin: 0 0 1em 0;\n max-width: 650px;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
'\n font-family: "Avenir LT W01 55 Roman", arial, sans-serif;\n font-size: 15px;\n line-height: 1.5em;\n margin: 0 0 1em 0;\n max-width: 650px;\n', | ||
]); | ||
@@ -139,7 +202,9 @@ _templateObject$4 = function _templateObject() { | ||
P.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
function _templateObject$5() { | ||
var data = _taggedTemplateLiteral(["\n font-family: \"AvenirLTW01-55Oblique\", arial, sans-serif;\n font-size: 16px;\n font-style: italic;\n line-height: 1.4em;\n padding: 15px;\n margin: 0;\n max-width: 650px;\n align-self: center;\n background: url(\"https://images.arcteryx.com/misc/quotation-marks-left.png\") no-repeat;\n background-size: 46px;\n margin-bottom: 1em;\n"]); | ||
var data = _taggedTemplateLiteral([ | ||
'\n font-family: "AvenirLTW01-55Oblique", arial, sans-serif;\n font-size: 16px;\n font-style: italic;\n line-height: 1.4em;\n padding: 15px;\n margin: 0;\n max-width: 650px;\n align-self: center;\n background: url("https://images.arcteryx.com/misc/quotation-marks-left.png") no-repeat;\n background-size: 46px;\n margin-bottom: 1em;\n', | ||
]); | ||
@@ -154,3 +219,3 @@ _templateObject$5 = function _templateObject() { | ||
Blockquote.defaultProps = { | ||
large: false | ||
large: false, | ||
}; | ||
@@ -165,5 +230,4 @@ | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
}))); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@arcteryx/components-typography", | ||
"version": "1.27.8", | ||
"version": "1.27.9", | ||
"description": "Arcteryx Typography", | ||
@@ -14,3 +14,3 @@ "main": "src/index.js", | ||
"license": "ISC", | ||
"gitHead": "7ba99f591c4c1283535b6ee103bc3f3d2e0a836d" | ||
"gitHead": "c75f236b38d80f2a0eae1fb2a6820072d2b12e86" | ||
} |
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
148546
2085