@trafilea/afrodita-components 6.35.2 → 6.35.3

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.
@@ -3541,7 +3541,7 @@ var PriceLabelV3 = function (_a) {
3541
3541
  var isOriginalPrice = originalPrice && isDiffFinalAndOriginalPrice;
3542
3542
  var isDiscount = discount && isDiffFinalAndOriginalPrice;
3543
3543
  var isClubOffer = clubOffer && isDiffFinalAndOriginalPrice;
3544
- var supportedCurrencies = ['A$', 'CA$', '£'];
3544
+ var supportedCurrencies = ['AU$', 'CA$', '£'];
3545
3545
  var currencySymbol = '$';
3546
3546
  if (typeof finalPrice === 'string') {
3547
3547
  supportedCurrencies.forEach(function (availableCurrency) {
@@ -3559,7 +3559,7 @@ var PriceLabelV3 = function (_a) {
3559
3559
  size: ComponentSize.Small,
3560
3560
  color: isClubOffer
3561
3561
  ? 'var(--colors-pallete-wine-color)'
3562
- : color || theme.colors.pallete.secondary.color,
3562
+ : color !== null && color !== void 0 ? color : theme.colors.pallete.secondary.color,
3563
3563
  weight: 700,
3564
3564
  };
3565
3565
  var originalPriceNum, finalPriceNum;
package/build/index.js CHANGED
@@ -3567,7 +3567,7 @@ var PriceLabelV3 = function (_a) {
3567
3567
  var isOriginalPrice = originalPrice && isDiffFinalAndOriginalPrice;
3568
3568
  var isDiscount = discount && isDiffFinalAndOriginalPrice;
3569
3569
  var isClubOffer = clubOffer && isDiffFinalAndOriginalPrice;
3570
- var supportedCurrencies = ['A$', 'CA$', '£'];
3570
+ var supportedCurrencies = ['AU$', 'CA$', '£'];
3571
3571
  var currencySymbol = '$';
3572
3572
  if (typeof finalPrice === 'string') {
3573
3573
  supportedCurrencies.forEach(function (availableCurrency) {
@@ -3585,7 +3585,7 @@ var PriceLabelV3 = function (_a) {
3585
3585
  size: exports.ComponentSize.Small,
3586
3586
  color: isClubOffer
3587
3587
  ? 'var(--colors-pallete-wine-color)'
3588
- : color || theme.colors.pallete.secondary.color,
3588
+ : color !== null && color !== void 0 ? color : theme.colors.pallete.secondary.color,
3589
3589
  weight: 700,
3590
3590
  };
3591
3591
  var originalPriceNum, finalPriceNum;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Trafilea's Design System",
4
4
  "author": "Trafilea",
5
5
  "repository": "https://github.com/trafilea/afrodita-components",
6
- "version": "6.35.2",
6
+ "version": "6.35.3",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "style": "build/index.css",