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.9.0 to 0.9.1

src/__snapshots__/test.tsx.snap

15

es/index.js

@@ -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

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