@govuk-react/search-box
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -13,3 +13,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
displayName: "src__Input", | ||
componentId: "ln53op-0" | ||
componentId: "bgtefr-0" | ||
})({ | ||
@@ -45,3 +45,3 @@ width: '100%', | ||
displayName: "src__SearchButton", | ||
componentId: "ln53op-1" | ||
componentId: "bgtefr-1" | ||
})({ | ||
@@ -76,3 +76,3 @@ backgroundColor: LIGHT_BLUE, | ||
displayName: "src__StyledSearchBox", | ||
componentId: "ln53op-2" | ||
componentId: "bgtefr-2" | ||
})({ | ||
@@ -107,6 +107,7 @@ boxSizing: 'border-box', | ||
var SearchBox = function SearchBox(props) { | ||
return /*#__PURE__*/React.createElement(StyledSearchBox, props); | ||
}; | ||
var SearchBox = /*#__PURE__*/React.forwardRef(function (props, ref) { | ||
return /*#__PURE__*/React.createElement(StyledSearchBox, _extends({}, props, { | ||
ref: ref | ||
})); | ||
}); | ||
SearchBox.Input = Input; | ||
@@ -113,0 +114,0 @@ SearchBox.Button = Button; |
@@ -25,3 +25,3 @@ "use strict"; | ||
displayName: "src__Input", | ||
componentId: "ln53op-0" | ||
componentId: "bgtefr-0" | ||
})({ | ||
@@ -57,3 +57,3 @@ width: '100%', | ||
displayName: "src__SearchButton", | ||
componentId: "ln53op-1" | ||
componentId: "bgtefr-1" | ||
})({ | ||
@@ -88,3 +88,3 @@ backgroundColor: _govukColours.LIGHT_BLUE, | ||
displayName: "src__StyledSearchBox", | ||
componentId: "ln53op-2" | ||
componentId: "bgtefr-2" | ||
})({ | ||
@@ -119,5 +119,7 @@ boxSizing: 'border-box', | ||
var SearchBox = function SearchBox(props) { | ||
return /*#__PURE__*/_react["default"].createElement(StyledSearchBox, props); | ||
}; | ||
var SearchBox = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) { | ||
return /*#__PURE__*/_react["default"].createElement(StyledSearchBox, _extends({}, props, { | ||
ref: ref | ||
})); | ||
}); | ||
@@ -124,0 +126,0 @@ SearchBox.Input = Input; |
{ | ||
"name": "@govuk-react/search-box", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"dependencies": { | ||
"@govuk-react/constants": "^0.9.0", | ||
"@govuk-react/icons": "^0.9.0", | ||
"@govuk-react/lib": "^0.9.0", | ||
"@govuk-react/constants": "^0.9.1", | ||
"@govuk-react/icons": "^0.9.1", | ||
"@govuk-react/lib": "^0.9.1", | ||
"govuk-colours": "^1.1.0" | ||
@@ -16,4 +16,4 @@ }, | ||
"build": "yarn build:lib && yarn build:es", | ||
"build:lib": "rimraf lib && babel src -d lib --source-maps --config-file ../../babel.config.js", | ||
"build:es": "rimraf es && cross-env BABEL_ENV=es babel src -d es --source-maps --config-file ../../babel.config.js", | ||
"build:lib": "rimraf lib && babel src -x .js,jsx,.ts,.tsx -d lib --source-maps --config-file ../../babel.config.js", | ||
"build:es": "rimraf es && cross-env BABEL_ENV=es babel src -x .js,jsx,.ts,.tsx -d es --source-maps --config-file ../../babel.config.js", | ||
"docs": "doc-component ./lib/index.js ./README.md" | ||
@@ -20,0 +20,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
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
30407
408
Updated@govuk-react/icons@^0.9.1
Updated@govuk-react/lib@^0.9.1