@govuk-react/label-text
Advanced tools
Comparing version 0.5.1 to 0.6.0-alpha.0
var _styled; | ||
import styled from 'react-emotion'; | ||
import styled from 'styled-components'; | ||
import React from 'react'; | ||
@@ -9,8 +9,3 @@ import PropTypes from 'prop-types'; | ||
import { FONT_SIZE, LINE_HEIGHT, MEDIA_QUERIES, NTA_LIGHT } from '@govuk-react/constants'; | ||
var StyledLabelText = | ||
/*#__PURE__*/ | ||
styled('span', { | ||
target: "e4cq3wl0", | ||
label: "StyledLabelText" | ||
})((_styled = { | ||
var StyledLabelText = styled('span')((_styled = { | ||
fontFamily: NTA_LIGHT, | ||
@@ -17,0 +12,0 @@ WebkitFontSmoothing: 'antialiased', |
@@ -6,3 +6,3 @@ "use strict"; | ||
var _reactEmotion = _interopRequireDefault(require("react-emotion")); | ||
var _styledComponents = _interopRequireDefault(require("styled-components")); | ||
@@ -23,8 +23,3 @@ var _react = _interopRequireDefault(require("react")); | ||
var StyledLabelText = | ||
/*#__PURE__*/ | ||
(0, _reactEmotion.default)('span', { | ||
target: "e4cq3wl0", | ||
label: "StyledLabelText" | ||
})((_styled = { | ||
var StyledLabelText = (0, _styledComponents.default)('span')((_styled = { | ||
fontFamily: _constants.NTA_LIGHT, | ||
@@ -31,0 +26,0 @@ WebkitFontSmoothing: 'antialiased', |
{ | ||
"name": "@govuk-react/label-text", | ||
"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": { |
@@ -1,2 +0,2 @@ | ||
import styled from 'react-emotion'; | ||
import styled from 'styled-components'; | ||
import React from 'react'; | ||
@@ -3,0 +3,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
27301
5
267
+ 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)