@trafilea/afrodita-components 7.9.3 → 7.10.0

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.
Files changed (38) hide show
  1. package/build/es/components/collection/product/mobile/ProductItemMobile.js +1 -1
  2. package/build/es/components/gallery/ProductGallery.js +1 -1
  3. package/build/es/components/gallery/components/ImagePreviewList/ImagePreviewList.js +1 -1
  4. package/build/es/components/gallery/components/ImagePreviewList/styled.js +1 -1
  5. package/build/es/components/gallery/components/ImageProductSlide/ImageProductSlide.js +1 -1
  6. package/build/es/components/molecules/Video/Video.js +1 -1
  7. package/build/es/components/organisms/AutoshipPdpCard/AutoshipPdpCard.js +1 -1
  8. package/build/es/components/organisms/OfferAtCartV2/OfferAtCartV2.js +1 -1
  9. package/build/es/components/organisms/OfferAtCartV4/OfferAtCartV4.js +1 -1
  10. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ImageProductSlide.js +1 -1
  11. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js +1 -1
  12. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/index.js +1 -1
  13. package/build/es/components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js +1 -1
  14. package/build/es/components/organisms/TwoCtasAtCart/TwoCtasAtCart.js +1 -1
  15. package/build/es/components/pricing/price/PriceLabel.js +1 -1
  16. package/build/es/components/pricing/styles.js +1 -1
  17. package/build/es/components/product/order/item/SimpleOrderItem.js +1 -1
  18. package/build/es/components/totals/total/styled.js +1 -1
  19. package/build/index.d.ts +11 -1
  20. package/build/lib/components/collection/product/mobile/ProductItemMobile.js +1 -1
  21. package/build/lib/components/gallery/ProductGallery.js +1 -1
  22. package/build/lib/components/gallery/components/ImagePreviewList/ImagePreviewList.js +1 -1
  23. package/build/lib/components/gallery/components/ImagePreviewList/styled.js +1 -1
  24. package/build/lib/components/gallery/components/ImageProductSlide/ImageProductSlide.js +1 -1
  25. package/build/lib/components/molecules/Video/Video.js +1 -1
  26. package/build/lib/components/organisms/AutoshipPdpCard/AutoshipPdpCard.js +1 -1
  27. package/build/lib/components/organisms/OfferAtCartV2/OfferAtCartV2.js +1 -1
  28. package/build/lib/components/organisms/OfferAtCartV4/OfferAtCartV4.js +1 -1
  29. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ImageProductSlide.js +1 -1
  30. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js +1 -1
  31. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/index.js +1 -1
  32. package/build/lib/components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js +1 -1
  33. package/build/lib/components/organisms/TwoCtasAtCart/TwoCtasAtCart.js +1 -1
  34. package/build/lib/components/pricing/price/PriceLabel.js +1 -1
  35. package/build/lib/components/pricing/styles.js +1 -1
  36. package/build/lib/components/product/order/item/SimpleOrderItem.js +1 -1
  37. package/build/lib/components/totals/total/styled.js +1 -1
  38. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("tslib"),i=require("react/jsx-runtime"),n=require("@emotion/styled"),r=require("../../../../core/theme/Theme.js"),t=require("../../../../utils/media.js"),o=require("../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js");require("../../../atoms/HorizontalDivider/HorizontalDivider.js");var l=require("../../../atoms/Icon/Icon.js"),a=require("../../../atoms/Image/Image.js");require("../../../atoms/PriceLabel/PriceLabel.js"),require("../../../atoms/PriceLabelV2/PriceLabelV2.js"),require("react"),require("../../../atoms/Toggle/toggle.styled.js");var s=require("../../../offer-banner/OfferBanner.js");require("../../../pricing/clubOffer/ClubOfferTag.js"),require("../../../../types/enums.js"),require("../../../pricing/discount/styled.js");var c=require("../../../pricing/price/PriceLabel.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../pricing/styles.js"),require("../../../tooltip/Styled.js"),require("../../../pricing/priceLabelV3/PriceLabelV3.js"),require("../../../pricing/priceLabelV5/PriceLabelV5.styled.js"),require("../../../pricing/priceLabelV6/PriceLabelV6.styled.js");var u,m,g,p,f,h,b,v=d(n),j=v.default.div(u||(u=e.__makeTemplateObject(["\n display: flex;\n flex-direction: row;\n width: auto;\n padding: 10px 0;\n"],["\n display: flex;\n flex-direction: row;\n width: auto;\n padding: 10px 0;\n"]))),x=v.default.div(m||(m=e.__makeTemplateObject(["\n position: relative;\n width: ",";\n img {\n display: block;\n }\n"],["\n position: relative;\n width: ",";\n img {\n display: block;\n }\n"])),"63px"),y=v.default.div(g||(g=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n ",";\n width: calc(100% - ",");\n"],["\n display: flex;\n flex-direction: column;\n ",";\n width: calc(100% - ",");\n"])),t.mediaQueries({paddingLeft:["0.938rem","1.875rem"]}),"63px"),_=v.default.h2((function(e){return{fontWeight:600,fontSize:"1rem",lineHeight:"1.5rem",color:e.color,margin:"0.063rem 0"}})),P=v.default.h3((function(e){var i=e.color,n=e.fontSize,r=e.lineHeight;return{fontWeight:e.fontWeight,fontSize:n,lineHeight:r,color:i,margin:e.margin}})),q=v.default.div(p||(p=e.__makeTemplateObject(["\n display: flex;\n ",";\n height: 100%;\n align-items: end;\n margin-top: 0.219rem;\n"],["\n display: flex;\n ",";\n height: 100%;\n align-items: end;\n margin-top: 0.219rem;\n"])),(function(e){return e.withTag?t.mediaQueries({justifyContent:["space-between","end"],flexDirection:["row","column"]}):"justify-content: end"})),w=v.default.div(f||(f=e.__makeTemplateObject(["\n position: absolute;\n right: 0;\n top: 0;\n transform: translate(30%, -30%);\n border-radius: 50%;\n width: 1rem;\n height: 1rem;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--colors-shades-300-color);\n color: var(--colors-shades-white-color);\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 24px;\n"],["\n position: absolute;\n right: 0;\n top: 0;\n transform: translate(30%, -30%);\n border-radius: 50%;\n width: 1rem;\n height: 1rem;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--colors-shades-300-color);\n color: var(--colors-shades-white-color);\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 24px;\n"]))),L=v.default.span(h||(h=e.__makeTemplateObject(["\n display: block;\n transform: translateY(1px);\n"],["\n display: block;\n transform: translateY(1px);\n"]))),T=v.default.span(b||(b=e.__makeTemplateObject(["\n color: ",";\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n"],["\n color: ",";\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n"])),(function(e){return e.theme.colors.semantic.urgent.color}));module.exports=function(n){var t,d,u,m,g,p,f,h,b=n.title,v=n.className,k=n.subtitle,z=n.midElement,C=n.image,O=n.price,S=n.tag,V=n.quantity,H=n.finalPriceStyle,I=n.isGift,W=n.isClub,D=r.useTheme();return i.jsxs(j,e.__assign({className:v},{children:[i.jsxs(x,{children:[i.jsx(a.Image,{src:C.src,alt:C.alt,width:"4.063rem",height:"5.375rem",objectFit:"cover",objectPosition:"center"},void 0),V?i.jsx(w,e.__assign({"data-testid":"order-item-quantity"},{children:i.jsx(L,{children:V},void 0)}),void 0):null]},void 0),i.jsxs(y,e.__assign({"data-testid":"order-item-description-container",theme:D},{children:[i.jsx(_,e.__assign({color:D.colors.shades[700].color,"data-testid":"product-title"},{children:b}),void 0),k&&i.jsx(P,e.__assign({color:(null===(d=null===(t=D.component.pricing)||void 0===t?void 0:t.subtitle)||void 0===d?void 0:d.color)||D.colors.shades[700].color,fontSize:(null===(m=null===(u=D.component.pricing)||void 0===u?void 0:u.subtitle)||void 0===m?void 0:m.fontSize)||"0.75rem",lineHeight:(null===(p=null===(g=D.component.pricing)||void 0===g?void 0:g.subtitle)||void 0===p?void 0:p.lineHeight)||"1rem",fontWeight:(null===(h=null===(f=D.component.pricing)||void 0===f?void 0:f.subtitle)||void 0===h?void 0:h.fontWeight)||"normal","data-testid":"product-variant-title",margin:"0.5rem 0 0 0"},{children:k}),void 0),z,I&&i.jsx(T,{children:"Limited Time Only"},void 0),i.jsxs(q,e.__assign({"data-testid":"order-item-price-container",withTag:!!S,theme:D},{children:[S&&i.jsx(s.OfferBanner,{discountAppliedText:null==S?void 0:S.text,backgroundColor:null==S?void 0:S.backgroundColor},void 0),I?i.jsx(T,{children:"GIFT"},void 0):W?i.jsx(o.ClubPriceMemberLabel,{finalPrice:O.finalPrice,originalPrice:O.originalPrice,isCollections:!1,isClubOffer:!0,isClub:!0,icon:i.jsx(l.Icon,{name:"other/club_filled",height:"21px",width:"52px"},void 0),style:{gap:8}},void 0):i.jsx(c.PriceLabel,{finalPrice:O.finalPrice,originalPrice:O.originalPrice,color:O.color||D.colors.shades[700].color,originalPriceColor:O.originalPriceColor,size:D.component.pricing.priceLabel.price.size,finalPriceStyle:H,originalPriceStyled:!0},void 0)]}),void 0)]}),void 0)]}),void 0)};
