@trafilea/afrodita-components 5.0.0-beta.170 → 5.0.0-beta.172

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.js CHANGED
@@ -11252,7 +11252,7 @@ var Container$L = newStyled.div(templateObject_1$13 || (templateObject_1$13 = __
11252
11252
  });
11253
11253
  var TopTagContainer$2 = newStyled.div(templateObject_2$J || (templateObject_2$J = __makeTemplateObject(["\n position: absolute;\n left: ", ";\n top: ", ";\n"], ["\n position: absolute;\n left: ", ";\n top: ", ";\n"])), function (props) { return (props.borderRadiusVariant ? '50px' : '0'); }, function (props) { return (props.borderRadiusVariant ? '10px' : '0'); });
11254
11254
  var BottomTagContainer$2 = newStyled.div(templateObject_3$z || (templateObject_3$z = __makeTemplateObject(["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"], ["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"])));
11255
- var ButtonSecondaryOutlineWrapper = newStyled(ButtonSecondaryOutline)(templateObject_4$q || (templateObject_4$q = __makeTemplateObject(["\n text-transform: capitalize;\n margin-top: 18px;\n\n @media (max-width: 992px) {\n margin-top: 10px;\n }\n"], ["\n text-transform: capitalize;\n margin-top: 18px;\n\n @media (max-width: 992px) {\n margin-top: 10px;\n }\n"])));
11255
+ var ButtonSecondaryOutlineWrapper = newStyled(ButtonSecondaryOutline)(templateObject_4$q || (templateObject_4$q = __makeTemplateObject(["\n text-transform: capitalize;\n margin-top: 12px;\n\n @media (max-width: 992px) {\n margin-top: 4px;\n }\n"], ["\n text-transform: capitalize;\n margin-top: 12px;\n\n @media (max-width: 992px) {\n margin-top: 4px;\n }\n"])));
11256
11256
  var ImageProductWithTags$1 = function (_a) {
11257
11257
  var image = _a.image, topTag = _a.topTag, bottomTag = _a.bottomTag, testId = _a.testId, position = _a.position, borderRadiusVariant = _a.borderRadiusVariant, ctaText = _a.ctaText, ctaAction = _a.ctaAction;
11258
11258
  return (jsxRuntime.jsxs(Container$L, __assign$1({ "data-testid": testId, className: "stylefor".concat(position), borderRadiusVariant: borderRadiusVariant }, { children: [jsxRuntime.jsx(InnerImageZoom, { src: image.imageUrl, zoomSrc: image.imageUrl, zoomType: "hover", imgAttributes: {
@@ -12482,8 +12482,9 @@ var Col$1 = newStyled.div(templateObject_4$j || (templateObject_4$j = __makeTemp
12482
12482
  textAlign: ['center', 'inherit'],
12483
12483
  width: ['100%', 'inherit'],
12484
12484
  }));
12485
- var IconContainer$2 = newStyled.div(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n width: 1.375rem;\n height: 1.375rem;\n margin-right: 0.438rem;\n ", "\n"], ["\n width: 1.375rem;\n height: 1.375rem;\n margin-right: 0.438rem;\n ", "\n"])), mediaQueries({
12486
- marginBottom: ['1.875rem', '0'],
12485
+ var IconContainer$2 = newStyled.div(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n width: 1.375rem;\n height: 1.375rem;\n ", "\n"], ["\n width: 1.375rem;\n height: 1.375rem;\n ", "\n"])), mediaQueries({
12486
+ marginRight: ['0', '0.438rem'],
12487
+ marginBottom: ['10px', '0'],
12487
12488
  width: ['auto', '1.375rem'],
12488
12489
  }));
12489
12490
  var SectionTitle = newStyled.h1(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\n ", "\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 600;\n margin: 0;\n"], ["\n ", "\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 600;\n margin: 0;\n"])), mediaQueries({
@@ -12492,10 +12493,13 @@ var SectionTitle = newStyled.h1(templateObject_6$a || (templateObject_6$a = __ma
12492
12493
  var theme = _a.theme;
12493
12494
  return theme.colors.shades['700'].color;
12494
12495
  });
12495
- var SectionDetails = newStyled.p(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 400;\n margin: 0;\n margin-left: ", ";\n margin-top: 0.625rem;\n"], ["\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 400;\n margin: 0;\n margin-left: ", ";\n margin-top: 0.625rem;\n"])), function (props) { return props.color; }, function (_a) {
12496
- var _b;
12496
+ var SectionDetails = newStyled.p(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 400;\n margin: 0;\n margin-top: 0.625rem;\n ", ";\n"], ["\n color: ", ";\n font-size: 1rem;\n line-height: 1.25rem;\n font-weight: 400;\n margin: 0;\n margin-top: 0.625rem;\n ", ";\n"])), function (props) { return props.color; }, function (_a) {
12497
12497
  var theme = _a.theme;
12498
- return (_b = theme.component.deliveryDetails.SectionDetails) === null || _b === void 0 ? void 0 : _b.marginLeft;
12498
+ return theme.component.deliveryDetails.SectionDetails
12499
+ ? mediaQueries({
12500
+ marginLeft: ['0', theme.component.deliveryDetails.SectionDetails.marginLeft],
12501
+ })
12502
+ : '';
12499
12503
  });
12500
12504
  var KeepMeUpdated = newStyled.h1(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n border: 0.063rem solid ", ";\n color: #0078ff;\n border-radius: 0.313rem;\n padding: 0.625rem;\n font-size: 0.875rem;\n line-height: 1.125rem;\n font-weight: 600;\n margin: 0;\n margin-top: 0.625rem;\n display: flex;\n align-items: center;\n background-color: #fff;\n user-select: none;\n\n svg {\n margin-right: 0.375rem;\n }\n\n &:hover {\n cursor: pointer;\n }\n"], ["\n border: 0.063rem solid ", ";\n color: #0078ff;\n border-radius: 0.313rem;\n padding: 0.625rem;\n font-size: 0.875rem;\n line-height: 1.125rem;\n font-weight: 600;\n margin: 0;\n margin-top: 0.625rem;\n display: flex;\n align-items: center;\n background-color: #fff;\n user-select: none;\n\n svg {\n margin-right: 0.375rem;\n }\n\n &:hover {\n cursor: pointer;\n }\n"])), function (props) { return props.borderColor; });
12501
12505
  var DeliveryDetails = function (_a) {