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

@symbo.ls/atoms

Package Overview
Dependencies
Maintainers
5
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbo.ls/atoms - npm Package Compare versions

Comparing version 2.11.305 to 2.11.306

6

Flex.js

@@ -12,5 +12,5 @@ 'use strict'

flow: ({ props }) => {
const { flow } = props
if (isUndefined(flow)) return
let [direction, wrap] = flow.split(' ')
const { flow, reverse } = props
if (isUndefined(flow) && isUndefined(reverse)) return
let [direction, wrap] = (flow || 'row').split(' ')
if (flow.startsWith('x') || flow.startsWith('row')) direction = 'row'

@@ -17,0 +17,0 @@ if (flow.startsWith('y') || flow.startsWith('column')) direction = 'column'

{
"name": "@symbo.ls/atoms",
"version": "2.11.305",
"version": "2.11.306",
"main": "index.js",
"license": "MIT",
"gitHead": "14569e713ad6d47a3be207df9f23dc0338a2d562",
"gitHead": "1e09060438775f1b9cf1c5d6305024faefc05bfc",
"dependencies": {

@@ -8,0 +8,0 @@ "@domql/state": "latest",

@@ -19,4 +19,24 @@ 'use strict'

right: ({ props, deps }) => deps.getSpacingByKey(props.right, 'right'),
bottom: ({ props, deps }) => deps.getSpacingByKey(props.bottom, 'bottom')
bottom: ({ props, deps }) => deps.getSpacingByKey(props.bottom, 'bottom'),
verticalInset: ({ props, deps }) => {
const { verticalInset } = props
if (typeof verticalInset !== 'string') return
const vi = verticalInset.split(' ').map(v => deps.getSpacingByKey(v, 'k').k)
return {
top: vi[0],
bottom: vi[1] || vi[0]
}
},
horizontalInset: ({ props, deps }) => {
const { horizontalInset } = props
if (typeof horizontalInset !== 'string') return
const vi = horizontalInset.split(' ').map(v => deps.getSpacingByKey(v, 'k').k)
return {
left: vi[0],
right: vi[1] || vi[0]
}
}
}
}
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