@betty-blocks/option-helpers
Advanced tools
Comparing version 22.51.0 to 22.51.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [22.51.1](https://gitlab.betty.services/code/js-mono/compare/v22.51.0...v22.51.1) (2019-10-25) | ||
### Bug Fixes | ||
* additional checks on theme ([c153512](https://gitlab.betty.services/code/js-mono/commit/c153512)) | ||
# [22.51.0](https://gitlab.betty.services/code/js-mono/compare/v22.50.1...v22.51.0) (2019-10-24) | ||
@@ -8,0 +19,0 @@ |
@@ -385,3 +385,3 @@ 'use strict'; | ||
function createOptionHelpers(_, t) { | ||
const theme = typeof t === 'object' && new Styling(t); | ||
const theme = t && t.colors && t.typography ? new Styling(t) : {}; | ||
return { | ||
@@ -388,0 +388,0 @@ Styling, |
@@ -381,3 +381,3 @@ const XS = 'XS'; | ||
function createOptionHelpers(_, t) { | ||
const theme = typeof t === 'object' && new Styling(t); | ||
const theme = t && t.colors && t.typography ? new Styling(t) : {}; | ||
return { | ||
@@ -384,0 +384,0 @@ Styling, |
{ | ||
"name": "@betty-blocks/option-helpers", | ||
"version": "22.51.0", | ||
"version": "22.51.1", | ||
"main": "dist/bundle.cjs.js", | ||
@@ -42,3 +42,3 @@ "module": "dist/bundle.esm.js", | ||
}, | ||
"gitHead": "facb48abbcf680b29e68d8d3be8f7bf40717f594" | ||
"gitHead": "b2354da49dda43fdb79007956e45909468cc65cf" | ||
} |
24548