@hyphen/hyphen-components 6.2.1 → 6.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -168,7 +168,9 @@ value) {
168
168
  var classes = [];
169
169
  if (typeof value === 'object') {
170
170
  Object.keys(value).forEach(function (key) {
171
- var baseClass = classRoot + "-" + value[key];
171
+ var classValue = value[key];
172
+ if (classValue === undefined || classValue === null) return;
173
+ var baseClass = classRoot + "-" + classValue;
172
174
  var responsiveClass = key === 'base' ? baseClass : baseClass + "-" + key;
173
175
  classes.push(responsiveClass);
174
176
  });