Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@govuk-react/hoc

Package Overview
Dependencies
Maintainers
5
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-react/hoc - npm Package Compare versions

Comparing version 0.6.0-alpha.0 to 0.6.0-alpha.1

10

es/withWhiteSpace/stories.js

@@ -24,3 +24,2 @@ import React, { Fragment } from 'react';

import Panel from '@govuk-react/panel';
import PhaseBadge from '@govuk-react/phase-badge';
import PhaseBanner from '@govuk-react/phase-banner';

@@ -31,2 +30,3 @@ import Radio from '@govuk-react/radio';

import Select from '@govuk-react/select';
import Tag from '@govuk-react/tag';
import TextArea from '@govuk-react/text-area';

@@ -165,5 +165,3 @@ import UnorderedList from '@govuk-react/unordered-list';

mb: number('Panel marginBottom', 9)
}, "Panel Example"), React.createElement(PhaseBadge, {
mb: number('PhaseBadge marginBottom', 9)
}, "PhaseBadge"), React.createElement(PhaseBanner, {
}, "Panel Example"), React.createElement(PhaseBanner, {
level: "EXAMPLE",

@@ -180,3 +178,5 @@ mb: number('PhaseBanner marginBottom', 9)

mb: number('Select marginBottom', 9)
}, "Select Example"), React.createElement(TextArea, {
}, "Select Example"), React.createElement(Tag, {
mb: number('Tag marginBottom', 9)
}, "Tag"), React.createElement(TextArea, {
mb: number('TextArea marginBottom', 9)

@@ -183,0 +183,0 @@ }, "TextArea Example"), React.createElement(UnorderedList, {

@@ -49,4 +49,2 @@ "use strict";

var _phaseBadge = _interopRequireDefault(require("@govuk-react/phase-badge"));
var _phaseBanner = _interopRequireDefault(require("@govuk-react/phase-banner"));

@@ -62,2 +60,4 @@

var _tag = _interopRequireDefault(require("@govuk-react/tag"));
var _textArea = _interopRequireDefault(require("@govuk-react/text-area"));

@@ -203,5 +203,3 @@

mb: (0, _react3.number)('Panel marginBottom', 9)
}, "Panel Example"), _react.default.createElement(_phaseBadge.default, {
mb: (0, _react3.number)('PhaseBadge marginBottom', 9)
}, "PhaseBadge"), _react.default.createElement(_phaseBanner.default, {
}, "Panel Example"), _react.default.createElement(_phaseBanner.default, {
level: "EXAMPLE",

@@ -218,3 +216,5 @@ mb: (0, _react3.number)('PhaseBanner marginBottom', 9)

mb: (0, _react3.number)('Select marginBottom', 9)
}, "Select Example"), _react.default.createElement(_textArea.default, {
}, "Select Example"), _react.default.createElement(_tag.default, {
mb: (0, _react3.number)('Tag marginBottom', 9)
}, "Tag"), _react.default.createElement(_textArea.default, {
mb: (0, _react3.number)('TextArea marginBottom', 9)

@@ -221,0 +221,0 @@ }, "TextArea Example"), _react.default.createElement(_unorderedList.default, {

{
"name": "@govuk-react/hoc",
"version": "0.6.0-alpha.0",
"version": "0.6.0-alpha.1",
"dependencies": {
"@govuk-react/constants": "^0.6.0-alpha.0",
"@govuk-react/icons": "^0.6.0-alpha.0",
"@govuk-react/lib": "^0.6.0-alpha.0",
"@govuk-react/constants": "^0.6.0-alpha.1",
"@govuk-react/icons": "^0.6.0-alpha.1",
"@govuk-react/lib": "^0.6.0-alpha.1",
"govuk-colours": "^1.0.3"

@@ -9,0 +9,0 @@ },

@@ -25,3 +25,2 @@ import React, { Fragment } from 'react';

import Panel from '@govuk-react/panel';
import PhaseBadge from '@govuk-react/phase-badge';
import PhaseBanner from '@govuk-react/phase-banner';

@@ -32,2 +31,3 @@ import Radio from '@govuk-react/radio';

import Select from '@govuk-react/select';
import Tag from '@govuk-react/tag';
import TextArea from '@govuk-react/text-area';

@@ -142,3 +142,2 @@ import UnorderedList from '@govuk-react/unordered-list';

<Panel panelTitle="Example" mb={number('Panel marginBottom', 9)}>Panel Example</Panel>
<PhaseBadge mb={number('PhaseBadge marginBottom', 9)}>PhaseBadge</PhaseBadge>
<PhaseBanner level="EXAMPLE" mb={number('PhaseBanner marginBottom', 9)}>PhaseBanner Example</PhaseBanner>

@@ -149,2 +148,3 @@ <Radio mb={number('Radio marginBottom', 9)}>Radio Example</Radio>

<Select label="example" mb={number('Select marginBottom', 9)}>Select Example</Select>
<Tag mb={number('Tag marginBottom', 9)}>Tag</Tag>
<TextArea mb={number('TextArea marginBottom', 9)}>TextArea Example</TextArea>

@@ -151,0 +151,0 @@ <UnorderedList mb={number('UnorderedList marginBottom', 9)}>UnorderedList Example</UnorderedList>

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