@trafilea/afrodita-components 5.0.0-beta.319 → 5.0.0-beta.320

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.
package/build/index.js CHANGED
@@ -5418,30 +5418,29 @@ var useWindowDimensions = function (breakpoints) {
5418
5418
  };
5419
5419
 
5420
5420
  var getStylesBySize$a = function (size, theme) {
5421
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5421
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
5422
5422
  console.log('fontsize:', (_a = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.largeFontSize) === null || _a === void 0 ? void 0 : _a.large);
5423
5423
  switch (size) {
5424
5424
  case exports.ComponentSize.Large:
5425
5425
  return {
5426
- fontSize: ((_b = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.defaultFontSize) === null || _b === void 0 ? void 0 : _b.large) || '1.5rem',
5427
- finalPricefontSize: ((_c = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.largeFontSize) === null || _c === void 0 ? void 0 : _c.large) || '20px',
5428
- finalPricefontSizeSmall: ((_d = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.smallFontSize) === null || _d === void 0 ? void 0 : _d.large) || '14px',
5426
+ finalPricefontSize: ((_b = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.largeFontSize) === null || _b === void 0 ? void 0 : _b.large) || '20px',
5427
+ finalPricefontSizeSmall: ((_c = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.smallFontSize) === null || _c === void 0 ? void 0 : _c.large) || '14px',
5429
5428
  margin: '0 0 0 0.75rem',
5430
5429
  lineHeight: '2rem',
5431
5430
  };
5432
5431
  case exports.ComponentSize.Medium:
5433
5432
  return {
5434
- fontSize: ((_e = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.defaultFontSize) === null || _e === void 0 ? void 0 : _e.medium) || '1.125rem',
5435
- finalPricefontSize: ((_f = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.largeFontSize) === null || _f === void 0 ? void 0 : _f.medium) || '20px',
5436
- finalPricefontSizeSmall: ((_g = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.smallFontSize) === null || _g === void 0 ? void 0 : _g.medium) || '14px',
5433
+ fontSize: ((_d = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.defaultFontSize) === null || _d === void 0 ? void 0 : _d.medium) || '1.125rem',
5434
+ finalPricefontSize: ((_e = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.largeFontSize) === null || _e === void 0 ? void 0 : _e.medium) || '20px',
5435
+ finalPricefontSizeSmall: ((_f = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.smallFontSize) === null || _f === void 0 ? void 0 : _f.medium) || '14px',
5437
5436
  margin: '0 0 0 0.5rem',
5438
5437
  lineHeight: '1.25rem',
5439
5438
  };
5440
5439
  case exports.ComponentSize.Small:
5441
5440
  return {
5442
- fontSize: ((_h = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.defaultFontSize) === null || _h === void 0 ? void 0 : _h.small) || '14px',
5443
- finalPricefontSize: ((_j = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.largeFontSize) === null || _j === void 0 ? void 0 : _j.small) || '20px',
5444
- finalPricefontSizeSmall: ((_k = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.smallFontSize) === null || _k === void 0 ? void 0 : _k.small) || '14px',
5441
+ fontSize: ((_g = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.defaultFontSize) === null || _g === void 0 ? void 0 : _g.small) || '14px',
5442
+ finalPricefontSize: ((_h = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.largeFontSize) === null || _h === void 0 ? void 0 : _h.small) || '20px',
5443
+ finalPricefontSizeSmall: ((_j = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.smallFontSize) === null || _j === void 0 ? void 0 : _j.small) || '14px',
5445
5444
  margin: '0 0 0 0.5rem',
5446
5445
  lineHeight: '1.25rem',
5447
5446
  };