🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@govuk-react/label

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-react/label - npm Package Compare versions

Comparing version

to
0.7.1

4

es/stories.js
import React from 'react';
import { storiesOf } from '@storybook/react';
import { WithDocsCustom } from '@govuk-react/storybook-components';
import { withDocsCustom } from '@govuk-react/storybook-components';
import Label from '.';
import ReadMe from '../README.md';
var stories = storiesOf('Form/Label', module);
stories.addDecorator(WithDocsCustom(ReadMe));
stories.addDecorator(withDocsCustom(ReadMe));
stories.add('Component default', function () {

@@ -9,0 +9,0 @@ return React.createElement(Label, null, "Example");

import React from 'react';
import ReactDOM from 'react-dom';
import { mount } from 'enzyme';
import Label from './';
import Label from '.';
describe('Label', function () {

@@ -6,0 +6,0 @@ var example = 'example';

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

var stories = (0, _react2.storiesOf)('Form/Label', module);
stories.addDecorator((0, _storybookComponents.WithDocsCustom)(_README.default));
stories.addDecorator((0, _storybookComponents.withDocsCustom)(_README.default));
stories.add('Component default', function () {

@@ -19,0 +19,0 @@ return _react.default.createElement(_.default, null, "Example");

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

var _ = _interopRequireDefault(require("./"));
var _ = _interopRequireDefault(require("."));

@@ -12,0 +12,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

{
"name": "@govuk-react/label",
"version": "0.7.0",
"version": "0.7.1",
"dependencies": {
"@govuk-react/constants": "^0.7.0",
"@govuk-react/lib": "^0.7.0",
"@govuk-react/constants": "^0.7.1",
"@govuk-react/lib": "^0.7.1",
"govuk-colours": "^1.0.3"

@@ -8,0 +8,0 @@ },

@@ -30,3 +30,3 @@ // https://github.com/alphagov/govuk-frontend/tree/master/src/components/

}),
spacing.withWhiteSpace({ marginBottom: 0 }),
spacing.withWhiteSpace({ marginBottom: 0 })
);

@@ -33,0 +33,0 @@

import React from 'react';
import { storiesOf } from '@storybook/react';
import { WithDocsCustom } from '@govuk-react/storybook-components';
import { withDocsCustom } from '@govuk-react/storybook-components';

@@ -9,6 +9,4 @@ import Label from '.';

const stories = storiesOf('Form/Label', module);
stories.addDecorator(WithDocsCustom(ReadMe));
stories.addDecorator(withDocsCustom(ReadMe));
stories.add('Component default', () => (
<Label>Example</Label>
));
stories.add('Component default', () => <Label>Example</Label>);

@@ -5,3 +5,3 @@ import React from 'react';

import Label from './';
import Label from '.';

@@ -8,0 +8,0 @@ describe('Label', () => {

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

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