@symbo.ls/atoms
Advanced tools
Comparing version 2.11.332 to 2.11.333
26
Block.js
@@ -39,3 +39,3 @@ 'use strict' | ||
boxSize: ({ props, deps }) => { | ||
if (typeof props.boxSize !== 'string') return | ||
if (!isString(props.boxSize)) return | ||
const [height, width] = props.boxSize.split(' ') | ||
@@ -51,3 +51,3 @@ return { | ||
widthRange: ({ props, deps }) => { | ||
if (typeof props.widthRange !== 'string') return | ||
if (!isString(props.widthRange)) return | ||
const [minWidth, maxWidth] = props.widthRange.split(' ') | ||
@@ -63,3 +63,3 @@ return { | ||
heightRange: ({ props, deps }) => { | ||
if (typeof props.heightRange !== 'string') return | ||
if (!isString(props.heightRange)) return | ||
const [minHeight, maxHeight] = props.heightRange.split(' ') | ||
@@ -73,4 +73,4 @@ return { | ||
minSize: ({ props, deps }) => { | ||
if (typeof props.heightRange !== 'string') return | ||
const [minHeight, minWidth] = props.heightRange.split(' ') | ||
if (!isString(props.minSize)) return | ||
const [minHeight, minWidth] = props.minSize.split(' ') | ||
return { | ||
@@ -83,4 +83,4 @@ ...deps.transformSize('minHeight', minHeight), | ||
maxSize: ({ props, deps }) => { | ||
if (typeof props.heightRange !== 'string') return | ||
const [maxHeight, maxWidth] = props.heightRange.split(' ') | ||
if (!isString(props.maxSize)) return | ||
const [maxHeight, maxWidth] = props.maxSize.split(' ') | ||
return { | ||
@@ -105,3 +105,3 @@ ...deps.transformSize('maxHeight', maxHeight), | ||
paddingInline: ({ props, deps }) => { | ||
if (typeof props.paddingInline !== 'string') return | ||
if (!isString(props.paddingInline)) return | ||
const [paddingInlineStart, paddingInlineEnd] = props.paddingInline.split(' ') | ||
@@ -128,3 +128,3 @@ return { | ||
marginInline: ({ props, deps }) => { | ||
if (typeof props.marginInline !== 'string') return | ||
if (!isString(props.marginInline)) return | ||
const [marginInlineStart, marginInlineEnd] = props.marginInline.split(' ') | ||
@@ -137,3 +137,3 @@ return { | ||
marginBlock: ({ props, deps }) => { | ||
if (typeof props.marginBlock !== 'string') return | ||
if (!isString(props.marginBlock)) return | ||
const [marginBlockStart, marginBlockEnd] = props.marginBlock.split(' ') | ||
@@ -189,3 +189,3 @@ return { | ||
flexAlign: ({ props }) => { | ||
if (typeof props.flexAlign !== 'string') return | ||
if (!isString(props.flexAlign)) return | ||
const [alignItems, justifyContent] = props.flexAlign.split(' ') | ||
@@ -213,3 +213,3 @@ return { | ||
size: ({ props, deps }) => { | ||
if (typeof props.heightRange !== 'string') return | ||
if (!isString(props.heightRange)) return | ||
const [minHeight, maxHeight] = props.heightRange.split(' ') | ||
@@ -264,3 +264,3 @@ return { | ||
size: ({ props, deps }) => { | ||
if (typeof props.size !== 'string') return | ||
if (!isString(props.size)) return | ||
const [height, width] = props.size.split(' ') | ||
@@ -267,0 +267,0 @@ return { |
{ | ||
"name": "@symbo.ls/atoms", | ||
"version": "2.11.332", | ||
"version": "2.11.333", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"gitHead": "5a8120f35d72a396dacf5f679a751e4475a81b2a", | ||
"gitHead": "8c0ee0deb6786d87ae0ece3b87462269af4db917", | ||
"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
50800