@trafilea/afrodita-components 4.0.2-beta.0 → 4.0.2-beta.1

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.
@@ -3287,6 +3287,7 @@ var CardBody = function (_a) {
3287
3287
  };
3288
3288
  var templateObject_1$_;
3289
3289
 
3290
+ var IGNORED_KEYS = ['typography', 'fonts'];
3290
3291
  var applyVariablesIntoTheme = function (theme) {
3291
3292
  var variables = {};
3292
3293
  var pending = {};
@@ -3299,6 +3300,11 @@ var applyVariablesIntoTheme = function (theme) {
3299
3300
  }
3300
3301
  variables[key] = variables[valueKey];
3301
3302
  }
3303
+ for (var _i = 0, IGNORED_KEYS_1 = IGNORED_KEYS; _i < IGNORED_KEYS_1.length; _i++) {
3304
+ var key = IGNORED_KEYS_1[_i];
3305
+ // @ts-ignore
3306
+ variables[key] = theme[key];
3307
+ }
3302
3308
  return variablesToObject(variables, {});
3303
3309
  };
3304
3310
  var variablesToObject = function (variables, theme) {
@@ -3326,6 +3332,9 @@ var transformToVariables = function (prefix, variables, theme, pending) {
3326
3332
  /* istanbul ignore next */
3327
3333
  var fullKey = key === '$root' ? prefix : "".concat(prefix, "-").concat(key);
3328
3334
  var value = theme[key];
3335
+ if (IGNORED_KEYS.includes(key)) {
3336
+ continue;
3337
+ }
3329
3338
  if (value == null) {
3330
3339
  continue;
3331
3340
  }