Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@styled-system/position

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@styled-system/position - npm Package Compare versions

Comparing version 5.0.14 to 5.0.15

27

dist/index.esm.js
import { system } from '@styled-system/core';
var defaults = {
space: [0, 4, 8, 16, 32, 64, 128, 256, 512]
};
var config = {

@@ -8,8 +11,24 @@ position: true,

},
top: true,
right: true,
bottom: true,
left: true
top: {
property: 'top',
scale: 'space',
defaultScale: defaults.space
},
right: {
property: 'right',
scale: 'space',
defaultScale: defaults.space
},
bottom: {
property: 'bottom',
scale: 'space',
defaultScale: defaults.space
},
left: {
property: 'left',
scale: 'space',
defaultScale: defaults.space
}
};
export var position = system(config);
export default position;

@@ -8,2 +8,5 @@ "use strict";

var defaults = {
space: [0, 4, 8, 16, 32, 64, 128, 256, 512]
};
var config = {

@@ -15,6 +18,22 @@ position: true,

},
top: true,
right: true,
bottom: true,
left: true
top: {
property: 'top',
scale: 'space',
defaultScale: defaults.space
},
right: {
property: 'right',
scale: 'space',
defaultScale: defaults.space
},
bottom: {
property: 'bottom',
scale: 'space',
defaultScale: defaults.space
},
left: {
property: 'left',
scale: 'space',
defaultScale: defaults.space
}
};

@@ -21,0 +40,0 @@ var position = (0, _core.system)(config);

6

package.json
{
"name": "@styled-system/position",
"version": "5.0.14",
"version": "5.0.15",
"main": "dist/index.js",

@@ -9,3 +9,3 @@ "module": "dist/index.esm.js",

"dependencies": {
"@styled-system/core": "^5.0.12"
"@styled-system/core": "^5.0.15"
},

@@ -15,3 +15,3 @@ "publishConfig": {

},
"gitHead": "0a42765abf8d3183aa7b79b527118db86788eb90"
"gitHead": "b5a2fad93c1d8a21e9669270167e750890249c46"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc