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

@govuk-frederic/header-button

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-frederic/header-button - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

5

es/index.js

@@ -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>

6

lib/index.js

@@ -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

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