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

@govuk-react/input-field

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-react/input-field - npm Package Compare versions

Comparing version 0.2.4 to 0.2.6

4

es/index.js

@@ -77,3 +77,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); }

InputField.defaultProps = {
hint: null,
hint: undefined,
input: {},

@@ -83,3 +83,3 @@ meta: {}

InputField.propTypes = process.env.NODE_ENV !== "production" ? {
hint: PropTypes.string,
hint: PropTypes.node,
input: PropTypes.shape({

@@ -86,0 +86,0 @@ name: PropTypes.string,

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

InputField.defaultProps = {
hint: null,
hint: undefined,
input: {},

@@ -95,3 +95,3 @@ meta: {}

InputField.propTypes = process.env.NODE_ENV !== "production" ? {
hint: _propTypes.default.string,
hint: _propTypes.default.node,
input: _propTypes.default.shape({

@@ -98,0 +98,0 @@ name: _propTypes.default.string,

{
"name": "@govuk-react/input-field",
"version": "0.2.4",
"version": "0.2.6",
"dependencies": {
"@govuk-react/constants": "^0.2.2",
"@govuk-react/error-text": "^0.2.4",
"@govuk-react/hint-text": "^0.2.4",
"@govuk-react/hoc": "^0.2.4",
"@govuk-react/input": "^0.2.4",
"@govuk-react/label": "^0.2.4",
"@govuk-react/label-text": "^0.2.4",
"@govuk-react/error-text": "^0.2.6",
"@govuk-react/hint-text": "^0.2.6",
"@govuk-react/hoc": "^0.2.6",
"@govuk-react/input": "^0.2.6",
"@govuk-react/label": "^0.2.6",
"@govuk-react/label-text": "^0.2.6",
"govuk-colours": "^1.0.3"

@@ -13,0 +13,0 @@ },

@@ -58,3 +58,3 @@ InputField

`children` | true | `````` | node |
`hint` | | ```null``` | string |
`hint` | | ```undefined``` | node |
`input` | | ```{}``` | shape[object Object] |

@@ -61,0 +61,0 @@ `meta` | | ```{}``` | shape[object Object] |

@@ -71,3 +71,3 @@ // https://github.com/alphagov/govuk-frontend/blob/master/src/components/input/_input.scss

InputField.defaultProps = {
hint: null,
hint: undefined,
input: {},

@@ -78,3 +78,3 @@ meta: {},

InputField.propTypes = {
hint: PropTypes.string,
hint: PropTypes.node,
input: PropTypes.shape({

@@ -92,3 +92,3 @@ name: PropTypes.string,

error: PropTypes.any,
initial: PropTypes.bool,
initial: PropTypes.any,
invalid: PropTypes.bool,

@@ -95,0 +95,0 @@ pristine: PropTypes.bool,

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