@govuk-react/label
Advanced tools
Comparing version 0.5.1 to 0.6.0-alpha.0
// https://github.com/alphagov/govuk-frontend/tree/master/src/components/ | ||
import styled from 'react-emotion'; | ||
import styled from 'styled-components'; | ||
import React from 'react'; | ||
@@ -8,8 +8,3 @@ import PropTypes from 'prop-types'; | ||
import { withWhiteSpace } from '@govuk-react/hoc'; | ||
var StyledLabel = | ||
/*#__PURE__*/ | ||
styled('label', { | ||
target: "e8m0ko70", | ||
label: "StyledLabel" | ||
})({ | ||
var StyledLabel = styled('label')({ | ||
display: 'flex', | ||
@@ -16,0 +11,0 @@ flexDirection: 'column', |
@@ -6,3 +6,3 @@ "use strict"; | ||
var _reactEmotion = _interopRequireDefault(require("react-emotion")); | ||
var _styledComponents = _interopRequireDefault(require("styled-components")); | ||
@@ -22,8 +22,3 @@ var _react = _interopRequireDefault(require("react")); | ||
// https://github.com/alphagov/govuk-frontend/tree/master/src/components/ | ||
var StyledLabel = | ||
/*#__PURE__*/ | ||
(0, _reactEmotion.default)('label', { | ||
target: "e8m0ko70", | ||
label: "StyledLabel" | ||
})({ | ||
var StyledLabel = (0, _styledComponents.default)('label')({ | ||
display: 'flex', | ||
@@ -30,0 +25,0 @@ flexDirection: 'column', |
{ | ||
"name": "@govuk-react/label", | ||
"version": "0.5.1", | ||
"version": "0.6.0-alpha.0", | ||
"dependencies": { | ||
"@govuk-react/constants": "^0.5.1", | ||
"@govuk-react/hoc": "^0.5.1", | ||
"@govuk-react/constants": "^0.6.0-alpha.0", | ||
"@govuk-react/hoc": "^0.6.0-alpha.0", | ||
"govuk-colours": "^1.0.3" | ||
}, | ||
"peerDependencies": { | ||
"emotion": ">=9", | ||
"react": ">=16.2.0", | ||
"react-emotion": ">=9" | ||
"styled-components": ">=4" | ||
}, | ||
@@ -14,0 +13,0 @@ "scripts": { |
// https://github.com/alphagov/govuk-frontend/tree/master/src/components/ | ||
import styled from 'react-emotion'; | ||
import styled from 'styled-components'; | ||
import React from 'react'; | ||
@@ -5,0 +5,0 @@ import PropTypes from 'prop-types'; |
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
23833
5
230
+ Added@emotion/is-prop-valid@1.2.2(transitive)
+ Added@emotion/memoize@0.8.1(transitive)
+ Added@emotion/unitless@0.8.1(transitive)
+ Added@govuk-react/constants@0.6.0(transitive)
+ Added@govuk-react/hoc@0.6.0(transitive)
+ Added@govuk-react/icons@0.6.0(transitive)
+ Added@govuk-react/lib@0.6.0(transitive)
+ Added@govuk-react/link@0.6.0(transitive)
+ Added@types/stylis@4.2.5(transitive)
+ Addedcamelize@1.0.1(transitive)
+ Addedcss-color-keywords@1.0.0(transitive)
+ Addedcss-to-react-native@3.2.0(transitive)
+ Addedcsstype@3.1.3(transitive)
+ Addednanoid@3.3.7(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedpostcss@8.4.38(transitive)
+ Addedpostcss-value-parser@4.2.0(transitive)
+ Addedreact-dom@18.3.1(transitive)
+ Addedscheduler@0.23.2(transitive)
+ Addedshallowequal@1.1.0(transitive)
+ Addedsource-map-js@1.2.1(transitive)
+ Addedstyled-components@6.1.13(transitive)
+ Addedstylis@4.3.2(transitive)
+ Addedtslib@2.6.2(transitive)
- Removed@govuk-react/constants@0.5.1(transitive)
- Removed@govuk-react/hoc@0.5.1(transitive)
- Removed@govuk-react/icons@0.5.1(transitive)
- Removed@govuk-react/lib@0.5.1(transitive)
- Removedemotion@11.0.0(transitive)
- Removedreact-emotion@10.0.0(transitive)