@trafilea/afrodita-components 5.0.0-beta.146 → 5.0.0-beta.147

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.d.ts CHANGED
@@ -1701,8 +1701,10 @@ declare type ThemeComponent = {
1701
1701
  backgroundColor: string;
1702
1702
  };
1703
1703
  };
1704
- orderHeaderText: {
1705
- color: string;
1704
+ text: {
1705
+ orderHeader: {
1706
+ color: string;
1707
+ };
1706
1708
  };
1707
1709
  };
1708
1710
  declare type ThemeTypography = {
@@ -1954,9 +1956,9 @@ interface DeliveryDetailsProps {
1954
1956
  note?: {
1955
1957
  importantNoteText: string;
1956
1958
  text: string;
1957
- accentColor: string;
1958
- backgroundColor: string;
1959
- color: string;
1959
+ accentColor?: string;
1960
+ backgroundColor?: string;
1961
+ color?: string;
1960
1962
  };
1961
1963
  }
1962
1964
  declare const DeliveryDetails: ({ deliveryDetailsText, arrivingBy, shippingTo, instantOrderUpdate, note, }: DeliveryDetailsProps) => JSX.Element;
@@ -5111,7 +5111,7 @@ var PriceLabel = function (_a) {
5111
5111
  weight: 700,
5112
5112
  };
5113
5113
  var OriginalPrice = function () { return (jsx$1(Price, __assign$1({ size: originalPriceStyled ? size : ComponentSize.Small, color: theme.component.pricing.priceLabel.price.originalPriceColor, margin: true, underlined: originalPriceUnderlined, "data-testid": getTestId(testId, 'original-product-price') }, { children: originalPrice }), void 0)); };
5114
- return (jsxs$1(Container$N, { children: [jsx$1(Price, __assign$1({ margin: true, "data-testid": getTestId(testId, 'final-product-price') }, priceCommonProps, { color: theme.component.pricing.priceLabel.price.actualPriceColor, style: finalPriceStyle }, { children: finalPrice }), void 0), !!originalPrice && jsx$1(OriginalPrice, {}, void 0), discount && (jsx$1(TagContainer, __assign$1({ size: size }, { children: jsx$1(DiscountTag, __assign$1({}, discount, { size: size }), void 0) }), void 0))] }, void 0));
5114
+ return (jsxs$1(Container$N, { children: [jsx$1(Price, __assign$1({ margin: true, "data-testid": getTestId(testId, 'final-product-price') }, priceCommonProps, { style: finalPriceStyle }, { children: finalPrice }), void 0), !!originalPrice && jsx$1(OriginalPrice, {}, void 0), discount && (jsx$1(TagContainer, __assign$1({ size: size }, { children: jsx$1(DiscountTag, __assign$1({}, discount, { size: size }), void 0) }), void 0))] }, void 0));
5115
5115
  };
5116
5116
  var templateObject_1$1b, templateObject_2$M, templateObject_3$B;
5117
5117
 
package/build/index.js CHANGED
@@ -5137,7 +5137,7 @@ var PriceLabel = function (_a) {
5137
5137
  weight: 700,
5138
5138
  };
5139
5139
  var OriginalPrice = function () { return (jsxRuntime.jsx(Price, __assign$1({ size: originalPriceStyled ? size : exports.ComponentSize.Small, color: theme.component.pricing.priceLabel.price.originalPriceColor, margin: true, underlined: originalPriceUnderlined, "data-testid": getTestId(testId, 'original-product-price') }, { children: originalPrice }), void 0)); };
5140
- return (jsxRuntime.jsxs(Container$N, { children: [jsxRuntime.jsx(Price, __assign$1({ margin: true, "data-testid": getTestId(testId, 'final-product-price') }, priceCommonProps, { color: theme.component.pricing.priceLabel.price.actualPriceColor, style: finalPriceStyle }, { children: finalPrice }), void 0), !!originalPrice && jsxRuntime.jsx(OriginalPrice, {}, void 0), discount && (jsxRuntime.jsx(TagContainer, __assign$1({ size: size }, { children: jsxRuntime.jsx(DiscountTag, __assign$1({}, discount, { size: size }), void 0) }), void 0))] }, void 0));
5140
+ return (jsxRuntime.jsxs(Container$N, { children: [jsxRuntime.jsx(Price, __assign$1({ margin: true, "data-testid": getTestId(testId, 'final-product-price') }, priceCommonProps, { style: finalPriceStyle }, { children: finalPrice }), void 0), !!originalPrice && jsxRuntime.jsx(OriginalPrice, {}, void 0), discount && (jsxRuntime.jsx(TagContainer, __assign$1({ size: size }, { children: jsxRuntime.jsx(DiscountTag, __assign$1({}, discount, { size: size }), void 0) }), void 0))] }, void 0));
5141
5141
  };
5142
5142
  var templateObject_1$1b, templateObject_2$M, templateObject_3$B;
5143
5143
 
@@ -552,8 +552,10 @@ declare type ThemeComponent = {
552
552
  backgroundColor: string;
553
553
  };
554
554
  };
555
- orderHeaderText: {
556
- color: string;
555
+ text: {
556
+ orderHeader: {
557
+ color: string;
558
+ };
557
559
  };
558
560
  };
559
561
  declare type ThemeTypography = {
@@ -680,8 +680,10 @@ var revel = {
680
680
  backgroundColor: '#F5DECE',
681
681
  },
682
682
  },
683
- orderHeaderText: {
684
- color: '--colors-shades[650]-color',
683
+ text: {
684
+ orderHeader: {
685
+ color: '--colors-shades-650-color',
686
+ },
685
687
  },
686
688
  },
687
689
  typography: {
@@ -552,8 +552,10 @@ declare type ThemeComponent = {
552
552
  backgroundColor: string;
553
553
  };
554
554
  };
555
- orderHeaderText: {
556
- color: string;
555
+ text: {
556
+ orderHeader: {
557
+ color: string;
558
+ };
557
559
  };
558
560
  };
559
561
  declare type ThemeTypography = {
@@ -680,8 +680,10 @@ var shapermint = {
680
680
  backgroundColor: '--colors-pallete-primary-20-color',
681
681
  },
682
682
  },
683
- orderHeaderText: {
684
- color: '--colors-shades[650]-color',
683
+ text: {
684
+ orderHeader: {
685
+ color: '--colors-pallete-primary-color',
686
+ },
685
687
  },
686
688
  },
687
689
  typography: {
@@ -552,8 +552,10 @@ declare type ThemeComponent = {
552
552
  backgroundColor: string;
553
553
  };
554
554
  };
555
- orderHeaderText: {
556
- color: string;
555
+ text: {
556
+ orderHeader: {
557
+ color: string;
558
+ };
557
559
  };
558
560
  };
559
561
  declare type ThemeTypography = {
@@ -753,8 +753,10 @@ var truekind = {
753
753
  backgroundColor: '--colors-pallete-primary-20-color',
754
754
  },
755
755
  },
756
- orderHeaderText: {
757
- color: '--colors-pallete-primary-color',
756
+ text: {
757
+ orderHeader: {
758
+ color: '--colors-pallete-primary-color',
759
+ },
758
760
  },
759
761
  },
760
762
  fonts: {
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": "5.0.0-beta.146",
6
+ "version": "5.0.0-beta.147",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "style": "build/index.css",