New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@govuk-react/input

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/input - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0-alpha.0

9

es/index.js

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

import PropTypes from 'prop-types';
import styled from 'react-emotion';
import styled from 'styled-components';
import { BLACK, ERROR_COLOUR } from 'govuk-colours';

@@ -13,8 +13,3 @@ import { withWhiteSpace } from '@govuk-react/hoc';

import { typography } from '@govuk-react/lib';
export var StyledInput =
/*#__PURE__*/
styled('input', {
target: "e165yw40",
label: "StyledInput"
})(typography.font({
export var StyledInput = styled('input')(typography.font({
size: 19

@@ -21,0 +16,0 @@ }), FOCUSABLE, {

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

var _reactEmotion = _interopRequireDefault(require("react-emotion"));
var _styledComponents = _interopRequireDefault(require("styled-components"));

@@ -27,8 +27,3 @@ var _govukColours = require("govuk-colours");

var StyledInput =
/*#__PURE__*/
(0, _reactEmotion.default)('input', {
target: "e165yw40",
label: "StyledInput"
})(_lib.typography.font({
var StyledInput = (0, _styledComponents.default)('input')(_lib.typography.font({
size: 19

@@ -35,0 +30,0 @@ }), _constants.FOCUSABLE, {

{
"name": "@govuk-react/input",
"version": "0.5.1",
"version": "0.6.0-alpha.0",
"dependencies": {
"@govuk-react/constants": "^0.5.1",
"@govuk-react/hoc": "^0.5.1",
"@govuk-react/lib": "^0.5.1",
"@govuk-react/constants": "^0.6.0-alpha.0",
"@govuk-react/hoc": "^0.6.0-alpha.0",
"@govuk-react/lib": "^0.6.0-alpha.0",
"govuk-colours": "^1.0.3"
},
"peerDependencies": {
"emotion": ">=9",
"react": ">=16.2.0",
"react-emotion": ">=9"
"styled-components": ">=4"
},

@@ -15,0 +14,0 @@ "scripts": {

import React from 'react';
import PropTypes from 'prop-types';
import styled from 'react-emotion';
import styled from 'styled-components';

@@ -5,0 +5,0 @@ import { BLACK, ERROR_COLOUR } from 'govuk-colours';

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