@govuk-react/search-box
Advanced tools
Comparing version 0.2.12 to 0.3.0
@@ -11,3 +11,8 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
import { withWhiteSpace } from '@govuk-react/hoc'; | ||
var SearchBoxWrapper = styled('div')({ | ||
var SearchBoxWrapper = | ||
/*#__PURE__*/ | ||
styled('div', { | ||
target: "e4u1u2g0", | ||
label: "SearchBoxWrapper" | ||
})({ | ||
boxSizing: 'border-box', | ||
@@ -19,3 +24,8 @@ display: 'flex', | ||
var InputSearchBox = styled('input')({ | ||
var InputSearchBox = | ||
/*#__PURE__*/ | ||
styled('input', { | ||
target: "e4u1u2g1", | ||
label: "InputSearchBox" | ||
})({ | ||
width: '100%', | ||
@@ -45,3 +55,8 @@ height: '40px', | ||
}); | ||
var SearchButton = styled('button')({ | ||
var SearchButton = | ||
/*#__PURE__*/ | ||
styled('button', { | ||
target: "e4u1u2g2", | ||
label: "SearchButton" | ||
})({ | ||
backgroundColor: LIGHT_BLUE, | ||
@@ -48,0 +63,0 @@ border: 0, |
@@ -24,3 +24,8 @@ "use strict"; | ||
var SearchBoxWrapper = (0, _reactEmotion.default)('div')({ | ||
var SearchBoxWrapper = | ||
/*#__PURE__*/ | ||
(0, _reactEmotion.default)('div', { | ||
target: "e4u1u2g0", | ||
label: "SearchBoxWrapper" | ||
})({ | ||
boxSizing: 'border-box', | ||
@@ -32,3 +37,8 @@ display: 'flex', | ||
var InputSearchBox = (0, _reactEmotion.default)('input')({ | ||
var InputSearchBox = | ||
/*#__PURE__*/ | ||
(0, _reactEmotion.default)('input', { | ||
target: "e4u1u2g1", | ||
label: "InputSearchBox" | ||
})({ | ||
width: '100%', | ||
@@ -58,3 +68,8 @@ height: '40px', | ||
}); | ||
var SearchButton = (0, _reactEmotion.default)('button')({ | ||
var SearchButton = | ||
/*#__PURE__*/ | ||
(0, _reactEmotion.default)('button', { | ||
target: "e4u1u2g2", | ||
label: "SearchButton" | ||
})({ | ||
backgroundColor: _govukColours.LIGHT_BLUE, | ||
@@ -61,0 +76,0 @@ border: 0, |
{ | ||
"name": "@govuk-react/search-box", | ||
"version": "0.2.12", | ||
"version": "0.3.0", | ||
"dependencies": { | ||
"@govuk-react/constants": "^0.2.7", | ||
"@govuk-react/hoc": "^0.2.7", | ||
"@govuk-react/icons": "^0.2.7", | ||
"@govuk-react/hoc": "^0.3.0", | ||
"@govuk-react/icons": "^0.3.0", | ||
"govuk-colours": "^1.0.3" | ||
@@ -9,0 +9,0 @@ }, |
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
36977
435
+ Added@govuk-react/constants@0.3.1(transitive)
+ Added@govuk-react/hoc@0.3.1(transitive)
+ Added@govuk-react/icons@0.3.1(transitive)
- Removed@govuk-react/hoc@0.2.7(transitive)
- Removed@govuk-react/icons@0.2.7(transitive)
Updated@govuk-react/hoc@^0.3.0
Updated@govuk-react/icons@^0.3.0