@eaze/hero
Advanced tools
Comparing version 3.0.10 to 3.0.11
@@ -39,3 +39,5 @@ 'use strict'; | ||
var Content = /*#__PURE__*/(0, _reactEmotion2.default)('div')('max-width:', function (_ref) { | ||
var Content = /*#__PURE__*/(0, _reactEmotion2.default)('div', { | ||
target: 'css-h8hg130' | ||
})('max-width:', function (_ref) { | ||
var slide = _ref.slide; | ||
@@ -49,9 +51,17 @@ return slide ? '91rem' : '100rem'; | ||
var Child = /*#__PURE__*/(0, _reactEmotion2.default)('div')('position:absolute;bottom:2rem;'); | ||
var Child = /*#__PURE__*/(0, _reactEmotion2.default)('div', { | ||
target: 'css-h8hg131' | ||
})('position:absolute;bottom:2rem;'); | ||
var Description = /*#__PURE__*/(0, _reactEmotion2.default)(_typography.Text)('color:white !important;font-size:1.6rem;max-width:30rem;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;'); | ||
var Description = /*#__PURE__*/(0, _reactEmotion2.default)(_typography.Text, { | ||
target: 'css-h8hg132' | ||
})('color:white !important;font-size:1.6rem;max-width:30rem;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;'); | ||
var StyleTitle = /*#__PURE__*/(0, _reactEmotion2.default)(_typography.Title)('font-size:2.8rem;margin-bottom:1rem;'); | ||
var StyleTitle = /*#__PURE__*/(0, _reactEmotion2.default)(_typography.Title, { | ||
target: 'css-h8hg133' | ||
})('font-size:2.8rem;margin-bottom:1rem;'); | ||
var Heading = /*#__PURE__*/(0, _reactEmotion2.default)('div')('position:absolute;max-width:120rem;bottom:', function (_ref3) { | ||
var Heading = /*#__PURE__*/(0, _reactEmotion2.default)('div', { | ||
target: 'css-h8hg134' | ||
})('position:absolute;max-width:120rem;bottom:', function (_ref3) { | ||
var slide = _ref3.slide; | ||
@@ -195,3 +205,5 @@ return slide ? '0' : '2rem'; | ||
var Container = /*#__PURE__*/(0, _reactEmotion2.default)('div')('margin:0 auto;width:100%;position:relative;height:30rem;background-size:cover;background-repeat:no-repeat;background-position:right;background-color:', function (_ref6) { | ||
var Container = /*#__PURE__*/(0, _reactEmotion2.default)('div', { | ||
target: 'css-h8hg135' | ||
})('margin:0 auto;width:100%;position:relative;height:30rem;background-size:cover;background-repeat:no-repeat;background-position:right;background-color:', function (_ref6) { | ||
var backgroundColor = _ref6.backgroundColor; | ||
@@ -198,0 +210,0 @@ return backgroundColor || 'transparent'; |
{ | ||
"name": "@eaze/hero", | ||
"version": "3.0.10", | ||
"version": "3.0.11", | ||
"description": "Page Hero component", | ||
@@ -30,3 +30,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@eaze/button": "^3.0.9", | ||
"@eaze/button": "^3.0.10", | ||
"@eaze/color": "^1.0.11", | ||
@@ -33,0 +33,0 @@ "@eaze/typography": "^3.0.4", |
90364
6
403
Updated@eaze/button@^3.0.10