@govuk-frederic/countdown-text-area
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -8,4 +8,5 @@ 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 styled from 'react-emotion'; | ||
import { ERROR_COLOUR } from 'govuk-colours'; | ||
import { TextAreaField } from '@govuk-react/text-area'; | ||
import { ERROR_COLOUR } from 'govuk-colours'; | ||
import { NTA_LIGHT } from '@govuk-react/constants'; | ||
var StyledTextAreaField = | ||
@@ -54,6 +55,6 @@ /*#__PURE__*/ | ||
})({ | ||
position: 'absolute', | ||
bottom: '12px', | ||
fontFamily: 'Roboto, Arial, sans-serif', | ||
position: 'absolute', | ||
right: '10px' | ||
right: '10px', | ||
fontFamily: NTA_LIGHT | ||
}); | ||
@@ -60,0 +61,0 @@ /** |
@@ -12,5 +12,7 @@ "use strict"; | ||
var _govukColours = require("govuk-colours"); | ||
var _textArea = require("@govuk-react/text-area"); | ||
var _govukColours = require("govuk-colours"); | ||
var _constants = require("@govuk-react/constants"); | ||
@@ -66,6 +68,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
})({ | ||
position: 'absolute', | ||
bottom: '12px', | ||
fontFamily: 'Roboto, Arial, sans-serif', | ||
position: 'absolute', | ||
right: '10px' | ||
right: '10px', | ||
fontFamily: _constants.NTA_LIGHT | ||
}); | ||
@@ -72,0 +74,0 @@ /** |
{ | ||
"name": "@govuk-frederic/countdown-text-area", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"dependencies": { | ||
"@govuk-react/text-area": "^0.2.4", | ||
"@govuk-react/constants": "^0.2.7", | ||
"@govuk-react/text-area": "^0.2.9", | ||
"govuk-colours": "^1.0.3" | ||
@@ -7,0 +8,0 @@ }, |
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import styled from 'react-emotion'; | ||
import { ERROR_COLOUR } from 'govuk-colours'; | ||
import { TextAreaField } from '@govuk-react/text-area'; | ||
import { ERROR_COLOUR } from 'govuk-colours'; | ||
import { NTA_LIGHT } from '@govuk-react/constants'; | ||
@@ -32,6 +33,6 @@ const StyledTextAreaField = styled(TextAreaField)({ | ||
const StyledCountdown = styled('div')({ | ||
position: 'absolute', | ||
bottom: '12px', | ||
fontFamily: 'Roboto, Arial, sans-serif', | ||
position: 'absolute', | ||
right: '10px', | ||
fontFamily: NTA_LIGHT, | ||
}); | ||
@@ -38,0 +39,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
51645
673
7
1