@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.
@@ -5392,30 +5392,29 @@ var useWindowDimensions = function (breakpoints) {
5392
5392
  };
5393
5393
 
5394
5394
  var getStylesBySize$a = function (size, theme) {
5395
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5395
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
5396
5396
  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);
5397
5397
  switch (size) {
5398
5398
  case ComponentSize.Large:
5399
5399
  return {
5400
- 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',
5401
- finalPricefontSize: ((_c = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.largeFontSize) === null || _c === void 0 ? void 0 : _c.large) || '20px',
5402
- finalPricefontSizeSmall: ((_d = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.smallFontSize) === null || _d === void 0 ? void 0 : _d.large) || '14px',
5400
+ finalPricefontSize: ((_b = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.largeFontSize) === null || _b === void 0 ? void 0 : _b.large) || '20px',
5401
+ finalPricefontSizeSmall: ((_c = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.smallFontSize) === null || _c === void 0 ? void 0 : _c.large) || '14px',
5403
5402
  margin: '0 0 0 0.75rem',
5404
5403
  lineHeight: '2rem',
5405
5404
  };
5406
5405
  case ComponentSize.Medium:
5407
5406
  return {
5408
- 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',
5409
- finalPricefontSize: ((_f = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.largeFontSize) === null || _f === void 0 ? void 0 : _f.medium) || '20px',
5410
- finalPricefontSizeSmall: ((_g = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.smallFontSize) === null || _g === void 0 ? void 0 : _g.medium) || '14px',
5407
+ 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',
5408
+ finalPricefontSize: ((_e = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.largeFontSize) === null || _e === void 0 ? void 0 : _e.medium) || '20px',
5409
+ finalPricefontSizeSmall: ((_f = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.smallFontSize) === null || _f === void 0 ? void 0 : _f.medium) || '14px',
5411
5410
  margin: '0 0 0 0.5rem',
5412
5411
  lineHeight: '1.25rem',
5413
5412
  };
5414
5413
  case ComponentSize.Small:
5415
5414
  return {
5416
- fontSize: ((_h = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.defaultFontSize) === null || _h === void 0 ? void 0 : _h.small) || '14px',
5417
- finalPricefontSize: ((_j = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.largeFontSize) === null || _j === void 0 ? void 0 : _j.small) || '20px',
5418
- finalPricefontSizeSmall: ((_k = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.smallFontSize) === null || _k === void 0 ? void 0 : _k.small) || '14px',
5415
+ fontSize: ((_g = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.defaultFontSize) === null || _g === void 0 ? void 0 : _g.small) || '14px',
5416
+ finalPricefontSize: ((_h = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.largeFontSize) === null || _h === void 0 ? void 0 : _h.small) || '20px',
5417
+ finalPricefontSizeSmall: ((_j = theme === null || theme === void 0 ? void 0 : theme.component.pricing.priceLabel.price.smallFontSize) === null || _j === void 0 ? void 0 : _j.small) || '14px',
5419
5418
  margin: '0 0 0 0.5rem',
5420
5419
  lineHeight: '1.25rem',
5421
5420
  };