Comparing version 0.0.3 to 0.0.4
@@ -73,2 +73,6 @@ var styled = require('styled-components'); | ||
if (props.padding) { | ||
Object.assign(styles, edgeStyle('padding', props.padding)); | ||
} | ||
return styles; | ||
@@ -75,0 +79,0 @@ }; |
@@ -72,2 +72,6 @@ import styled, { css } from 'styled-components'; | ||
if (props.padding) { | ||
Object.assign(styles, edgeStyle('padding', props.padding)); | ||
} | ||
return styles; | ||
@@ -74,0 +78,0 @@ }; |
@@ -69,2 +69,6 @@ import styled, { css } from 'styled-components'; | ||
if (props.padding) { | ||
Object.assign(styles, edgeStyle('padding', props.padding)); | ||
} | ||
return styles; | ||
@@ -71,0 +75,0 @@ }; |
@@ -76,2 +76,6 @@ (function (global, factory) { | ||
if (props.padding) { | ||
Object.assign(styles, edgeStyle('padding', props.padding)); | ||
} | ||
return styles; | ||
@@ -78,0 +82,0 @@ }; |
@@ -67,2 +67,3 @@ import { CSSObject, DefaultTheme, FlattenSimpleInterpolation } from 'styled-components'; | ||
margin?: SizeT | Area; | ||
padding?: SizeT | Area; | ||
} | ||
@@ -69,0 +70,0 @@ export declare const genericStyles: (props: GenericPropsI & { |
{ | ||
"name": "boxible", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Typescript React component to set flexbox properties on a element", | ||
@@ -45,2 +45,3 @@ "repository": "https://github.com/nathanstitt/boxible", | ||
"@types/node": "^15.0.2", | ||
"@types/react-test-renderer": "^17.0.1", | ||
"@types/styled-components": "^5.1.9", | ||
@@ -75,5 +76,3 @@ "@typescript-eslint/eslint-plugin": "^4.23.0", | ||
], | ||
"dependencies": { | ||
"@types/react-test-renderer": "^17.0.1" | ||
} | ||
"dependencies": {} | ||
} |
@@ -80,2 +80,3 @@ import { css, CSSObject, DefaultTheme, FlattenSimpleInterpolation } from 'styled-components' | ||
margin?: SizeT | Area | ||
padding?: SizeT | Area | ||
} | ||
@@ -94,2 +95,5 @@ | ||
} | ||
if (props.padding) { | ||
Object.assign(styles, edgeStyle('padding', props.padding)) | ||
} | ||
return styles | ||
@@ -96,0 +100,0 @@ } |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
102082
2
1326
0
34
+ Addednanoid@3.3.8(transitive)
- Removed@types/react-test-renderer@^17.0.1
- Removed@types/prop-types@15.7.13(transitive)
- Removed@types/react@17.0.83(transitive)
- Removed@types/react-test-renderer@17.0.9(transitive)
- Removed@types/scheduler@0.16.8(transitive)
- Removednanoid@3.3.7(transitive)