@hyphen/hyphen-components 6.2.0 → 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.
@@ -139,7 +139,9 @@ value) {
139
139
  var classes = [];
140
140
  if (typeof value === 'object') {
141
141
  Object.keys(value).forEach(function (key) {
142
- var baseClass = classRoot + "-" + value[key];
142
+ var classValue = value[key];
143
+ if (classValue === undefined || classValue === null) return;
144
+ var baseClass = classRoot + "-" + classValue;
143
145
  var responsiveClass = key === 'base' ? baseClass : baseClass + "-" + key;
144
146
  classes.push(responsiveClass);
145
147
  });