1
+ "use strict";var e=require("tslib"),i=require("react/jsx-runtime"),n=require("@emotion/styled"),r=require("../../../../core/theme/Theme.js"),t=require("../../../../utils/media.js"),o=require("../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js");require("../../../atoms/HorizontalDivider/HorizontalDivider.js");var l=require("../../../atoms/Icon/Icon.js"),a=require("../../../atoms/Image/Image.js");require("../../../atoms/PriceLabel/PriceLabel.js"),require("../../../atoms/PriceLabelV2/PriceLabelV2.js"),require("react"),require("../../../atoms/Toggle/toggle.styled.js");var s=require("../../../offer-banner/OfferBanner.js");require("../../../pricing/clubOffer/ClubOfferTag.js"),require("../../../../types/enums.js"),require("../../../pricing/discount/styled.js");var c=require("../../../pricing/price/PriceLabel.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../pricing/styles.js"),require("../../../tooltip/Styled.js"),require("../../../pricing/priceLabelV3/PriceLabelV3.js"),require("../../../pricing/priceLabelV5/PriceLabelV5.styled.js"),require("../../../pricing/priceLabelV6/PriceLabelV6.styled.js");var u,m,g,p,f,h,b,v=d(n),j=v.default.div(u||(u=e.__makeTemplateObject(["\n display: flex;\n flex-direction: row;\n width: auto;\n padding: 10px 0;\n"],["\n display: flex;\n flex-direction: row;\n width: auto;\n padding: 10px 0;\n"]))),x=v.default.div(m||(m=e.__makeTemplateObject(["\n position: relative;\n width: ",";\n img {\n display: block;\n }\n"],["\n position: relative;\n width: ",";\n img {\n display: block;\n }\n"])),"63px"),y=v.default.div(g||(g=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n ",";\n width: calc(100% - ",");\n"],["\n display: flex;\n flex-direction: column;\n ",";\n width: calc(100% - ",");\n"])),t.mediaQueries({paddingLeft:["0.938rem","1.875rem"]}),"63px"),P=v.default.h2((function(e){return{fontWeight:600,fontSize:"1rem",lineHeight:"1.5rem",color:e.color,margin:"0.063rem 0"}})),_=v.default.h3((function(e){var i=e.color,n=e.fontSize,r=e.lineHeight;return{fontWeight:e.fontWeight,fontSize:n,lineHeight:r,color:i,margin:e.margin}})),q=v.default.div(p||(p=e.__makeTemplateObject(["\n display: flex;\n ",";\n height: 100%;\n align-items: end;\n margin-top: 0.219rem;\n"],["\n display: flex;\n ",";\n height: 100%;\n align-items: end;\n margin-top: 0.219rem;\n"])),(function(e){return e.withTag?t.mediaQueries({justifyContent:["space-between","end"],flexDirection:["row","column"]}):"justify-content: end"})),w=v.default.div(f||(f=e.__makeTemplateObject(["\n position: absolute;\n right: 0;\n top: 0;\n transform: translate(30%, -30%);\n border-radius: 50%;\n width: 1rem;\n height: 1rem;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--colors-shades-300-color);\n color: var(--colors-shades-white-color);\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 24px;\n"],["\n position: absolute;\n right: 0;\n top: 0;\n transform: translate(30%, -30%);\n border-radius: 50%;\n width: 1rem;\n height: 1rem;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--colors-shades-300-color);\n color: var(--colors-shades-white-color);\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 24px;\n"]))),L=v.default.span(h||(h=e.__makeTemplateObject(["\n display: block;\n transform: translateY(1px);\n"],["\n display: block;\n transform: translateY(1px);\n"]))),T=v.default.span(b||(b=e.__makeTemplateObject(["\n color: ",";\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n"],["\n color: ",";\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n"])),(function(e){return e.theme.colors.semantic.urgent.color}));module.exports=function(n){var t,d,u,m,g,p,f,h,b=n.title,v=n.className,k=n.subtitle,z=n.midElement,C=n.image,O=n.price,S=n.tag,V=n.quantity,H=n.finalPriceStyle,I=n.isGift,W=n.isClub,D=n.isPrincingStyleTestEnabled,E=r.useTheme();return i.jsxs(j,e.__assign({className:v},{children:[i.jsxs(x,{children:[i.jsx(a.Image,{src:C.src,alt:C.alt,width:"4.063rem",height:"5.375rem",objectFit:"cover",objectPosition:"center"},void 0),V?i.jsx(w,e.__assign({"data-testid":"order-item-quantity"},{children:i.jsx(L,{children:V},void 0)}),void 0):null]},void 0),i.jsxs(y,e.__assign({"data-testid":"order-item-description-container",theme:E},{children:[i.jsx(P,e.__assign({color:E.colors.shades[700].color,"data-testid":"product-title"},{children:b}),void 0),k&&i.jsx(_,e.__assign({color:(null===(d=null===(t=E.component.pricing)||void 0===t?void 0:t.subtitle)||void 0===d?void 0:d.color)||E.colors.shades[700].color,fontSize:(null===(m=null===(u=E.component.pricing)||void 0===u?void 0:u.subtitle)||void 0===m?void 0:m.fontSize)||"0.75rem",lineHeight:(null===(p=null===(g=E.component.pricing)||void 0===g?void 0:g.subtitle)||void 0===p?void 0:p.lineHeight)||"1rem",fontWeight:(null===(h=null===(f=E.component.pricing)||void 0===f?void 0:f.subtitle)||void 0===h?void 0:h.fontWeight)||"normal","data-testid":"product-variant-title",margin:"0.5rem 0 0 0"},{children:k}),void 0),z,I&&i.jsx(T,{children:"Limited Time Only"},void 0),i.jsxs(q,e.__assign({"data-testid":"order-item-price-container",withTag:!!S,theme:E},{children:[S&&i.jsx(s.OfferBanner,{discountAppliedText:null==S?void 0:S.text,backgroundColor:null==S?void 0:S.backgroundColor},void 0),I?i.jsx(T,{children:"GIFT"},void 0):W?i.jsx(o.ClubPriceMemberLabel,{finalPrice:O.finalPrice,originalPrice:O.originalPrice,isCollections:!1,isClubOffer:!0,isClub:!0,icon:i.jsx(l.Icon,{name:"other/club_filled",height:"21px",width:"52px"},void 0),style:{gap:8}},void 0):i.jsx(c.PriceLabel,{finalPrice:O.finalPrice,originalPrice:O.originalPrice,color:O.color||E.colors.shades[700].color,originalPriceColor:O.originalPriceColor,size:E.component.pricing.priceLabel.price.size,finalPriceStyle:H,originalPriceStyled:!0,isPrincingStyleTestEnabled:D},void 0)]}),void 0)]}),void 0)]}),void 0)};
2
2
  //# sourceMappingURL=SimpleOrderItem.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),e=require("@emotion/react"),t=require("@emotion/styled"),i=require("../../text/Text.js");function o(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var a,r,l,s,c,f,p,g,m,u,h,x,d,b,y,_=o(t),T=_.default.div(a||(a=n.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"],["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"]))),j=_.default.h1(r||(r=n.__makeTemplateObject(["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n display: block;\n align-items: center;\n"],["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n display: block;\n align-items: center;\n"]))),w=_.default.span(l||(l=n.__makeTemplateObject(["\n margin: 0;\n margin-right: 0.625rem;\n font-weight: 600;\n color: ",";\n font-size: ",";\n line-height: ",";\n align-self: ",";\n"],["\n margin: 0;\n margin-right: 0.625rem;\n font-weight: 600;\n color: ",";\n font-size: ",";\n line-height: ",";\n align-self: ",";\n"])),(function(n){return n.theme.component.total.basicTotal.currency.color}),(function(n){return n.theme.component.total.basicTotal.currency.fontSize}),(function(n){return n.theme.component.total.basicTotal.currency.lineHeight}),(function(n){return n.theme.component.total.basicTotal.currency.alignSelf})),k=_.default.div(c||(c=n.__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n align-items: center;\n\n ","\n"],["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n align-items: center;\n\n ","\n"])),(function(t){var i=t.highlightSavings;if(i)return e.css(s||(s=n.__makeTemplateObject(["\n justify-content: unset;\n gap: 0.5rem;\n background-color: ",";\n width: auto;\n align-self: end;\n padding: 4px;\n border-radius: 4px;\n "],["\n justify-content: unset;\n gap: 0.5rem;\n background-color: ",";\n width: auto;\n align-self: end;\n padding: 4px;\n border-radius: 4px;\n "])),"v1"===i&&"#dff1ec")})),v=_.default(k)(f||(f=n.__makeTemplateObject(["\n justify-content: ",";\n margin-top: 0;\n"],["\n justify-content: ",";\n margin-top: 0;\n"])),(function(n){return n.showTotalLabel?"space-between":"flex-end"})),z=_.default.div(p||(p=n.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n font-size: 18px;\n line-height: 28px;\n font-weight: ",";\n\n & > span:first-of-type {\n color: #ff4e30;\n }\n\n & > span:last-of-type {\n color: #44c676;\n }\n"],["\n display: flex;\n flex-direction: column;\n font-size: 18px;\n line-height: 28px;\n font-weight: ",";\n\n & > span:first-of-type {\n color: #ff4e30;\n }\n\n & > span:last-of-type {\n color: #44c676;\n }\n"])),(function(n){return n.theme.component.total.basicTotal.savings.amountFontWeight})),O=_.default.span(g||(g=n.__makeTemplateObject(["\n color: ",";\n"],["\n color: ",";\n"])),(function(n){return n.color})),S=_.default.h3(u||(u=n.__makeTemplateObject(["\n margin: 0;\n font-size: 14px;\n line-height: 22px;\n font-weight: 600;\n color: ",";\n\n ","\n"],["\n margin: 0;\n font-size: 14px;\n line-height: 22px;\n font-weight: 600;\n color: ",";\n\n ","\n"])),(function(n){var e=n.highlightColor;return n.isPrincingStyleTestEnabled?"#FF4E30":e}),(function(t){if(t.isSavingsHighlighted)return e.css(m||(m=n.__makeTemplateObject(["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n text-transform: uppercase;\n "],["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n text-transform: uppercase;\n "])))})),C=_.default.h3(x||(x=n.__makeTemplateObject(["\n margin: 0;\n font-size: 18px;\n line-height: 28px;\n font-weight: ",";\n\n text-decoration: ",";\n\n color: ",";\n\n ","\n"],["\n margin: 0;\n font-size: 18px;\n line-height: 28px;\n font-weight: ",";\n\n text-decoration: ",";\n\n color: ",";\n\n ","\n"])),(function(n){return n.theme.component.total.basicTotal.savings.amountFontWeight}),(function(n){return n.isPrincingStyleTestEnabled&&"line-through"}),(function(n){var e=n.isPrincingStyleTestEnabled,t=n.highlightColor;return e?"#FF4E30":t}),(function(t){if(t.isSavingsHighlighted)return e.css(h||(h=n.__makeTemplateObject(["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n "],["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n "])))})),F=_.default(i.Text)(d||(d=n.__makeTemplateObject(["\n font-size: 20px;\n"],["\n font-size: 20px;\n"]))),P=_.default.div(b||(b=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),E=_.default.div(y||(y=n.__makeTemplateObject(["\n position: absolute;\n transform: translate(10px, -18px);\n"],["\n position: absolute;\n transform: translate(10px, -18px);\n"])));exports.Container=k,exports.Currency=w,exports.DiscountAmount=C,exports.DiscountText=S,exports.GrandTotal=j,exports.PriceWrapper=O,exports.PricingStyledContainer=z,exports.SavingsSvgContainer=P,exports.StarsContainer=E,exports.TotalContainer=v,exports.TotalLabel=F,exports.Wrapper=T;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),e=require("@emotion/react"),t=require("@emotion/styled"),i=require("../../text/Text.js");function o(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,a,l,s,c,f,p,g,m,u,h,x,d,b,y,_,T=o(t),j=T.default.div(r||(r=n.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"],["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"]))),w=T.default.h1(a||(a=n.__makeTemplateObject(["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n display: block;\n align-items: center;\n"],["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n display: block;\n align-items: center;\n"]))),k=T.default.span(l||(l=n.__makeTemplateObject(["\n margin: 0;\n margin-right: 0.625rem;\n font-weight: 600;\n color: ",";\n font-size: ",";\n line-height: ",";\n align-self: ",";\n"],["\n margin: 0;\n margin-right: 0.625rem;\n font-weight: 600;\n color: ",";\n font-size: ",";\n line-height: ",";\n align-self: ",";\n"])),(function(n){return n.theme.component.total.basicTotal.currency.color}),(function(n){return n.theme.component.total.basicTotal.currency.fontSize}),(function(n){return n.theme.component.total.basicTotal.currency.lineHeight}),(function(n){return n.theme.component.total.basicTotal.currency.alignSelf})),v=T.default.div(c||(c=n.__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n align-items: center;\n\n ","\n"],["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n align-items: center;\n\n ","\n"])),(function(t){var i=t.highlightSavings;if(i)return e.css(s||(s=n.__makeTemplateObject(["\n justify-content: unset;\n gap: 0.5rem;\n background-color: ",";\n width: auto;\n align-self: end;\n padding: 4px;\n border-radius: 4px;\n "],["\n justify-content: unset;\n gap: 0.5rem;\n background-color: ",";\n width: auto;\n align-self: end;\n padding: 4px;\n border-radius: 4px;\n "])),"v1"===i&&"#dff1ec")})),z=T.default(v)(f||(f=n.__makeTemplateObject(["\n justify-content: ",";\n margin-top: 0;\n"],["\n justify-content: ",";\n margin-top: 0;\n"])),(function(n){return n.showTotalLabel?"space-between":"flex-end"})),O=T.default.div(p||(p=n.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n font-size: 16px;\n line-height: 24px;\n font-weight: 400;\n\n & > span:first-of-type {\n color: #ff4e30;\n text-decoration: line-through;\n }\n\n & > span:last-of-type {\n color: #44c676;\n }\n"],["\n display: flex;\n flex-direction: column;\n font-size: 16px;\n line-height: 24px;\n font-weight: 400;\n\n & > span:first-of-type {\n color: #ff4e30;\n text-decoration: line-through;\n }\n\n & > span:last-of-type {\n color: #44c676;\n }\n"]))),S=T.default.span(g||(g=n.__makeTemplateObject(["\n color: ",";\n"],["\n color: ",";\n"])),(function(n){return n.color})),C=T.default.h3(u||(u=n.__makeTemplateObject(["\n margin: 0;\n font-size: 14px;\n line-height: 22px;\n font-weight: 600;\n color: ",";\n\n ","\n"],["\n margin: 0;\n font-size: 14px;\n line-height: 22px;\n font-weight: 600;\n color: ",";\n\n ","\n"])),(function(n){var e=n.highlightColor;return n.isPrincingStyleTestEnabled?"#FF4E30":e}),(function(t){if(t.isSavingsHighlighted)return e.css(m||(m=n.__makeTemplateObject(["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n text-transform: uppercase;\n "],["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n text-transform: uppercase;\n "])))})),P=T.default.h3(d||(d=n.__makeTemplateObject(["\n margin: 0;\n font-size: ",";\n line-height: 28px;\n font-weight: ",";\n\n color: ",";\n\n ","\n\n ","\n"],["\n margin: 0;\n font-size: ",";\n line-height: 28px;\n font-weight: ",";\n\n color: ",";\n\n ","\n\n ","\n"])),(function(n){return n.isPrincingStyleTestEnabled?"16px":"18px"}),(function(n){var e=n.theme;return n.isPrincingStyleTestEnabled?400:e.component.total.basicTotal.savings.amountFontWeight}),(function(n){var e=n.isPrincingStyleTestEnabled,t=n.highlightColor;return e?"#FF4E30":t}),(function(t){if(t.isPrincingStyleTestEnabled)return e.css(h||(h=n.__makeTemplateObject(["\n &::before {\n content: '-';\n margin-right: 2px;\n }\n "],["\n &::before {\n content: '-';\n margin-right: 2px;\n }\n "])))}),(function(t){if(t.isSavingsHighlighted)return e.css(x||(x=n.__makeTemplateObject(["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n "],["\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n "])))})),E=T.default(i.Text)(b||(b=n.__makeTemplateObject(["\n font-size: 20px;\n"],["\n font-size: 20px;\n"]))),F=T.default.div(y||(y=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),q=T.default.div(_||(_=n.__makeTemplateObject(["\n position: absolute;\n transform: translate(10px, -18px);\n"],["\n position: absolute;\n transform: translate(10px, -18px);\n"])));exports.Container=v,exports.Currency=k,exports.DiscountAmount=P,exports.DiscountText=C,exports.GrandTotal=w,exports.PriceWrapper=S,exports.PricingStyledContainer=O,exports.SavingsSvgContainer=F,exports.StarsContainer=q,exports.TotalContainer=z,exports.TotalLabel=E,exports.Wrapper=j;
2
2
  //# sourceMappingURL=styled.js.map
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": "7.9.3",
6
+ "version": "7.10.0",
7
7
  "private": false,
8
8
  "main": "build/lib/index.js",
9
9
  "style": "build/es/index.css",