@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.d.ts CHANGED
@@ -1837,6 +1837,11 @@ declare type ThemeComponent = {
1837
1837
  lineHeight: string;
1838
1838
  color: string;
1839
1839
  };
1840
+ thankyouFooterText: {
1841
+ fontSize: string;
1842
+ fontWeight: string;
1843
+ lineHeight: string;
1844
+ };
1840
1845
  textButton: {
1841
1846
  fontWeight: number;
1842
1847
  lineHeight: string;
@@ -1845,15 +1850,23 @@ declare type ThemeComponent = {
1845
1850
  title: {
1846
1851
  fontSize: string;
1847
1852
  lineHeight: string;
1848
- weight: number;
1853
+ fontWeight: number;
1849
1854
  };
1850
1855
  note: {
1851
1856
  accentColor: string;
1852
1857
  color: string;
1853
1858
  backgroundColor: string;
1854
1859
  };
1855
- SectionDetails?: {
1856
- marginLeft: string;
1860
+ sectionTitle: {
1861
+ fontSize: string;
1862
+ lineHeight: string;
1863
+ fontWeight: number;
1864
+ };
1865
+ sectionDetails: {
1866
+ fontSize: string;
1867
+ lineHeight: string;
1868
+ fontWeight: number;
1869
+ marginLeft?: string;
1857
1870
  };
1858
1871
  };
1859
1872
  text: {
@@ -12887,7 +12887,10 @@ var Note = function (_a) {
12887
12887
  };
12888
12888
  var templateObject_1$U, templateObject_2$D, templateObject_3$x, templateObject_4$p;
12889
12889
 
12890
- 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; });
12890
+ 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) {
12891
+ var theme = _a.theme;
12892
+ 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 ");
12893
+ });
12891
12894
  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; });
12892
12895
  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({
12893
12896
  flexDirection: ['column', 'row'],
@@ -12904,26 +12907,20 @@ var IconContainer$2 = newStyled.div(templateObject_5$f || (templateObject_5$f =
12904
12907
  marginBottom: ['10px', '0'],
12905
12908
  width: ['auto', '1.375rem'],
12906
12909
  }));
12907
- 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({
12910
+ 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({
12908
12911
  display: ['block', 'flex'],
12909
12912
  }), function (_a) {
12910
12913
  var theme = _a.theme;
12911
- return theme.colors.shades['700'].color;
12912
- }, function (_a) {
12913
- var theme = _a.theme;
12914
- return theme.component.deliveryDetails.title.fontSize;
12915
- }, function (_a) {
12914
+ 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 ");
12915
+ });
12916
+ 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) {
12916
12917
  var theme = _a.theme;
12917
- return theme.component.deliveryDetails.title.lineHeight;
12918
+ 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 ");
12918
12919
  }, function (_a) {
12919
12920
  var theme = _a.theme;
12920
- return theme.component.deliveryDetails.title.weight;
12921
- });
12922
- 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) {
12923
- var theme = _a.theme;
12924
- return theme.component.deliveryDetails.SectionDetails
12921
+ return theme.component.deliveryDetails.sectionDetails.marginLeft
12925
12922
  ? mediaQueries({
12926
- marginLeft: ['0', theme.component.deliveryDetails.SectionDetails.marginLeft],
12923
+ marginLeft: ['0', theme.component.deliveryDetails.sectionDetails.marginLeft],
12927
12924
  })
12928
12925
  : '';
12929
12926
  });