Comparing version 0.4.4 to 0.4.5
@@ -92,6 +92,11 @@ "use strict" | ||
} | ||
renderers.forEach((fn) => | ||
KEYS.forEach((key) => { | ||
const keys = fn.options[key] | ||
if (keys) push.apply(composedOptions[key], keys) | ||
renderers.forEach((renderer) => | ||
KEYS.forEach((optionsKey) => { | ||
const composedKeys = composedOptions[optionsKey] | ||
const rendererKeys = renderer.options[optionsKey] | ||
if (rendererKeys) { | ||
rendererKeys.forEach((key) => { | ||
if (!composedKeys.includes(key)) composedKeys.push(key) | ||
}) | ||
} | ||
}) | ||
@@ -98,0 +103,0 @@ ) |
@@ -88,6 +88,11 @@ const PX_SCALE = [0, 2, 4, 8, 16, 32, 64, 128, 256, 512] | ||
} | ||
renderers.forEach((fn) => | ||
KEYS.forEach((key) => { | ||
const keys = fn.options[key] | ||
if (keys) push.apply(composedOptions[key], keys) | ||
renderers.forEach((renderer) => | ||
KEYS.forEach((optionsKey) => { | ||
const composedKeys = composedOptions[optionsKey] | ||
const rendererKeys = renderer.options[optionsKey] | ||
if (rendererKeys) { | ||
rendererKeys.forEach((key) => { | ||
if (!composedKeys.includes(key)) composedKeys.push(key) | ||
}) | ||
} | ||
}) | ||
@@ -94,0 +99,0 @@ ) |
{ | ||
"name": "onno", | ||
"license": "MIT", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"homepage": "https://onnojs.com", | ||
@@ -33,3 +33,3 @@ "description": "Responsive style props for building themed design systems", | ||
}, | ||
"gitHead": "4addb96e57bac9689264f2018a7c88577011212b" | ||
"gitHead": "82608cd1bc7d7419f432047fd4307fd37a12a2b6" | ||
} |
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
119117
4072