@govuk-frederic/count
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -6,2 +6,3 @@ function _objectWithoutProperties(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]; } if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
import styled from 'react-emotion'; | ||
import { NTA_LIGHT } from '@govuk-react/constants'; | ||
var StyledCount = | ||
@@ -13,3 +14,3 @@ /*#__PURE__*/ | ||
})({ | ||
fontFamily: 'Roboto, Arial, sans-serif' | ||
fontFamily: NTA_LIGHT | ||
}); | ||
@@ -16,0 +17,0 @@ /** |
@@ -12,2 +12,4 @@ "use strict"; | ||
var _constants = require("@govuk-react/constants"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -23,3 +25,3 @@ | ||
})({ | ||
fontFamily: 'Roboto, Arial, sans-serif' | ||
fontFamily: _constants.NTA_LIGHT | ||
}); | ||
@@ -26,0 +28,0 @@ /** |
{ | ||
"name": "@govuk-frederic/count", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"dependencies": { | ||
"@govuk-react/constants": "^0.2.7" | ||
}, | ||
"devDependencies": { | ||
@@ -5,0 +8,0 @@ "@govuk-react/storybook-components": "^0.2.4", |
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import styled from 'react-emotion'; | ||
import { NTA_LIGHT } from '@govuk-react/constants'; | ||
const StyledCount = styled('div')({ | ||
fontFamily: 'Roboto, Arial, sans-serif', | ||
fontFamily: NTA_LIGHT, | ||
}); | ||
@@ -8,0 +9,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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
15281
189
0
5
1
+ Added@govuk-react/constants@0.2.7(transitive)
+ Addedgovuk-colours@1.1.0(transitive)