@govuk-frederic/header-button
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -9,2 +9,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 { FOCUS_COLOUR, LINK_ACTIVE_COLOUR, LINK_COLOUR } from 'govuk-colours'; | ||
import { NTA_LIGHT } from '@govuk-react/constants'; | ||
var Button = | ||
@@ -22,3 +23,3 @@ /*#__PURE__*/ | ||
display: 'inline-block', | ||
fontFamily: 'Roboto, Arial, sans-serif', | ||
fontFamily: NTA_LIGHT, | ||
fontSize: '18px', | ||
@@ -70,2 +71,4 @@ fontWeight: 'bold', | ||
* ```jsx | ||
* import Keyline from '@govuk-frederic/keyline'; | ||
* | ||
* <Fragment> | ||
@@ -72,0 +75,0 @@ * <Keyline> |
@@ -14,2 +14,4 @@ "use strict"; | ||
var _constants = require("@govuk-react/constants"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -33,3 +35,3 @@ | ||
display: 'inline-block', | ||
fontFamily: 'Roboto, Arial, sans-serif', | ||
fontFamily: _constants.NTA_LIGHT, | ||
fontSize: '18px', | ||
@@ -81,2 +83,4 @@ fontWeight: 'bold', | ||
* ```jsx | ||
* import Keyline from '@govuk-frederic/keyline'; | ||
* | ||
* <Fragment> | ||
@@ -83,0 +87,0 @@ * <Keyline> |
{ | ||
"name": "@govuk-frederic/header-button", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"dependencies": { | ||
"@govuk-react/constants": "^0.2.7", | ||
"govuk-colours": "^1.0.3" | ||
}, | ||
"devDependencies": { | ||
@@ -8,5 +12,2 @@ "@govuk-react/storybook-components": "^0.2.4", | ||
}, | ||
"dependencies": { | ||
"govuk-colours": "^1.0.3" | ||
}, | ||
"peerDependencies": { | ||
@@ -13,0 +14,0 @@ "emotion": ">=9", |
@@ -27,2 +27,4 @@ HeaderButton | ||
```jsx | ||
import Keyline from '@govuk-frederic/keyline'; | ||
<Fragment> | ||
@@ -29,0 +31,0 @@ <Keyline> |
@@ -6,2 +6,3 @@ import React from 'react'; | ||
import { FOCUS_COLOUR, LINK_ACTIVE_COLOUR, LINK_COLOUR } from 'govuk-colours'; | ||
import { NTA_LIGHT } from '@govuk-react/constants'; | ||
@@ -16,3 +17,3 @@ const Button = styled('button')( | ||
display: 'inline-block', | ||
fontFamily: 'Roboto, Arial, sans-serif', | ||
fontFamily: NTA_LIGHT, | ||
fontSize: '18px', | ||
@@ -68,2 +69,4 @@ fontWeight: 'bold', | ||
* ```jsx | ||
* import Keyline from '@govuk-frederic/keyline'; | ||
* | ||
* <Fragment> | ||
@@ -70,0 +73,0 @@ * <Keyline> |
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
36274
496
55
6
1
+ Added@govuk-react/constants@0.2.7(transitive)