@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 +7 -5
- package/build/index.esm.js +1 -1
- package/build/index.js +1 -1
- package/build/theme/revel.theme.d.ts +4 -2
- package/build/theme/revel.theme.js +4 -2
- package/build/theme/shapermint.theme.d.ts +4 -2
- package/build/theme/shapermint.theme.js +4 -2
- package/build/theme/truekind.theme.d.ts +4 -2
- package/build/theme/truekind.theme.js +4 -2
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1701,8 +1701,10 @@ declare type ThemeComponent = {
|
|
|
1701
1701
|
backgroundColor: string;
|
|
1702
1702
|
};
|
|
1703
1703
|
};
|
|
1704
|
-
|
|
1705
|
-
|
|
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
|
|
1958
|
-
backgroundColor
|
|
1959
|
-
color
|
|
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;
|
package/build/index.esm.js
CHANGED
|
@@ -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, {
|
|
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, {
|
|
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
|
|
|
@@ -680,8 +680,10 @@ var shapermint = {
|
|
|
680
680
|
backgroundColor: '--colors-pallete-primary-20-color',
|
|
681
681
|
},
|
|
682
682
|
},
|
|
683
|
-
|
|
684
|
-
|
|
683
|
+
text: {
|
|
684
|
+
orderHeader: {
|
|
685
|
+
color: '--colors-pallete-primary-color',
|
|
686
|
+
},
|
|
685
687
|
},
|
|
686
688
|
},
|
|
687
689
|
typography: {
|
|
@@ -753,8 +753,10 @@ var truekind = {
|
|
|
753
753
|
backgroundColor: '--colors-pallete-primary-20-color',
|
|
754
754
|
},
|
|
755
755
|
},
|
|
756
|
-
|
|
757
|
-
|
|
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.
|
|
6
|
+
"version": "5.0.0-beta.147",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "build/index.js",
|
|
9
9
|
"style": "build/index.css",
|