@propellerads/collapser
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "@propellerads/collapser", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"main": "index.jsx", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/propellerads/ui-components", |
@@ -6,2 +6,3 @@ import styled, {css} from 'styled-components'; | ||
fontBig, | ||
fontBigger, | ||
successColor, | ||
@@ -11,14 +12,17 @@ } from '@propellerads/stylevariables'; | ||
const StyledCollapser = styled.div` | ||
padding: ${spacing * 5}px 0; | ||
border-top: 1px solid ${gray95}; | ||
border-bottom: 1px solid ${gray95}; | ||
margin: -1px 0 0 0; | ||
padding: ${spacing * 5}px 0; | ||
border-top: 1px solid ${gray95}; | ||
border-bottom: 1px solid ${gray95}; | ||
margin: -1px 0 0 0; | ||
& > .Button { | ||
width: 100%; | ||
} | ||
& > .Button { | ||
width: 100%; | ||
} | ||
`; | ||
const CollapserTitle = styled.div` | ||
font-size: ${(props) => props.isCollapsed && `${fontBig}px`}; | ||
font-size: ${(props) => `${props.isCollapsed ? fontBig : fontBigger}px`}; | ||
font-weight: 500; | ||
cursor: pointer; | ||
outline: 0; | ||
@@ -47,2 +51,3 @@ ${(props) => props.isNewFeature && css` | ||
align-items: center; | ||
width: 100%; | ||
`; | ||
@@ -49,0 +54,0 @@ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
3533
4
113
1