@trafilea/afrodita-components 5.0.0-beta.283 → 5.0.0-beta.284
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.esm.js
CHANGED
|
@@ -13032,10 +13032,10 @@ var Col$1 = newStyled.div(templateObject_4$p || (templateObject_4$p = __makeTemp
|
|
|
13032
13032
|
textAlign: ['center', 'inherit'],
|
|
13033
13033
|
width: ['100%', 'inherit'],
|
|
13034
13034
|
}));
|
|
13035
|
-
var IconContainer$2 = newStyled.div(templateObject_5$g || (templateObject_5$g = __makeTemplateObject(["\n width: 1.
|
|
13035
|
+
var IconContainer$2 = newStyled.div(templateObject_5$g || (templateObject_5$g = __makeTemplateObject(["\n width: 1.5rem;\n height: 1.5rem;\n ", "\n"], ["\n width: 1.5rem;\n height: 1.5rem;\n ", "\n"])), mediaQueries({
|
|
13036
13036
|
marginRight: ['0', '0.438rem'],
|
|
13037
13037
|
marginBottom: ['10px', '0'],
|
|
13038
|
-
width: ['auto', '1.
|
|
13038
|
+
width: ['auto', '1.5rem'],
|
|
13039
13039
|
}));
|
|
13040
13040
|
var SectionTitle = newStyled.h1(templateObject_6$f || (templateObject_6$f = __makeTemplateObject(["\n ", "\n ", "\n margin: 0;\n text-transform: uppercase;\n"], ["\n ", "\n ", "\n margin: 0;\n text-transform: uppercase;\n"])), mediaQueries({
|
|
13041
13041
|
display: ['block', 'flex'],
|
|
@@ -13058,7 +13058,7 @@ var KeepMeUpdated = newStyled.h1(templateObject_8$7 || (templateObject_8$7 = __m
|
|
|
13058
13058
|
var DeliveryDetails = function (_a) {
|
|
13059
13059
|
var deliveryDetailsText = _a.deliveryDetailsText, arrivingBy = _a.arrivingBy, shippingTo = _a.shippingTo, instantOrderUpdate = _a.instantOrderUpdate, note = _a.note;
|
|
13060
13060
|
var theme = useTheme();
|
|
13061
|
-
return (jsxs$1("div", __assign$1({ "data-testid": "DeliveryDetails" }, { children: [jsx$1(Title$5, __assign$1({ color: theme.colors.shades[700].color }, { children: deliveryDetailsText }), void 0), jsx$1(Line, { backgroundColor: theme.colors.shades['200'].color }, void 0), note && jsx$1(Note, __assign$1({}, note), void 0), jsxs$1(Row$1, __assign$1({ "data-testid": "DD-row", theme: theme }, { children: [jsxs$1(Col$1, __assign$1({ theme: theme }, { children: [jsxs$1(SectionTitle, __assign$1({ theme: theme }, { children: [jsx$1(IconContainer$2, __assign$1({ theme: theme }, { children: jsx$1(Icon.PDP.Clock, { width: 1.
|
|
13061
|
+
return (jsxs$1("div", __assign$1({ "data-testid": "DeliveryDetails" }, { children: [jsx$1(Title$5, __assign$1({ color: theme.colors.shades[700].color }, { children: deliveryDetailsText }), void 0), jsx$1(Line, { backgroundColor: theme.colors.shades['200'].color }, void 0), note && jsx$1(Note, __assign$1({}, note), void 0), jsxs$1(Row$1, __assign$1({ "data-testid": "DD-row", theme: theme }, { children: [jsxs$1(Col$1, __assign$1({ theme: theme }, { children: [jsxs$1(SectionTitle, __assign$1({ theme: theme }, { children: [jsx$1(IconContainer$2, __assign$1({ theme: theme }, { children: jsx$1(Icon.PDP.Clock, { width: 1.5 }, void 0) }), void 0), arrivingBy.title] }), void 0), jsx$1(SectionDetails, __assign$1({ color: theme.colors.shades['700'].color }, { children: arrivingBy.details }), void 0)] }), void 0), jsxs$1(Col$1, __assign$1({ theme: theme }, { children: [jsxs$1(SectionTitle, __assign$1({ theme: theme }, { children: [jsx$1(IconContainer$2, __assign$1({ theme: theme }, { children: jsx$1(Icon.Navigation.MapMarker, { width: 1.5 }, void 0) }), void 0), shippingTo.title] }), void 0), jsx$1(SectionDetails, __assign$1({ color: theme.colors.shades['700'].color }, { children: shippingTo.details }), void 0)] }), void 0), jsxs$1(Col$1, __assign$1({ theme: theme }, { children: [jsxs$1(SectionTitle, __assign$1({ theme: theme }, { children: [jsx$1(IconContainer$2, __assign$1({ theme: theme }, { children: jsx$1(Icon.Messaging.Messenger, { width: 1.5 }, void 0) }), void 0), instantOrderUpdate.title] }), void 0), jsx$1(SectionDetails, __assign$1({ color: theme.colors.shades['700'].color }, { children: instantOrderUpdate.details }), void 0), instantOrderUpdate.keepMeUpdated && (jsxs$1(KeepMeUpdated, __assign$1({ onClick: instantOrderUpdate.keepMeUpdated.onClick, borderColor: theme.colors.shades['150'].color }, { children: [jsx$1(Icon.Messaging.Messenger, { width: 1, height: 1, fill: "#0078FF" }, void 0), instantOrderUpdate.keepMeUpdated.title] }), void 0))] }), void 0)] }), void 0)] }), void 0));
|
|
13062
13062
|
};
|
|
13063
13063
|
var templateObject_1$U, templateObject_2$D, templateObject_3$y, templateObject_4$p, templateObject_5$g, templateObject_6$f, templateObject_7$9, templateObject_8$7;
|
|
13064
13064
|
|
package/build/index.js
CHANGED
|
@@ -13058,10 +13058,10 @@ var Col$1 = newStyled.div(templateObject_4$p || (templateObject_4$p = __makeTemp
|
|
|
13058
13058
|
textAlign: ['center', 'inherit'],
|
|
13059
13059
|
width: ['100%', 'inherit'],
|
|
13060
13060
|
}));
|
|
13061
|
-
var IconContainer$2 = newStyled.div(templateObject_5$g || (templateObject_5$g = __makeTemplateObject(["\n width: 1.
|
|
13061
|
+
var IconContainer$2 = newStyled.div(templateObject_5$g || (templateObject_5$g = __makeTemplateObject(["\n width: 1.5rem;\n height: 1.5rem;\n ", "\n"], ["\n width: 1.5rem;\n height: 1.5rem;\n ", "\n"])), mediaQueries({
|
|
13062
13062
|
marginRight: ['0', '0.438rem'],
|
|
13063
13063
|
marginBottom: ['10px', '0'],
|
|
13064
|
-
width: ['auto', '1.
|
|
13064
|
+
width: ['auto', '1.5rem'],
|
|
13065
13065
|
}));
|
|
13066
13066
|
var SectionTitle = newStyled.h1(templateObject_6$f || (templateObject_6$f = __makeTemplateObject(["\n ", "\n ", "\n margin: 0;\n text-transform: uppercase;\n"], ["\n ", "\n ", "\n margin: 0;\n text-transform: uppercase;\n"])), mediaQueries({
|
|
13067
13067
|
display: ['block', 'flex'],
|
|
@@ -13084,7 +13084,7 @@ var KeepMeUpdated = newStyled.h1(templateObject_8$7 || (templateObject_8$7 = __m
|
|
|
13084
13084
|
var DeliveryDetails = function (_a) {
|
|
13085
13085
|
var deliveryDetailsText = _a.deliveryDetailsText, arrivingBy = _a.arrivingBy, shippingTo = _a.shippingTo, instantOrderUpdate = _a.instantOrderUpdate, note = _a.note;
|
|
13086
13086
|
var theme = useTheme();
|
|
13087
|
-
return (jsxRuntime.jsxs("div", __assign$1({ "data-testid": "DeliveryDetails" }, { children: [jsxRuntime.jsx(Title$5, __assign$1({ color: theme.colors.shades[700].color }, { children: deliveryDetailsText }), void 0), jsxRuntime.jsx(Line, { backgroundColor: theme.colors.shades['200'].color }, void 0), note && jsxRuntime.jsx(Note, __assign$1({}, note), void 0), jsxRuntime.jsxs(Row$1, __assign$1({ "data-testid": "DD-row", theme: theme }, { children: [jsxRuntime.jsxs(Col$1, __assign$1({ theme: theme }, { children: [jsxRuntime.jsxs(SectionTitle, __assign$1({ theme: theme }, { children: [jsxRuntime.jsx(IconContainer$2, __assign$1({ theme: theme }, { children: jsxRuntime.jsx(Icon.PDP.Clock, { width: 1.
|
|
13087
|
+
return (jsxRuntime.jsxs("div", __assign$1({ "data-testid": "DeliveryDetails" }, { children: [jsxRuntime.jsx(Title$5, __assign$1({ color: theme.colors.shades[700].color }, { children: deliveryDetailsText }), void 0), jsxRuntime.jsx(Line, { backgroundColor: theme.colors.shades['200'].color }, void 0), note && jsxRuntime.jsx(Note, __assign$1({}, note), void 0), jsxRuntime.jsxs(Row$1, __assign$1({ "data-testid": "DD-row", theme: theme }, { children: [jsxRuntime.jsxs(Col$1, __assign$1({ theme: theme }, { children: [jsxRuntime.jsxs(SectionTitle, __assign$1({ theme: theme }, { children: [jsxRuntime.jsx(IconContainer$2, __assign$1({ theme: theme }, { children: jsxRuntime.jsx(Icon.PDP.Clock, { width: 1.5 }, void 0) }), void 0), arrivingBy.title] }), void 0), jsxRuntime.jsx(SectionDetails, __assign$1({ color: theme.colors.shades['700'].color }, { children: arrivingBy.details }), void 0)] }), void 0), jsxRuntime.jsxs(Col$1, __assign$1({ theme: theme }, { children: [jsxRuntime.jsxs(SectionTitle, __assign$1({ theme: theme }, { children: [jsxRuntime.jsx(IconContainer$2, __assign$1({ theme: theme }, { children: jsxRuntime.jsx(Icon.Navigation.MapMarker, { width: 1.5 }, void 0) }), void 0), shippingTo.title] }), void 0), jsxRuntime.jsx(SectionDetails, __assign$1({ color: theme.colors.shades['700'].color }, { children: shippingTo.details }), void 0)] }), void 0), jsxRuntime.jsxs(Col$1, __assign$1({ theme: theme }, { children: [jsxRuntime.jsxs(SectionTitle, __assign$1({ theme: theme }, { children: [jsxRuntime.jsx(IconContainer$2, __assign$1({ theme: theme }, { children: jsxRuntime.jsx(Icon.Messaging.Messenger, { width: 1.5 }, void 0) }), void 0), instantOrderUpdate.title] }), void 0), jsxRuntime.jsx(SectionDetails, __assign$1({ color: theme.colors.shades['700'].color }, { children: instantOrderUpdate.details }), void 0), instantOrderUpdate.keepMeUpdated && (jsxRuntime.jsxs(KeepMeUpdated, __assign$1({ onClick: instantOrderUpdate.keepMeUpdated.onClick, borderColor: theme.colors.shades['150'].color }, { children: [jsxRuntime.jsx(Icon.Messaging.Messenger, { width: 1, height: 1, fill: "#0078FF" }, void 0), instantOrderUpdate.keepMeUpdated.title] }), void 0))] }), void 0)] }), void 0)] }), void 0));
|
|
13088
13088
|
};
|
|
13089
13089
|
var templateObject_1$U, templateObject_2$D, templateObject_3$y, templateObject_4$p, templateObject_5$g, templateObject_6$f, templateObject_7$9, templateObject_8$7;
|
|
13090
13090
|
|
|
@@ -243,7 +243,7 @@ var revel = {
|
|
|
243
243
|
},
|
|
244
244
|
primary: {
|
|
245
245
|
active: {
|
|
246
|
-
backgroundColor: '
|
|
246
|
+
backgroundColor: '#DA918A',
|
|
247
247
|
color: '--colors-pallete-primary-contrast',
|
|
248
248
|
},
|
|
249
249
|
hover: {
|
|
@@ -1033,6 +1033,11 @@ var revel = {
|
|
|
1033
1033
|
width: '210',
|
|
1034
1034
|
height: '60',
|
|
1035
1035
|
},
|
|
1036
|
+
tyLogo: {
|
|
1037
|
+
url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/revel/revelbeauty.svg',
|
|
1038
|
+
width: '410',
|
|
1039
|
+
height: '28',
|
|
1040
|
+
},
|
|
1036
1041
|
},
|
|
1037
1042
|
},
|
|
1038
1043
|
};
|
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.284",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "build/index.js",
|
|
9
9
|
"style": "build/index.css",
|