@symbo.ls/atoms
Advanced tools
Comparing version 2.11.423 to 2.11.424
{ | ||
"name": "@symbo.ls/atoms", | ||
"version": "2.11.423", | ||
"version": "2.11.424", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"gitHead": "1026d12cce4794bf91324f62f9f8eb4c6e07952a", | ||
"gitHead": "3708811dd9976df392626400dd5560e1b11237b1", | ||
"dependencies": { | ||
@@ -8,0 +8,0 @@ "@domql/state": "latest", |
@@ -10,6 +10,6 @@ 'use strict' | ||
position: ({ props }) => props.position && ({ position: props.position }), | ||
inset: ({ props, deps }) => { | ||
inset: ({ props, deps, context }) => { | ||
const { inset } = props | ||
if (typeof inset !== 'number') return ({ inset }) | ||
if (typeof inset !== 'string') return | ||
if (context.utils.isNumber(inset)) return ({ inset }) | ||
if (!context.utils.isString(inset)) return | ||
return { inset: inset.split(' ').map(v => deps.getSpacingByKey(v, 'k').k).join(' ') } | ||
@@ -16,0 +16,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
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
53845