Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@govuk-react/search-box

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-react/search-box - npm Package Compare versions

Comparing version 0.6.0-alpha.4 to 0.6.0-rc.1

10

es/index.js

@@ -10,3 +10,3 @@ function _objectWithoutPropertiesLoose(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]; } return target; }

import { Search } from '@govuk-react/icons';
import { withWhiteSpace } from '@govuk-react/hoc';
import { spacing } from '@govuk-react/lib';
var SearchBoxWrapper = styled('div')({

@@ -17,3 +17,5 @@ boxSizing: 'border-box',

background: WHITE
}); // css normalize is hiding the input:search clear SearchButton
}, spacing.withWhiteSpace({
marginBottom: 0
})); // css normalize is hiding the input:search clear SearchButton

@@ -104,5 +106,3 @@ var InputSearchBox = styled('input')({

};
export default withWhiteSpace({
marginBottom: 0
})(SearchBox);
export default SearchBox;
//# sourceMappingURL=index.js.map

@@ -18,3 +18,3 @@ "use strict";

var _hoc = require("@govuk-react/hoc");
var _lib = require("@govuk-react/lib");

@@ -30,3 +30,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

background: _govukColours.WHITE
}); // css normalize is hiding the input:search clear SearchButton
}, _lib.spacing.withWhiteSpace({
marginBottom: 0
})); // css normalize is hiding the input:search clear SearchButton

@@ -117,9 +119,5 @@ var InputSearchBox = (0, _styledComponents.default)('input')({

};
var _default = (0, _hoc.withWhiteSpace)({
marginBottom: 0
})(SearchBox);
var _default = SearchBox;
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=index.js.map
{
"name": "@govuk-react/search-box",
"version": "0.6.0-alpha.4",
"version": "0.6.0-rc.1",
"dependencies": {
"@govuk-react/constants": "^0.6.0-alpha.4",
"@govuk-react/hoc": "^0.6.0-alpha.4",
"@govuk-react/icons": "^0.6.0-alpha.4",
"@govuk-react/constants": "^0.6.0-rc.1",
"@govuk-react/icons": "^0.6.0-rc.1",
"@govuk-react/lib": "^0.6.0-rc.1",
"govuk-colours": "^1.0.3"

@@ -9,0 +9,0 @@ },

@@ -10,10 +10,13 @@ // https://govuk-static.herokuapp.com/component-guide/search

import { Search } from '@govuk-react/icons';
import { withWhiteSpace } from '@govuk-react/hoc';
import { spacing } from '@govuk-react/lib';
const SearchBoxWrapper = styled('div')({
boxSizing: 'border-box',
display: 'flex',
width: '100%',
background: WHITE,
});
const SearchBoxWrapper = styled('div')(
{
boxSizing: 'border-box',
display: 'flex',
width: '100%',
background: WHITE,
},
spacing.withWhiteSpace({ marginBottom: 0 }),
);

@@ -106,2 +109,2 @@ // css normalize is hiding the input:search clear SearchButton

export default withWhiteSpace({ marginBottom: 0 })(SearchBox);
export default SearchBox;

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc