jobiqo-cl
Advanced tools
Comparing version 0.1.10 to 0.1.11
@@ -21,3 +21,3 @@ 'use strict'; | ||
var StyledButton = _styledComponents2.default.button.withConfig({ | ||
displayName: 'Button__StyledButton' | ||
displayName: 'button__StyledButton' | ||
})(['font-size:', ';margin:', ';padding:', ';border-radius:', ';color:', ';background:', ';border:', ' ', ' ', ';&:disabled{opacity:', ';}'], function (props) { | ||
@@ -24,0 +24,0 @@ return props.theme.button.fontSize; |
@@ -33,3 +33,3 @@ 'use strict'; | ||
describe('Theme is applied correctly', function () { | ||
describe('Button theme is applied correctly', function () { | ||
var wrapper = void 0; | ||
@@ -36,0 +36,0 @@ |
@@ -21,3 +21,3 @@ 'use strict'; | ||
var StyledInput = _styledComponents2.default.input.withConfig({ | ||
displayName: 'Input__StyledInput' | ||
displayName: 'input__StyledInput' | ||
})(['font-size:', ';margin:', ';padding:', ';border-radius:', ';border:', ' ', ' ', ';'], function (props) { | ||
@@ -24,0 +24,0 @@ return props.theme.input.fontSize; |
@@ -7,3 +7,3 @@ 'use strict'; | ||
var _Button = require('./components/atoms/Button'); | ||
var _button = require('./components/atoms/button'); | ||
@@ -13,7 +13,7 @@ Object.defineProperty(exports, 'Button', { | ||
get: function get() { | ||
return _interopRequireDefault(_Button).default; | ||
return _interopRequireDefault(_button).default; | ||
} | ||
}); | ||
var _Input = require('./components/atoms/Input'); | ||
var _input = require('./components/atoms/input'); | ||
@@ -23,6 +23,15 @@ Object.defineProperty(exports, 'Input', { | ||
get: function get() { | ||
return _interopRequireDefault(_Input).default; | ||
return _interopRequireDefault(_input).default; | ||
} | ||
}); | ||
var _select = require('./components/atoms/select'); | ||
Object.defineProperty(exports, 'Select', { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_select).default; | ||
} | ||
}); | ||
var _theme = require('./theme'); | ||
@@ -29,0 +38,0 @@ |
@@ -6,2 +6,9 @@ 'use strict'; | ||
}); | ||
var font = exports.font = { | ||
fontSize: '14px', | ||
body: '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif', | ||
heading: '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif', | ||
color: '#333' | ||
}; | ||
var color = exports.color = { | ||
@@ -40,2 +47,13 @@ primary: '#0E8E72', | ||
var tag = exports.tag = { | ||
fontSize: '0.8rem', | ||
borderRadius: '2px', | ||
padding: '0.25rem 1rem;', | ||
color: font.color, | ||
borderWidth: '1px', | ||
borderStyle: 'solid', | ||
borderColor: color.gray2, | ||
background: color.gray1 | ||
}; | ||
var input = exports.input = { | ||
@@ -50,7 +68,27 @@ fontSize: '1rem', | ||
var font = exports.font = { | ||
fontSize: '14px', | ||
body: '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif', | ||
heading: '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif', | ||
color: '#333' | ||
var select = exports.select = { | ||
fontSize: '1rem', | ||
borderRadius: '2px', | ||
padding: '0.5rem 1rem', | ||
borderWidth: '1px', | ||
borderColor: color.gray2, | ||
borderStyle: 'solid', | ||
item: { | ||
backgroundHover: '#f5f5f5', | ||
colorHover: '#a8a8a8' | ||
}, | ||
dropMenu: { | ||
borderWidth: '1px', | ||
borderColor: color.gray2, | ||
borderStyle: 'solid', | ||
maxHeight: '20rem', | ||
boxShadow: '0 2px 3px 0 rgba(34,36,38,.15)', | ||
itemSelected: { | ||
color: '#fff', | ||
background: color.primary, | ||
padding: '0.3rem 0.5rem', | ||
borderRadius: button.borderRadius, | ||
fontSize: '0.7rem' | ||
} | ||
} | ||
}; | ||
@@ -62,3 +100,5 @@ | ||
input: input, | ||
font: font | ||
select: select, | ||
font: font, | ||
tag: tag | ||
}; |
{ | ||
"name": "jobiqo-cl", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "", | ||
@@ -32,2 +32,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"downshift": "^2.0.0", | ||
"match-sorter": "^2.2.3", | ||
"react": "^16.0.0", | ||
@@ -75,2 +77,3 @@ "react-dom": "^16.0.0", | ||
"react-test-renderer": "^16.0.0", | ||
"sinon": "^6.0.0", | ||
"stylelint": "^8.2.0", | ||
@@ -77,0 +80,0 @@ "stylelint-config-standard": "^17.0.0", |
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
58385
20
1026
6
42
+ Addeddownshift@^2.0.0
+ Addedmatch-sorter@^2.2.3
+ Addedcompute-scroll-into-view@1.0.20(transitive)
+ Addeddownshift@2.2.3(transitive)
+ Addedmatch-sorter@2.3.0(transitive)