@symbo.ls/atoms
Advanced tools
Comparing version 2.11.380 to 2.11.385
17
Block.js
@@ -174,8 +174,15 @@ 'use strict' | ||
display: 'flex', | ||
flexFlow: props.flexWrap | ||
flexFlow: (props.flexFlow || 'row').split(' ')[0] + ' ' + props.flexWrap | ||
}), | ||
flexFlow: ({ props }) => !isUndefined(props.flexFlow) && ({ | ||
display: 'flex', | ||
flexFlow: props.flexFlow + (props.reverse ? '-reverse' : '') | ||
}), | ||
flexFlow: ({ props }) => { | ||
const { flexFlow, reverse } = props | ||
if (!isString(flexFlow)) return | ||
let [direction, wrap] = (flexFlow || 'row').split(' ') | ||
if (flexFlow.startsWith('x') || flexFlow === 'row') direction = 'row' | ||
if (flexFlow.startsWith('y') || flexFlow === 'column') direction = 'column' | ||
return { | ||
display: 'flex', | ||
flexFlow: (direction || '') + (!direction.includes('-reverse') && reverse ? '-reverse' : '') + ' ' + (wrap || '') | ||
} | ||
}, | ||
flexAlign: ({ props }) => { | ||
@@ -182,0 +189,0 @@ if (!isString(props.flexAlign)) return |
{ | ||
"name": "@symbo.ls/atoms", | ||
"version": "2.11.380", | ||
"version": "2.11.385", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"gitHead": "e7cf06697ab58d0d31fdcafddc125cc03d16dd22", | ||
"gitHead": "93391bf4aa83345d6883d7bedbdbfb80a0e588b9", | ||
"dependencies": { | ||
@@ -8,0 +8,0 @@ "@domql/state": "latest", |
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
52387
1447