@trafilea/afrodita-components 5.0.0-beta.252 → 5.0.0-beta.253

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
@@ -12913,7 +12913,10 @@ var Note = function (_a) {
12913
12913
  };
12914
12914
  var templateObject_1$U, templateObject_2$D, templateObject_3$x, templateObject_4$p;
12915
12915
 
12916
- var Title$5 = newStyled.h1(templateObject_1$T || (templateObject_1$T = __makeTemplateObject(["\n color: ", ";\n font-size: 1.25rem;\n line-height: 1.75rem;\n font-weight: 600;\n margin: 0;\n text-align: center;\n"], ["\n color: ", ";\n font-size: 1.25rem;\n line-height: 1.75rem;\n font-weight: 600;\n margin: 0;\n text-align: center;\n"])), function (props) { return props.color; });
12916
+ var Title$5 = newStyled.h1(templateObject_1$T || (templateObject_1$T = __makeTemplateObject(["\n color: ", ";\n ", "\n margin: 0;\n text-align: center;\n"], ["\n color: ", ";\n ", "\n margin: 0;\n text-align: center;\n"])), function (props) { return props.color; }, function (_a) {
12917
+ var theme = _a.theme;
12918
+ return "\n font-size: ".concat(theme.component.deliveryDetails.sectionTitle.fontSize, ";\n line-height: ").concat(theme.component.deliveryDetails.sectionTitle.lineHeight, ";\n font-weight: ").concat(theme.component.deliveryDetails.sectionTitle.fontWeight, ";\n ");
12919
+ });
12917
12920
  var Line = newStyled.div(templateObject_2$C || (templateObject_2$C = __makeTemplateObject(["\n width: 100%;\n height: 0.063rem;\n background-color: ", ";\n margin: 0.938rem 0;\n"], ["\n width: 100%;\n height: 0.063rem;\n background-color: ", ";\n margin: 0.938rem 0;\n"])), function (props) { return props.backgroundColor; });
12918
12921
  var Row$1 = newStyled.div(templateObject_3$w || (templateObject_3$w = __makeTemplateObject(["\n display: flex;\n ", "\n justify-content: space-between;\n align-items: flex-start;\n"], ["\n display: flex;\n ", "\n justify-content: space-between;\n align-items: flex-start;\n"])), mediaQueries({
12919
12922
  flexDirection: ['column', 'row'],
@@ -12930,26 +12933,20 @@ var IconContainer$2 = newStyled.div(templateObject_5$f || (templateObject_5$f =
12930
12933
  marginBottom: ['10px', '0'],
12931
12934
  width: ['auto', '1.375rem'],
12932
12935
  }));
12933
- var SectionTitle = newStyled.h1(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["\n ", "\n color: ", ";\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n margin: 0;\n text-transform: uppercase;\n"], ["\n ", "\n color: ", ";\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n margin: 0;\n text-transform: uppercase;\n"])), mediaQueries({
12936
+ var SectionTitle = newStyled.h1(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["\n ", "\n ", "\n margin: 0;\n text-transform: uppercase;\n"], ["\n ", "\n ", "\n margin: 0;\n text-transform: uppercase;\n"])), mediaQueries({
12934
12937
  display: ['block', 'flex'],
12935
12938
  }), function (_a) {
12936
12939
  var theme = _a.theme;
12937
- return theme.colors.shades['700'].color;
12938
- }, function (_a) {
12939
- var theme = _a.theme;
12940
- return theme.component.deliveryDetails.title.fontSize;
12941
- }, function (_a) {
12940
+ return "\n color: ".concat(theme.colors.shades['700'].color, ";\n font-size: ").concat(theme.component.deliveryDetails.sectionTitle.fontSize, ";\n line-height: ").concat(theme.component.deliveryDetails.sectionTitle.lineHeight, ";\n font-weight: ").concat(theme.component.deliveryDetails.sectionTitle.fontWeight, ";\n ");
12941
+ });
12942
+ var SectionDetails = newStyled.p(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\n color: ", ";\n ", "\n margin: 0;\n margin-top: 0.625rem;\n ", ";\n"], ["\n color: ", ";\n ", "\n margin: 0;\n margin-top: 0.625rem;\n ", ";\n"])), function (props) { return props.color; }, function (_a) {
12942
12943
  var theme = _a.theme;
12943
- return theme.component.deliveryDetails.title.lineHeight;
12944
+ return "\n font-size: ".concat(theme.component.deliveryDetails.sectionDetails.fontSize, ";\n line-height: ").concat(theme.component.deliveryDetails.sectionDetails.lineHeight, ";\n font-weight: ").concat(theme.component.deliveryDetails.sectionDetails.fontWeight, ";\n ");
12944
12945
  }, function (_a) {
12945
12946
  var theme = _a.theme;
12946
- return theme.component.deliveryDetails.title.weight;
12947
- });
12948
- var SectionDetails = newStyled.p(templateObject_7$9 || (templateObject_7$9 = __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) {
12949
- var theme = _a.theme;
12950
- return theme.component.deliveryDetails.SectionDetails
12947
+ return theme.component.deliveryDetails.sectionDetails.marginLeft
12951
12948
  ? mediaQueries({
12952
- marginLeft: ['0', theme.component.deliveryDetails.SectionDetails.marginLeft],
12949
+ marginLeft: ['0', theme.component.deliveryDetails.sectionDetails.marginLeft],
12953
12950
  })
12954
12951
  : '';
12955
12952
  });