@govuk-react/search-box
Advanced tools
Comparing version 0.7.0 to 0.7.1
import React from 'react'; | ||
import { storiesOf } from '@storybook/react'; | ||
import { WithDocsCustom } from '@govuk-react/storybook-components'; | ||
import { withDocsCustom } from '@govuk-react/storybook-components'; | ||
import Layout from '@govuk-react/layout'; | ||
@@ -10,3 +10,3 @@ import GridRow from '@govuk-react/grid-row'; | ||
var stories = storiesOf('Form/SearchBox', module); | ||
stories.addDecorator(WithDocsCustom(ReadMe)); | ||
stories.addDecorator(withDocsCustom(ReadMe)); | ||
stories.add('Component default', function () { | ||
@@ -13,0 +13,0 @@ return React.createElement(Layout, null, React.createElement(GridRow, null, React.createElement(GridCol, null, React.createElement(SearchBox, { |
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import { mount } from 'enzyme'; | ||
import SearchBox from './'; | ||
import SearchBox from '.'; | ||
var example = 'example'; | ||
@@ -6,0 +6,0 @@ var wrapper = React.createElement(SearchBox, { |
@@ -22,3 +22,3 @@ "use strict"; | ||
var stories = (0, _react2.storiesOf)('Form/SearchBox', module); | ||
stories.addDecorator((0, _storybookComponents.WithDocsCustom)(_README.default)); | ||
stories.addDecorator((0, _storybookComponents.withDocsCustom)(_README.default)); | ||
stories.add('Component default', function () { | ||
@@ -25,0 +25,0 @@ return _react.default.createElement(_layout.default, null, _react.default.createElement(_gridRow.default, null, _react.default.createElement(_gridCol.default, null, _react.default.createElement(_.default, { |
@@ -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/search-box", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"dependencies": { | ||
"@govuk-react/constants": "^0.7.0", | ||
"@govuk-react/icons": "^0.7.0", | ||
"@govuk-react/lib": "^0.7.0", | ||
"@govuk-react/constants": "^0.7.1", | ||
"@govuk-react/icons": "^0.7.1", | ||
"@govuk-react/lib": "^0.7.1", | ||
"govuk-colours": "^1.0.3" | ||
@@ -9,0 +9,0 @@ }, |
@@ -19,3 +19,3 @@ // https://govuk-static.herokuapp.com/component-guide/search | ||
}, | ||
spacing.withWhiteSpace({ marginBottom: 0 }), | ||
spacing.withWhiteSpace({ marginBottom: 0 }) | ||
); | ||
@@ -22,0 +22,0 @@ |
import React from 'react'; | ||
import { storiesOf } from '@storybook/react'; | ||
import { WithDocsCustom } from '@govuk-react/storybook-components'; | ||
import { withDocsCustom } from '@govuk-react/storybook-components'; | ||
@@ -14,3 +14,3 @@ import Layout from '@govuk-react/layout'; | ||
stories.addDecorator(WithDocsCustom(ReadMe)); | ||
stories.addDecorator(withDocsCustom(ReadMe)); | ||
@@ -17,0 +17,0 @@ stories.add('Component default', () => ( |
@@ -5,3 +5,3 @@ import React from 'react'; | ||
import SearchBox from './'; | ||
import SearchBox from '.'; | ||
@@ -8,0 +8,0 @@ const example = 'example'; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36170
Updated@govuk-react/icons@^0.7.1
Updated@govuk-react/lib@^0.7.1