@trafilea/afrodita-components 7.1.1 → 7.1.3
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/es/components/icons/Messaging/MailSent.js +2 -0
- package/build/es/components/icons/Messaging/MailSent.js.map +1 -0
- package/build/es/components/icons/Messaging/index.js +1 -1
- package/build/es/components/molecules/ScarcityTag/ScarcityTag.js +1 -1
- package/build/es/components/molecules/ScarcityTag/ScarcityTag.styled.js +1 -1
- package/build/es/components/organisms/TwoCtasAtCart/TwoCtasAtCart.js +1 -1
- package/build/es/core/theme/defaults.js +1 -1
- package/build/index.d.ts +69 -6
- package/build/lib/components/icons/Messaging/MailSent.js +2 -0
- package/build/lib/components/icons/Messaging/MailSent.js.map +1 -0
- package/build/lib/components/icons/Messaging/index.js +1 -1
- package/build/lib/components/molecules/ScarcityTag/ScarcityTag.js +1 -1
- package/build/lib/components/molecules/ScarcityTag/ScarcityTag.styled.js +1 -1
- package/build/lib/components/organisms/TwoCtasAtCart/TwoCtasAtCart.js +1 -1
- package/build/lib/core/theme/defaults.js +1 -1
- package/build/theme/revel.theme.d.ts +61 -3
- package/build/theme/revel.theme.js +6 -0
- package/build/theme/shapermint.theme.d.ts +61 -3
- package/build/theme/shapermint.theme.js +258 -0
- package/build/theme/thebodcon.theme.d.ts +61 -3
- package/build/theme/thebodcon.theme.js +6 -0
- package/build/theme/thespadr.theme.d.ts +61 -3
- package/build/theme/thespadr.theme.js +143 -0
- package/build/theme/truekind.theme.d.ts +61 -3
- package/build/theme/truekind.theme.js +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"tslib";import{jsx as r}from"react/jsx-runtime";import"../../atoms/PriceLabel/PriceLabel.js";import"../../atoms/PriceLabelV2/PriceLabelV2.js";import"../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js";import"../../atoms/HorizontalDivider/HorizontalDivider.js";import{Icon as o}from"../../atoms/Icon/Icon.js";import"../../atoms/Image/Image.js";import"react";import"../../atoms/Toggle/toggle.styled.js";var t=function(t){return r(o,e({},t,{name:"messaging/mail_sent"}),void 0)};export{t as MailSent};
|
|
2
|
+
//# sourceMappingURL=MailSent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MailSent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{AdaChat}from"./AdaChat.js";export{Comment}from"./Comment.js";export{CommentDots}from"./CommentDots.js";export{CommentLight}from"./CommentLight.js";export{CommentMoney}from"./CommentMoney.js";export{Community}from"./Community.js";export{Light}from"./Light.js";export{LightBulb}from"./LightBulb.js";export{LightBulbSolid}from"./LightBulbSolid.js";export{Mail}from"./Mail.js";export{Messenger}from"./Messenger.js";export{QuestionCircle}from"./QuestionCircle.js";export{QuestionCircleLight}from"./QuestionCircleLight.js";export{QuoteLeft}from"./QuoteLeft.js";export{QuoteRight}from"./QuoteRight.js";export{QuoteSolidLeft}from"./QuoteSolidLeft.js";export{QuoteSolidRight}from"./QuoteSolidRight.js";
|
|
1
|
+
export{AdaChat}from"./AdaChat.js";export{Comment}from"./Comment.js";export{CommentDots}from"./CommentDots.js";export{CommentLight}from"./CommentLight.js";export{CommentMoney}from"./CommentMoney.js";export{Community}from"./Community.js";export{Light}from"./Light.js";export{LightBulb}from"./LightBulb.js";export{LightBulbSolid}from"./LightBulbSolid.js";export{Mail}from"./Mail.js";export{MailSent}from"./MailSent.js";export{Messenger}from"./Messenger.js";export{QuestionCircle}from"./QuestionCircle.js";export{QuestionCircleLight}from"./QuestionCircleLight.js";export{QuoteLeft}from"./QuoteLeft.js";export{QuoteRight}from"./QuoteRight.js";export{QuoteSolidLeft}from"./QuoteSolidLeft.js";export{QuoteSolidRight}from"./QuoteSolidRight.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as
|
|
1
|
+
import{__assign as o}from"tslib";import{jsxs as r,jsx as t}from"react/jsx-runtime";import{Text as i}from"../../text/Text.js";import{Wrapper as l,FadeInOut as e}from"./ScarcityTag.styled.js";function a(a){var c=a.text,s=a.color;return r(l,{children:[t(e,{backgroundColor:null!=s?s:"var(--colors-semantic-positive-color)"},void 0),t(i,o({variant:"tag",allCaps:!0,weight:"bold",color:null!=s?s:"var(--colors-semantic-positive-color)",size:"small"},{children:c}),void 0)]},void 0)}export{a as ScarcityTag};
|
|
2
2
|
//# sourceMappingURL=ScarcityTag.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__makeTemplateObject as n}from"tslib";import i from"@emotion/styled";import{keyframes as o}from"@emotion/react";var t,r,a,p=i.div(t||(t=n(["\n display: flex;\n align-items: center;\n gap: 6px;\n margin-top: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 6px;\n margin-top: 8px;\n"]))),e=o(r||(r=n(["\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n"],["\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n"]))),c=i.div(a||(a=n(["\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background-color: ",";\n animation: "," 1.4s infinite;\n"],["\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background-color: ",";\n animation: "," 1.4s infinite;\n"])),(function(n){var i;return null!==(i=n.backgroundColor)&&void 0!==i?i:"
|
|
1
|
+
import{__makeTemplateObject as n}from"tslib";import i from"@emotion/styled";import{keyframes as o}from"@emotion/react";var t,r,a,p=i.div(t||(t=n(["\n display: flex;\n align-items: center;\n gap: 6px;\n margin-top: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 6px;\n margin-top: 8px;\n"]))),e=o(r||(r=n(["\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n"],["\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n"]))),c=i.div(a||(a=n(["\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background-color: ",";\n animation: "," 1.4s infinite;\n"],["\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background-color: ",";\n animation: "," 1.4s infinite;\n"])),(function(n){var i;return null!==(i=n.backgroundColor)&&void 0!==i?i:"var(--colors-semantic-positive-color)"}),e);export{c as FadeInOut,p as Wrapper};
|
|
2
2
|
//# sourceMappingURL=ScarcityTag.styled.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as t}from"tslib";import{jsxs as r,jsx as o}from"react/jsx-runtime";import e from"../../cta/primary/ButtonPrimary.js";import"@emotion/react/jsx-runtime";import"../../../core/theme/Theme.js";import"../../../types/enums.js";import"../../cta/styled.js";import"../../PackSelectorV2/PackSelectoV2.js";import"../../absorbency-level/AbsorbencyLevel.js";import"../../accordion-options/AccordionOptions.js";import"../../accordion/Accordion.js";import"react";import"../../../utils/constants/offerAtCart.js";import"../../../utils/media.js";import"../../../utils/mock-content/CancellationFlowAccordion.js";import"../../dropdown/variants/simple/SimpleDropdown.js";import"../../atoms/PriceLabel/PriceLabel.js";import"../../atoms/PriceLabelV2/PriceLabelV2.js";import"../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js";import"../../atoms/HorizontalDivider/HorizontalDivider.js";import"../../atoms/Icon/Icon.js";import"../../atoms/Image/Image.js";import"../../atoms/Toggle/toggle.styled.js";import"../../radio/input/styles.js";import"../../tooltip/Styled.js";import"../../autoship/styled.js";import"../../autoshipV2/styled.js";import"../../before-after/BeforeAfter.js";import"../../pricing/clubOffer/ClubOfferTag.js";import"../../pricing/discount/DiscountTag.js";import"../../pricing/styles.js";import"../../pricing/priceLabelV2/PriceLabelV2.js";import"../../pricing/priceLabelV3/PriceLabelV3.js";import"../../pricing/priceLabelV5/PriceLabelV5.styled.js";import"../../shared/card/Card.js";import"../../bundle/minimalistic/styled.js";import"../../text/Text.js";import"../../bundle/motivator/styled.js";import"../../bundle/simple/Simple.js";import"../../buynowpaylater/BuyNowPayLater.js";import"../../offer-banner/OfferBanner.js";import"../../cartProductItem/CloseIcon/CloseButton.js";import"../../cartProductItem/Description/Description.js";import"../../cartProductItem/Promo/Promo.js";import"../../cartProductItem/Title/Title.js";import"../../cartProductItem/TrashIcon/styled.js";import"../../checkbox/Checkbox.js";import"../../SkeletonBox/SkeletonBox.js";import"../../club-price-label/ClubPriceLabel.js";import"../../strength-bars/StrengthBars.js";import"../../pricing/priceLabelV4/PriceLabelV4.js";import"../../rating/starList/StarList.js";import"../../rating/styles.js";import"../../collection/product/mobile/styled.js";import"../../collection/product/truekind/ProductItemTK.js";import"../../collection/grid/WithProductGrid.js";import"../../color/ColorRadioGroup.js";import"../../color/selector/PatternSelector.js";import"../../color/styles/ColorPickerwithTootip.styled.js";import"../../cross-sell/Checkbox/CrossSellCheckbox.js";import"../../delivery-details/DeliveryDetails.js";import"../../delivery-details/Note/Note.js";import"../../drawer/Drawer.js";import"../../dropdown-list-icons/Styled.js";import"../../dropdown/size-dropdown/Styled.js";import"../../dropdown/variants/dialog/DropdownDialog.js";import"../../dropdown/base/BaseDropdown.js";import"../../filtering/Accordion.js";import"../../filtering/FiltersStyled.js";import"../../filtering/Tags/Tags.js";import"../../fit-guarantee/FitGuarantee.js";import"../../fit/FitPredictor.js";import"../../slider/ArrowButton.js";import"../../slider/StyledSlider.js";import"../../gallery/components/ImageSmallPreview/styled.js";import"../../gallery/components/ImagePreviewList/styled.js";import"../../molecules/Video/components/styled.js";import"../../molecules/Video/styled.js";import"../../gallery/components/ImageProductSlide/styled.js";import"../../gallery/styled.js";import"../../icon-button/IconButton.js";import"../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js";import"../../iconsWithTitle/index.js";import"../../image-card/ImageCard.js";import"../../input/label/Label.js";import"../../input/base/Error.js";import"../../input/base/Styled.js";import"../../input/custom/Custom.js";import"../../input/basePlusButton/BasePlusButton.js";import"../../input/basePlusIcon/BasePlusIcon.js";import"../../modal/Modal.js";import"../../motivator-progress-bar/MotivatorProgressBar.js";import"../../order-bar/OrderBar.js";import"../../packs/selector/PackSelector.js";import"../../pagination/styles.js";import"../../payment-methods/PaymentMethod.js";import"../../product/order/item/SimpleOrderItem.js";import"../../progress-bar/ProgressBar.js";import"../../quantityPicker/QuantityPicker.js";import"../../radio/RadioPrimary/radioPrimary.js";import"../../radio/clubRadioInput/clubRadio.js";import"../../review-detail/ReviewDetail.js";import"../../review/Review.js";import"../../reviews-header/ReviewsHeader.js";import"../../scroll-to-top/ScrollToTop.js";import"../../search-bar/components/ClearButton/styled.js";import"../../search-bar/components/Footer/styled.js";import"../../search-bar/components/ProductItem/styled.js";import"../../search-bar/components/ResultsPanel/styled.js";import"../../search-bar/components/SearchControl/styled.js";import"../../search-bar/styled.js";import"../../search-navigation/styled.js";import"react-dom";import"../../short-banner/ShortBanner.js";import"../../size-chart/styled.js";import"../../size-table/SizeTable.js";import"../../size/guide/SizeFitGuide.js";import"../../size/selector/styled.js";import"../../tabs/Tab.js";import"../../tabs/Tabs.js";import"../../tag/Tag.js";import"@emotion/react";import"../../textWithImage/index.js";import"../../timer/styled.js";import"../../toast/Toast.js";import"../../totals/total/styled.js";import"../../totals/subtotal/Subtotal.js";import"../../tracking-progress-v2/TrackingProgressV2.js";import"../../tracking-progress/TrackingProgress.js";import"../AutoshipOfferCard/AutoshipOfferCardItem.styled.js";import"../AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js";import"../AutoshipPdpCard/AutoshipPdpCard.styled.js";import"../BasicAccordion/BasicAccordion.js";import"../CartItemCard/CartItem.js";import"../ClubOfferSelector/styled.js";import"../ClubOfferSelector2/styled.js";import"../JoinClubCard/joinClubCard.js";import"../OfferAtCart/styled.js";import"../OfferAtCartV2/styled.js";import"../OfferAtCartV3/styled.js";import"../OfferAtCartV4/styled.js";import"../OfferAtPDP/styled.js";import"../OfferAtPDP/types.js";import"../ProductCard/ProductCardV1/ProductCard.js";import"../ProductCard/ProductCardV2/styled.js";import"../ProductCard/ProductCardV3/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js";import"../ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js";import"../ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js";import"@ant-design/react-slick";import"../ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js";import"react-inner-image-zoom";import"../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV5/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV6/ColorVariantsGallery/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV6/styled.js";import"../SizeCharTable/SizeChartTableV2/styled.js";import"../SizeCharTable/SizeChartTableV3/styled.js";import"../../molecules/ArrowTip/ArrowTip.styled.js";import"../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js";import"../SubscriptionPlanSelector/styled.js";import"./Greeting.styled.js";import{Container as i,TitleWrapper as s,BodyContainer as l,GridContainer as a,BottomCopyWrapper as m,OutLineButtonContainer as p,SaveLessLinkButton as d,BtnOutlineWrapper as c}from"./Card.styled.js";import{DescriptionItem as n}from"./DescriptionItem.js";import{BottomButtonVersionsTypes as j}from"./types.js";import"../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js";import"../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js";import"../../molecules/CouponCard/styled.js";import"../../molecules/BenefitsList/styled.js";import"../../molecules/HurryUp/styled.js";import"../../molecules/Spinner/styled.js";import"../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js";import"../../molecules/LikeButton/styled.js";import{ScarcityTag as u}from"../../molecules/ScarcityTag/ScarcityTag.js";function y(y){var b=y.title,P=y.saveLessButtonAction,C=y.saveLessButtonLabel,g=y.saveMoreButtonAction,f=y.saveMoreButtonLabel,h=y.descriptions,S=y.version,v=y.bottomCopy,T=y.titleBackgroundColor,V=y.scarcityText;return r(i,t({id:"twoCtasAtCart"},{children:[o(s,t({id:"twoCtasAtCartTitle",backgroundColor:null!=T?T:void 0},{children:b}),void 0),o(e,{onClick:g,text:f,wide:!0},void 0),V&&o(u,{text:V,color:
|
|
1
|
+
import{__assign as t}from"tslib";import{jsxs as r,jsx as o}from"react/jsx-runtime";import e from"../../cta/primary/ButtonPrimary.js";import"@emotion/react/jsx-runtime";import"../../../core/theme/Theme.js";import"../../../types/enums.js";import"../../cta/styled.js";import"../../PackSelectorV2/PackSelectoV2.js";import"../../absorbency-level/AbsorbencyLevel.js";import"../../accordion-options/AccordionOptions.js";import"../../accordion/Accordion.js";import"react";import"../../../utils/constants/offerAtCart.js";import"../../../utils/media.js";import"../../../utils/mock-content/CancellationFlowAccordion.js";import"../../dropdown/variants/simple/SimpleDropdown.js";import"../../atoms/PriceLabel/PriceLabel.js";import"../../atoms/PriceLabelV2/PriceLabelV2.js";import"../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js";import"../../atoms/HorizontalDivider/HorizontalDivider.js";import"../../atoms/Icon/Icon.js";import"../../atoms/Image/Image.js";import"../../atoms/Toggle/toggle.styled.js";import"../../radio/input/styles.js";import"../../tooltip/Styled.js";import"../../autoship/styled.js";import"../../autoshipV2/styled.js";import"../../before-after/BeforeAfter.js";import"../../pricing/clubOffer/ClubOfferTag.js";import"../../pricing/discount/DiscountTag.js";import"../../pricing/styles.js";import"../../pricing/priceLabelV2/PriceLabelV2.js";import"../../pricing/priceLabelV3/PriceLabelV3.js";import"../../pricing/priceLabelV5/PriceLabelV5.styled.js";import"../../shared/card/Card.js";import"../../bundle/minimalistic/styled.js";import"../../text/Text.js";import"../../bundle/motivator/styled.js";import"../../bundle/simple/Simple.js";import"../../buynowpaylater/BuyNowPayLater.js";import"../../offer-banner/OfferBanner.js";import"../../cartProductItem/CloseIcon/CloseButton.js";import"../../cartProductItem/Description/Description.js";import"../../cartProductItem/Promo/Promo.js";import"../../cartProductItem/Title/Title.js";import"../../cartProductItem/TrashIcon/styled.js";import"../../checkbox/Checkbox.js";import"../../SkeletonBox/SkeletonBox.js";import"../../club-price-label/ClubPriceLabel.js";import"../../strength-bars/StrengthBars.js";import"../../pricing/priceLabelV4/PriceLabelV4.js";import"../../rating/starList/StarList.js";import"../../rating/styles.js";import"../../collection/product/mobile/styled.js";import"../../collection/product/truekind/ProductItemTK.js";import"../../collection/grid/WithProductGrid.js";import"../../color/ColorRadioGroup.js";import"../../color/selector/PatternSelector.js";import"../../color/styles/ColorPickerwithTootip.styled.js";import"../../cross-sell/Checkbox/CrossSellCheckbox.js";import"../../delivery-details/DeliveryDetails.js";import"../../delivery-details/Note/Note.js";import"../../drawer/Drawer.js";import"../../dropdown-list-icons/Styled.js";import"../../dropdown/size-dropdown/Styled.js";import"../../dropdown/variants/dialog/DropdownDialog.js";import"../../dropdown/base/BaseDropdown.js";import"../../filtering/Accordion.js";import"../../filtering/FiltersStyled.js";import"../../filtering/Tags/Tags.js";import"../../fit-guarantee/FitGuarantee.js";import"../../fit/FitPredictor.js";import"../../slider/ArrowButton.js";import"../../slider/StyledSlider.js";import"../../gallery/components/ImageSmallPreview/styled.js";import"../../gallery/components/ImagePreviewList/styled.js";import"../../molecules/Video/components/styled.js";import"../../molecules/Video/styled.js";import"../../gallery/components/ImageProductSlide/styled.js";import"../../gallery/styled.js";import"../../icon-button/IconButton.js";import"../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js";import"../../iconsWithTitle/index.js";import"../../image-card/ImageCard.js";import"../../input/label/Label.js";import"../../input/base/Error.js";import"../../input/base/Styled.js";import"../../input/custom/Custom.js";import"../../input/basePlusButton/BasePlusButton.js";import"../../input/basePlusIcon/BasePlusIcon.js";import"../../modal/Modal.js";import"../../motivator-progress-bar/MotivatorProgressBar.js";import"../../order-bar/OrderBar.js";import"../../packs/selector/PackSelector.js";import"../../pagination/styles.js";import"../../payment-methods/PaymentMethod.js";import"../../product/order/item/SimpleOrderItem.js";import"../../progress-bar/ProgressBar.js";import"../../quantityPicker/QuantityPicker.js";import"../../radio/RadioPrimary/radioPrimary.js";import"../../radio/clubRadioInput/clubRadio.js";import"../../review-detail/ReviewDetail.js";import"../../review/Review.js";import"../../reviews-header/ReviewsHeader.js";import"../../scroll-to-top/ScrollToTop.js";import"../../search-bar/components/ClearButton/styled.js";import"../../search-bar/components/Footer/styled.js";import"../../search-bar/components/ProductItem/styled.js";import"../../search-bar/components/ResultsPanel/styled.js";import"../../search-bar/components/SearchControl/styled.js";import"../../search-bar/styled.js";import"../../search-navigation/styled.js";import"react-dom";import"../../short-banner/ShortBanner.js";import"../../size-chart/styled.js";import"../../size-table/SizeTable.js";import"../../size/guide/SizeFitGuide.js";import"../../size/selector/styled.js";import"../../tabs/Tab.js";import"../../tabs/Tabs.js";import"../../tag/Tag.js";import"@emotion/react";import"../../textWithImage/index.js";import"../../timer/styled.js";import"../../toast/Toast.js";import"../../totals/total/styled.js";import"../../totals/subtotal/Subtotal.js";import"../../tracking-progress-v2/TrackingProgressV2.js";import"../../tracking-progress/TrackingProgress.js";import"../AutoshipOfferCard/AutoshipOfferCardItem.styled.js";import"../AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js";import"../AutoshipPdpCard/AutoshipPdpCard.styled.js";import"../BasicAccordion/BasicAccordion.js";import"../CartItemCard/CartItem.js";import"../ClubOfferSelector/styled.js";import"../ClubOfferSelector2/styled.js";import"../JoinClubCard/joinClubCard.js";import"../OfferAtCart/styled.js";import"../OfferAtCartV2/styled.js";import"../OfferAtCartV3/styled.js";import"../OfferAtCartV4/styled.js";import"../OfferAtPDP/styled.js";import"../OfferAtPDP/types.js";import"../ProductCard/ProductCardV1/ProductCard.js";import"../ProductCard/ProductCardV2/styled.js";import"../ProductCard/ProductCardV3/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js";import"../ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js";import"../ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js";import"@ant-design/react-slick";import"../ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js";import"react-inner-image-zoom";import"../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV5/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV6/ColorVariantsGallery/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js";import"../ProductGalleryMobile/ProductGalleryMobileV6/styled.js";import"../SizeCharTable/SizeChartTableV2/styled.js";import"../SizeCharTable/SizeChartTableV3/styled.js";import"../../molecules/ArrowTip/ArrowTip.styled.js";import"../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js";import"../SubscriptionPlanSelector/styled.js";import"./Greeting.styled.js";import{Container as i,TitleWrapper as s,BodyContainer as l,GridContainer as a,BottomCopyWrapper as m,OutLineButtonContainer as p,SaveLessLinkButton as d,BtnOutlineWrapper as c}from"./Card.styled.js";import{DescriptionItem as n}from"./DescriptionItem.js";import{BottomButtonVersionsTypes as j}from"./types.js";import"../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js";import"../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js";import"../../molecules/CouponCard/styled.js";import"../../molecules/BenefitsList/styled.js";import"../../molecules/HurryUp/styled.js";import"../../molecules/Spinner/styled.js";import"../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js";import"../../molecules/LikeButton/styled.js";import{ScarcityTag as u}from"../../molecules/ScarcityTag/ScarcityTag.js";function y(y){var b=y.title,P=y.saveLessButtonAction,C=y.saveLessButtonLabel,g=y.saveMoreButtonAction,f=y.saveMoreButtonLabel,h=y.descriptions,S=y.version,v=y.bottomCopy,T=y.titleBackgroundColor,V=y.scarcityText,G=y.scarcityTextColor;return r(i,t({id:"twoCtasAtCart"},{children:[o(s,t({id:"twoCtasAtCartTitle",backgroundColor:null!=T?T:void 0},{children:b}),void 0),o(e,{onClick:g,text:f,wide:!0},void 0),V&&o(u,{text:V,color:G},void 0),r(l,{children:[o(a,{children:h.map((function(t,r){return o(n,{text:t.text,smallerText:t.smallerText,iconName:null==t?void 0:t.iconName,type:null==t?void 0:t.type,link:null==t?void 0:t.link},"".concat(t.text,"-").concat(r))}))},void 0),v&&o(m,{dangerouslySetInnerHTML:{__html:v}},void 0)]},void 0),o(p,{children:S===j.link?o(d,t({href:"#",onClick:P},{children:C}),void 0):o(c,{wide:!0,onClick:P,text:C},void 0)},void 0)]}),void 0)}export{y as TwoCtasAtCart};
|
|
2
2
|
//# sourceMappingURL=TwoCtasAtCart.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
1
|
+
var x={mobile:640,tablet:1024,desktop:1280,xs:"480px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"};export{x as DEFAULT_BREAKPOINTS};
|
|
2
2
|
//# sourceMappingURL=defaults.js.map
|
package/build/index.d.ts
CHANGED
|
@@ -183,7 +183,7 @@ declare type Arrows$1 = 'arrows/chevron_down' | 'arrows/chevron_down_variant' |
|
|
|
183
183
|
declare type Custom$1 = 'custom/atom' | 'custom/avatar_placeholder' | 'custom/bra' | 'custom/bubbles' | 'custom/bullet_one' | 'custom/bullet_three' | 'custom/bullet_two' | 'custom/certified' | 'custom/clinically_tested' | 'custom/cruelty_free' | 'custom/fair_advantages' | 'custom/frown' | 'custom/money_flow' | 'custom/new_sixty_days_guarantee' | 'custom/packs_and_bundles' | 'custom/seamless_support_bra' | 'custom/sixty_days_bold' | 'custom/sixty_days_guarantee' | 'custom/smiling' | 'custom/subscription' | 'custom/thumbs_down' | 'custom/thumbs_up' | 'custom/underwear' | 'custom/wire_free_comfort' | 'custom/wire_free_comfort_bold' | 'custom/tk_sixty_days_bold' | 'custom/free_shipping_truck' | 'custom/higher_discounts' | 'custom/zoom' | 'custom/focus' | 'custom/beauty_face' | 'custom/bar' | 'custom/ears' | 'custom/pain' | 'custom/rociar' | 'custom/star' | 'custom/time' | 'custom/winter_light' | 'custom/priority_support' | 'custom/sound_on' | 'custom/sound_off' | 'custom/gift_thin' | 'custom/returns' | 'custom/paint_brush' | 'custom/savings' | 'custom/unhappy' | 'custom/no_trial_time' | 'custom/expensive_wallet' | 'custom/eye' | 'custom/product_usage';
|
|
184
184
|
declare type Download$1 = 'download/apple_store' | 'download/google_play';
|
|
185
185
|
declare type Emoji$1 = 'emoji/blowing_kiss' | 'emoji/frowning' | 'emoji/grinning' | 'emoji/grinning_with_sweat' | 'emoji/relieved' | 'emoji/smiling_v2' | 'emoji/smiling_v3' | 'emoji/thinking';
|
|
186
|
-
declare type Messaging$1 = 'messaging/ada_chat' | 'messaging/comment' | 'messaging/comment_dots' | 'messaging/comment_light' | 'messaging/comment_money' | 'messaging/community' | 'messaging/light' | 'messaging/light_bulb' | 'messaging/light_bulb_solid' | 'messaging/mail' | 'messaging/messenger' | 'messaging/question_circle' | 'messaging/quote_left' | 'messaging/quote_right' | 'messaging/quote_solid_left' | 'messaging/quote_solid_right' | 'messaging/question_circle_light';
|
|
186
|
+
declare type Messaging$1 = 'messaging/ada_chat' | 'messaging/comment' | 'messaging/comment_dots' | 'messaging/comment_light' | 'messaging/comment_money' | 'messaging/community' | 'messaging/light' | 'messaging/light_bulb' | 'messaging/light_bulb_solid' | 'messaging/mail' | 'messaging/mail_sent' | 'messaging/messenger' | 'messaging/question_circle' | 'messaging/quote_left' | 'messaging/quote_right' | 'messaging/quote_solid_left' | 'messaging/quote_solid_right' | 'messaging/question_circle_light';
|
|
187
187
|
declare type MyAccount$1 = 'myaccount/birthday_gifts' | 'myaccount/community' | 'myaccount/deals_offers' | 'myaccount/free_returns' | 'myaccount/free_shipping' | 'myaccount/guard' | 'myaccount/members_only_discount' | 'myaccount/members_only_discount_opposite' | 'myaccount/personal_stylist' | 'myaccount/priority_shipping' | 'myaccount/profile' | 'myaccount/place_image' | 'myaccount/sale_tag' | 'myaccount/style_fashion_content' | 'myaccount/cart' | 'myaccount/vip' | 'myaccount/calendar' | 'myaccount/skin_type' | 'myaccount/magnify' | 'myaccount/beauty_products' | 'myaccount/email' | 'myaccount/contact';
|
|
188
188
|
declare type Navigation$1 = 'navigation/address_information' | 'navigation/benefits' | 'navigation/benefits_v2' | 'navigation/club_membership' | 'navigation/ellipsis' | 'navigation/ellipsis_horizontal' | 'navigation/filters' | 'navigation/hamburger' | 'navigation/home' | 'navigation/home_solid' | 'navigation/loading' | 'navigation/lock' | 'navigation/lock_solid' | 'navigation/map_marker' | 'navigation/map_marker_light' | 'navigation/map_solid' | 'navigation/menu_lines' | 'navigation/search' | 'navigation/shaperbox' | 'navigation/shopping_bag' | 'navigation/shopping_bag_v2' | 'navigation/shopping_bag_v3' | 'navigation/shopping_bag_v4' | 'navigation/shopping_cart' | 'navigation/shopping_cart_v2' | 'navigation/slide_dot' | 'navigation/slide_dot_solid' | 'navigation/user' | 'navigation/address_information_light' | 'navigation/user_solid' | 'navigation/user_v2' | 'navigation/filters_v2' | 'navigation/gift';
|
|
189
189
|
declare type Other$1 = 'other/bod_con_label' | 'other/bod_con_mobile_label' | 'other/call_us' | 'other/chat' | 'other/email' | 'other/express_shipping' | 'other/fit_guarantee' | 'other/fit_predictor' | 'other/free_exchange' | 'other/get_discount' | 'other/hassel_free_returns' | 'other/loading' | 'other/mc_afee' | 'other/megafone' | 'other/play' | 'other/qr_code' | 'other/question_with_circle' | 'other/revel_beauty' | 'other/shapermint' | 'other/shapermint_club_icon' | 'other/shapermint_club_icon2' | 'other/shapermint_club_label' | 'other/shapermint_club_mobile_label' | 'other/shapermint_logo' | 'other/shm_club' | 'other/shop_now' | 'other/sign_form' | 'other/sixty_days_tsd' | 'other/the_bod_con' | 'other/the_spa_dr' | 'other/lock' | 'other/help_center' | 'other/arrow_outward' | 'other/coupons' | 'other/flag_usa' | 'other/flag_canada' | 'other/flag_aus' | 'other/flag_uk' | 'other/flag_nz' | 'other/flag_sg';
|
|
@@ -698,6 +698,8 @@ declare const LightBulbSolid: IconComponent;
|
|
|
698
698
|
|
|
699
699
|
declare const Mail: IconComponent;
|
|
700
700
|
|
|
701
|
+
declare const MailSent: IconComponent;
|
|
702
|
+
|
|
701
703
|
declare const Messenger: IconComponent;
|
|
702
704
|
|
|
703
705
|
declare const QuestionCircle: IconComponent;
|
|
@@ -720,6 +722,7 @@ declare const Messaging_CommentMoney: typeof CommentMoney;
|
|
|
720
722
|
declare const Messaging_Light: typeof Light;
|
|
721
723
|
declare const Messaging_LightBulbSolid: typeof LightBulbSolid;
|
|
722
724
|
declare const Messaging_Mail: typeof Mail;
|
|
725
|
+
declare const Messaging_MailSent: typeof MailSent;
|
|
723
726
|
declare const Messaging_Messenger: typeof Messenger;
|
|
724
727
|
declare const Messaging_QuestionCircle: typeof QuestionCircle;
|
|
725
728
|
declare const Messaging_QuestionCircleLight: typeof QuestionCircleLight;
|
|
@@ -739,6 +742,7 @@ declare namespace Messaging {
|
|
|
739
742
|
LightBulb$1 as LightBulb,
|
|
740
743
|
Messaging_LightBulbSolid as LightBulbSolid,
|
|
741
744
|
Messaging_Mail as Mail,
|
|
745
|
+
Messaging_MailSent as MailSent,
|
|
742
746
|
Messaging_Messenger as Messenger,
|
|
743
747
|
Messaging_QuestionCircle as QuestionCircle,
|
|
744
748
|
Messaging_QuestionCircleLight as QuestionCircleLight,
|
|
@@ -1584,9 +1588,7 @@ declare type Theme = {
|
|
|
1584
1588
|
fontWeights: number[];
|
|
1585
1589
|
lineHeights: number[];
|
|
1586
1590
|
mediaQueries: ThemeBreakpoints;
|
|
1587
|
-
radius:
|
|
1588
|
-
regular: string;
|
|
1589
|
-
};
|
|
1591
|
+
radius: ThemeRadius;
|
|
1590
1592
|
zIndex: {
|
|
1591
1593
|
modal: number;
|
|
1592
1594
|
overlay: number;
|
|
@@ -1599,11 +1601,19 @@ declare type Theme = {
|
|
|
1599
1601
|
label: {
|
|
1600
1602
|
member: string;
|
|
1601
1603
|
};
|
|
1604
|
+
space?: ThemeSpacing;
|
|
1605
|
+
shadow?: ThemeElevation;
|
|
1602
1606
|
};
|
|
1603
1607
|
declare type ThemeBreakpoints = {
|
|
1604
1608
|
mobile: number;
|
|
1605
1609
|
tablet: number;
|
|
1606
1610
|
desktop: number;
|
|
1611
|
+
xs: string;
|
|
1612
|
+
sm: string;
|
|
1613
|
+
md: string;
|
|
1614
|
+
lg: string;
|
|
1615
|
+
xl: string;
|
|
1616
|
+
'2xl': string;
|
|
1607
1617
|
};
|
|
1608
1618
|
declare type ThemeBasicPallete = {
|
|
1609
1619
|
color: string;
|
|
@@ -2433,15 +2443,32 @@ declare type ThemeComponent = {
|
|
|
2433
2443
|
};
|
|
2434
2444
|
};
|
|
2435
2445
|
};
|
|
2446
|
+
declare type SizeConfig = {
|
|
2447
|
+
xxs?: string;
|
|
2448
|
+
xs: string;
|
|
2449
|
+
sm: string;
|
|
2450
|
+
md: string;
|
|
2451
|
+
lg: string;
|
|
2452
|
+
xl: string;
|
|
2453
|
+
'2xl': string;
|
|
2454
|
+
'3xl': string;
|
|
2455
|
+
'4xl': string;
|
|
2456
|
+
'5xl': string;
|
|
2457
|
+
'6xl': string;
|
|
2458
|
+
'7xl'?: string;
|
|
2459
|
+
};
|
|
2436
2460
|
declare type ThemeTypography = {
|
|
2437
2461
|
config: {
|
|
2438
2462
|
weight: {
|
|
2439
2463
|
heavy: number;
|
|
2440
2464
|
bold: number;
|
|
2441
2465
|
demi: number;
|
|
2466
|
+
medium?: number;
|
|
2442
2467
|
regular: number;
|
|
2443
2468
|
};
|
|
2444
2469
|
};
|
|
2470
|
+
size?: SizeConfig;
|
|
2471
|
+
lineHeight?: Omit<SizeConfig, 'xxs' | '7xl'>;
|
|
2445
2472
|
variants: Record<string, CSSProperties>;
|
|
2446
2473
|
};
|
|
2447
2474
|
declare type ThemeFonts = {
|
|
@@ -2525,7 +2552,42 @@ declare const Viewports: {
|
|
|
2525
2552
|
readonly desktop: "desktop";
|
|
2526
2553
|
readonly desktopLarge: "desktopLarge";
|
|
2527
2554
|
};
|
|
2528
|
-
declare type Viewport = typeof Viewports[keyof typeof Viewports];
|
|
2555
|
+
declare type Viewport = typeof Viewports[keyof typeof Viewports];
|
|
2556
|
+
declare type ThemeSpacing = {
|
|
2557
|
+
0?: string;
|
|
2558
|
+
25?: string;
|
|
2559
|
+
50: string;
|
|
2560
|
+
75: string;
|
|
2561
|
+
100: string;
|
|
2562
|
+
150: string;
|
|
2563
|
+
200: string;
|
|
2564
|
+
250: string;
|
|
2565
|
+
300: string;
|
|
2566
|
+
400: string;
|
|
2567
|
+
500: string;
|
|
2568
|
+
600: string;
|
|
2569
|
+
800?: string;
|
|
2570
|
+
1000?: string;
|
|
2571
|
+
1200?: string;
|
|
2572
|
+
1600?: string;
|
|
2573
|
+
2000?: string;
|
|
2574
|
+
};
|
|
2575
|
+
declare type ThemeRadius = {
|
|
2576
|
+
regular: string;
|
|
2577
|
+
none?: string;
|
|
2578
|
+
md?: string;
|
|
2579
|
+
lg?: string;
|
|
2580
|
+
xl?: string;
|
|
2581
|
+
full?: string;
|
|
2582
|
+
};
|
|
2583
|
+
declare type ThemeElevation = {
|
|
2584
|
+
100: string;
|
|
2585
|
+
200: string;
|
|
2586
|
+
300: string;
|
|
2587
|
+
400: string;
|
|
2588
|
+
500: string;
|
|
2589
|
+
600: string;
|
|
2590
|
+
};
|
|
2529
2591
|
|
|
2530
2592
|
declare type ThemeProviderProps = {
|
|
2531
2593
|
config?: Theme$1['config'];
|
|
@@ -4584,8 +4646,9 @@ declare type TwoCtasAtCartProps = {
|
|
|
4584
4646
|
version: TwoCtasCardVersionsTypes;
|
|
4585
4647
|
titleBackgroundColor?: CSSProperties['backgroundColor'];
|
|
4586
4648
|
scarcityText?: string;
|
|
4649
|
+
scarcityTextColor?: CSSProperties['backgroundColor'];
|
|
4587
4650
|
};
|
|
4588
|
-
declare function TwoCtasAtCart({ title, saveLessButtonAction, saveLessButtonLabel, saveMoreButtonAction, saveMoreButtonLabel, descriptions, version, bottomCopy, titleBackgroundColor, scarcityText, }: Readonly<TwoCtasAtCartProps>): JSX.Element;
|
|
4651
|
+
declare function TwoCtasAtCart({ title, saveLessButtonAction, saveLessButtonLabel, saveMoreButtonAction, saveMoreButtonLabel, descriptions, version, bottomCopy, titleBackgroundColor, scarcityText, scarcityTextColor, }: Readonly<TwoCtasAtCartProps>): JSX.Element;
|
|
4589
4652
|
|
|
4590
4653
|
declare module '@emotion/react' {
|
|
4591
4654
|
interface Theme extends Theme {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime");require("../../atoms/PriceLabel/PriceLabel.js"),require("../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js"),require("../../atoms/HorizontalDivider/HorizontalDivider.js");var i=require("../../atoms/Icon/Icon.js");require("../../atoms/Image/Image.js"),require("react"),require("../../atoms/Toggle/toggle.styled.js");exports.MailSent=function(s){return r.jsx(i.Icon,e.__assign({},s,{name:"messaging/mail_sent"}),void 0)};
|
|
2
|
+
//# sourceMappingURL=MailSent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MailSent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./AdaChat.js"),t=require("./Comment.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./AdaChat.js"),t=require("./Comment.js"),i=require("./CommentDots.js"),o=require("./CommentLight.js"),r=require("./CommentMoney.js"),s=require("./Community.js"),u=require("./Light.js"),n=require("./LightBulb.js"),m=require("./LightBulbSolid.js"),l=require("./Mail.js"),g=require("./MailSent.js"),h=require("./Messenger.js"),C=require("./QuestionCircle.js"),L=require("./QuestionCircleLight.js"),p=require("./QuoteLeft.js"),j=require("./QuoteRight.js"),x=require("./QuoteSolidLeft.js"),q=require("./QuoteSolidRight.js");exports.AdaChat=e.AdaChat,exports.Comment=t.Comment,exports.CommentDots=i.CommentDots,exports.CommentLight=o.CommentLight,exports.CommentMoney=r.CommentMoney,exports.Community=s.Community,exports.Light=u.Light,exports.LightBulb=n.LightBulb,exports.LightBulbSolid=m.LightBulbSolid,exports.Mail=l.Mail,exports.MailSent=g.MailSent,exports.Messenger=h.Messenger,exports.QuestionCircle=C.QuestionCircle,exports.QuestionCircleLight=L.QuestionCircleLight,exports.QuoteLeft=p.QuoteLeft,exports.QuoteRight=j.QuoteRight,exports.QuoteSolidLeft=x.QuoteSolidLeft,exports.QuoteSolidRight=q.QuoteSolidRight;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),t=require("../../text/Text.js"),i=require("./ScarcityTag.styled.js");exports.ScarcityTag=function(
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),t=require("../../text/Text.js"),i=require("./ScarcityTag.styled.js");exports.ScarcityTag=function(o){var s=o.text,a=o.color;return r.jsxs(i.Wrapper,{children:[r.jsx(i.FadeInOut,{backgroundColor:null!=a?a:"var(--colors-semantic-positive-color)"},void 0),r.jsx(t.Text,e.__assign({variant:"tag",allCaps:!0,weight:"bold",color:null!=a?a:"var(--colors-semantic-positive-color)",size:"small"},{children:s}),void 0)]},void 0)};
|
|
2
2
|
//# sourceMappingURL=ScarcityTag.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),e=require("@emotion/styled"),t=require("@emotion/react");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var a,r,o,p=i(e),c=p.default.div(a||(a=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 6px;\n margin-top: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 6px;\n margin-top: 8px;\n"]))),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),e=require("@emotion/styled"),t=require("@emotion/react");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var a,r,o,p=i(e),c=p.default.div(a||(a=n.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 6px;\n margin-top: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 6px;\n margin-top: 8px;\n"]))),l=t.keyframes(r||(r=n.__makeTemplateObject(["\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n"],["\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n"]))),d=p.default.div(o||(o=n.__makeTemplateObject(["\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background-color: ",";\n animation: "," 1.4s infinite;\n"],["\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background-color: ",";\n animation: "," 1.4s infinite;\n"])),(function(n){var e;return null!==(e=n.backgroundColor)&&void 0!==e?e:"var(--colors-semantic-positive-color)"}),l);exports.FadeInOut=d,exports.Wrapper=c;
|
|
2
2
|
//# sourceMappingURL=ScarcityTag.styled.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),i=require("../../cta/primary/ButtonPrimary.js");require("@emotion/react/jsx-runtime"),require("../../../core/theme/Theme.js"),require("../../../types/enums.js"),require("../../cta/styled.js"),require("../../PackSelectorV2/PackSelectoV2.js"),require("../../absorbency-level/AbsorbencyLevel.js"),require("../../accordion-options/AccordionOptions.js"),require("../../accordion/Accordion.js"),require("react"),require("../../../utils/constants/offerAtCart.js"),require("../../../utils/media.js"),require("../../../utils/mock-content/CancellationFlowAccordion.js"),require("../../dropdown/variants/simple/SimpleDropdown.js"),require("../../atoms/PriceLabel/PriceLabel.js"),require("../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js"),require("../../atoms/HorizontalDivider/HorizontalDivider.js"),require("../../atoms/Icon/Icon.js"),require("../../atoms/Image/Image.js"),require("../../atoms/Toggle/toggle.styled.js"),require("../../radio/input/styles.js"),require("../../tooltip/Styled.js"),require("../../autoship/styled.js"),require("../../autoshipV2/styled.js"),require("../../before-after/BeforeAfter.js"),require("../../pricing/clubOffer/ClubOfferTag.js"),require("../../pricing/discount/DiscountTag.js"),require("../../pricing/styles.js"),require("../../pricing/priceLabelV2/PriceLabelV2.js"),require("../../pricing/priceLabelV3/PriceLabelV3.js"),require("../../pricing/priceLabelV5/PriceLabelV5.styled.js"),require("../../shared/card/Card.js"),require("../../bundle/minimalistic/styled.js"),require("../../text/Text.js"),require("../../bundle/motivator/styled.js"),require("../../bundle/simple/Simple.js"),require("../../buynowpaylater/BuyNowPayLater.js"),require("../../offer-banner/OfferBanner.js"),require("../../cartProductItem/CloseIcon/CloseButton.js"),require("../../cartProductItem/Description/Description.js"),require("../../cartProductItem/Promo/Promo.js"),require("../../cartProductItem/Title/Title.js"),require("../../cartProductItem/TrashIcon/styled.js"),require("../../checkbox/Checkbox.js"),require("../../SkeletonBox/SkeletonBox.js"),require("../../club-price-label/ClubPriceLabel.js"),require("../../strength-bars/StrengthBars.js"),require("../../pricing/priceLabelV4/PriceLabelV4.js"),require("../../rating/starList/StarList.js"),require("../../rating/styles.js"),require("../../collection/product/mobile/styled.js"),require("../../collection/product/truekind/ProductItemTK.js"),require("../../collection/grid/WithProductGrid.js"),require("../../color/ColorRadioGroup.js"),require("../../color/selector/PatternSelector.js"),require("../../color/styles/ColorPickerwithTootip.styled.js"),require("../../cross-sell/Checkbox/CrossSellCheckbox.js"),require("../../delivery-details/DeliveryDetails.js"),require("../../delivery-details/Note/Note.js"),require("../../drawer/Drawer.js"),require("../../dropdown-list-icons/Styled.js"),require("../../dropdown/size-dropdown/Styled.js"),require("../../dropdown/variants/dialog/DropdownDialog.js"),require("../../dropdown/base/BaseDropdown.js"),require("../../filtering/Accordion.js"),require("../../filtering/FiltersStyled.js"),require("../../filtering/Tags/Tags.js"),require("../../fit-guarantee/FitGuarantee.js"),require("../../fit/FitPredictor.js"),require("../../slider/ArrowButton.js"),require("../../slider/StyledSlider.js"),require("../../gallery/components/ImageSmallPreview/styled.js"),require("../../gallery/components/ImagePreviewList/styled.js"),require("../../molecules/Video/components/styled.js"),require("../../molecules/Video/styled.js"),require("../../gallery/components/ImageProductSlide/styled.js"),require("../../gallery/styled.js"),require("../../icon-button/IconButton.js"),require("../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),require("../../iconsWithTitle/index.js"),require("../../image-card/ImageCard.js"),require("../../input/label/Label.js"),require("../../input/base/Error.js"),require("../../input/base/Styled.js"),require("../../input/custom/Custom.js"),require("../../input/basePlusButton/BasePlusButton.js"),require("../../input/basePlusIcon/BasePlusIcon.js"),require("../../modal/Modal.js"),require("../../motivator-progress-bar/MotivatorProgressBar.js"),require("../../order-bar/OrderBar.js"),require("../../packs/selector/PackSelector.js"),require("../../pagination/styles.js"),require("../../payment-methods/PaymentMethod.js"),require("../../product/order/item/SimpleOrderItem.js"),require("../../progress-bar/ProgressBar.js"),require("../../quantityPicker/QuantityPicker.js"),require("../../radio/RadioPrimary/radioPrimary.js"),require("../../radio/clubRadioInput/clubRadio.js"),require("../../review-detail/ReviewDetail.js"),require("../../review/Review.js"),require("../../reviews-header/ReviewsHeader.js"),require("../../scroll-to-top/ScrollToTop.js"),require("../../search-bar/components/ClearButton/styled.js"),require("../../search-bar/components/Footer/styled.js"),require("../../search-bar/components/ProductItem/styled.js"),require("../../search-bar/components/ResultsPanel/styled.js"),require("../../search-bar/components/SearchControl/styled.js"),require("../../search-bar/styled.js"),require("../../search-navigation/styled.js"),require("react-dom"),require("../../short-banner/ShortBanner.js"),require("../../size-chart/styled.js"),require("../../size-table/SizeTable.js"),require("../../size/guide/SizeFitGuide.js"),require("../../size/selector/styled.js"),require("../../tabs/Tab.js"),require("../../tabs/Tabs.js"),require("../../tag/Tag.js"),require("@emotion/react"),require("../../textWithImage/index.js"),require("../../timer/styled.js"),require("../../toast/Toast.js"),require("../../totals/total/styled.js"),require("../../totals/subtotal/Subtotal.js"),require("../../tracking-progress-v2/TrackingProgressV2.js"),require("../../tracking-progress/TrackingProgress.js"),require("../AutoshipOfferCard/AutoshipOfferCardItem.styled.js"),require("../AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js"),require("../AutoshipPdpCard/AutoshipPdpCard.styled.js"),require("../BasicAccordion/BasicAccordion.js"),require("../CartItemCard/CartItem.js"),require("../ClubOfferSelector/styled.js"),require("../ClubOfferSelector2/styled.js"),require("../JoinClubCard/joinClubCard.js"),require("../OfferAtCart/styled.js"),require("../OfferAtCartV2/styled.js"),require("../OfferAtCartV3/styled.js"),require("../OfferAtCartV4/styled.js"),require("../OfferAtPDP/styled.js"),require("../OfferAtPDP/types.js"),require("../ProductCard/ProductCardV1/ProductCard.js"),require("../ProductCard/ProductCardV2/styled.js"),require("../ProductCard/ProductCardV3/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js"),require("../ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js"),require("../ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js"),require("@ant-design/react-slick"),require("../ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js"),require("react-inner-image-zoom"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV5/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/ColorVariantsGallery/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/styled.js"),require("../SizeCharTable/SizeChartTableV2/styled.js"),require("../SizeCharTable/SizeChartTableV3/styled.js"),require("../../molecules/ArrowTip/ArrowTip.styled.js"),require("../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js"),require("../SubscriptionPlanSelector/styled.js"),require("./Greeting.styled.js");var t=require("./Card.styled.js"),s=require("./DescriptionItem.js"),o=require("./types.js");require("../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js"),require("../../molecules/CouponCard/styled.js"),require("../../molecules/BenefitsList/styled.js"),require("../../molecules/HurryUp/styled.js"),require("../../molecules/Spinner/styled.js"),require("../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js"),require("../../molecules/LikeButton/styled.js");var l=require("../../molecules/ScarcityTag/ScarcityTag.js");exports.TwoCtasAtCart=function(a){var u=a.title,d=a.saveLessButtonAction,c=a.saveLessButtonLabel,n=a.saveMoreButtonAction,j=a.saveMoreButtonLabel,q=a.descriptions,y=a.version,b=a.bottomCopy,p=a.titleBackgroundColor,m=a.scarcityText;return r.jsxs(t.Container,e.__assign({id:"twoCtasAtCart"},{children:[r.jsx(t.TitleWrapper,e.__assign({id:"twoCtasAtCartTitle",backgroundColor:null!=p?p:void 0},{children:u}),void 0),r.jsx(i,{onClick:n,text:j,wide:!0},void 0),m&&r.jsx(l.ScarcityTag,{text:m,color:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),i=require("../../cta/primary/ButtonPrimary.js");require("@emotion/react/jsx-runtime"),require("../../../core/theme/Theme.js"),require("../../../types/enums.js"),require("../../cta/styled.js"),require("../../PackSelectorV2/PackSelectoV2.js"),require("../../absorbency-level/AbsorbencyLevel.js"),require("../../accordion-options/AccordionOptions.js"),require("../../accordion/Accordion.js"),require("react"),require("../../../utils/constants/offerAtCart.js"),require("../../../utils/media.js"),require("../../../utils/mock-content/CancellationFlowAccordion.js"),require("../../dropdown/variants/simple/SimpleDropdown.js"),require("../../atoms/PriceLabel/PriceLabel.js"),require("../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js"),require("../../atoms/HorizontalDivider/HorizontalDivider.js"),require("../../atoms/Icon/Icon.js"),require("../../atoms/Image/Image.js"),require("../../atoms/Toggle/toggle.styled.js"),require("../../radio/input/styles.js"),require("../../tooltip/Styled.js"),require("../../autoship/styled.js"),require("../../autoshipV2/styled.js"),require("../../before-after/BeforeAfter.js"),require("../../pricing/clubOffer/ClubOfferTag.js"),require("../../pricing/discount/DiscountTag.js"),require("../../pricing/styles.js"),require("../../pricing/priceLabelV2/PriceLabelV2.js"),require("../../pricing/priceLabelV3/PriceLabelV3.js"),require("../../pricing/priceLabelV5/PriceLabelV5.styled.js"),require("../../shared/card/Card.js"),require("../../bundle/minimalistic/styled.js"),require("../../text/Text.js"),require("../../bundle/motivator/styled.js"),require("../../bundle/simple/Simple.js"),require("../../buynowpaylater/BuyNowPayLater.js"),require("../../offer-banner/OfferBanner.js"),require("../../cartProductItem/CloseIcon/CloseButton.js"),require("../../cartProductItem/Description/Description.js"),require("../../cartProductItem/Promo/Promo.js"),require("../../cartProductItem/Title/Title.js"),require("../../cartProductItem/TrashIcon/styled.js"),require("../../checkbox/Checkbox.js"),require("../../SkeletonBox/SkeletonBox.js"),require("../../club-price-label/ClubPriceLabel.js"),require("../../strength-bars/StrengthBars.js"),require("../../pricing/priceLabelV4/PriceLabelV4.js"),require("../../rating/starList/StarList.js"),require("../../rating/styles.js"),require("../../collection/product/mobile/styled.js"),require("../../collection/product/truekind/ProductItemTK.js"),require("../../collection/grid/WithProductGrid.js"),require("../../color/ColorRadioGroup.js"),require("../../color/selector/PatternSelector.js"),require("../../color/styles/ColorPickerwithTootip.styled.js"),require("../../cross-sell/Checkbox/CrossSellCheckbox.js"),require("../../delivery-details/DeliveryDetails.js"),require("../../delivery-details/Note/Note.js"),require("../../drawer/Drawer.js"),require("../../dropdown-list-icons/Styled.js"),require("../../dropdown/size-dropdown/Styled.js"),require("../../dropdown/variants/dialog/DropdownDialog.js"),require("../../dropdown/base/BaseDropdown.js"),require("../../filtering/Accordion.js"),require("../../filtering/FiltersStyled.js"),require("../../filtering/Tags/Tags.js"),require("../../fit-guarantee/FitGuarantee.js"),require("../../fit/FitPredictor.js"),require("../../slider/ArrowButton.js"),require("../../slider/StyledSlider.js"),require("../../gallery/components/ImageSmallPreview/styled.js"),require("../../gallery/components/ImagePreviewList/styled.js"),require("../../molecules/Video/components/styled.js"),require("../../molecules/Video/styled.js"),require("../../gallery/components/ImageProductSlide/styled.js"),require("../../gallery/styled.js"),require("../../icon-button/IconButton.js"),require("../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),require("../../iconsWithTitle/index.js"),require("../../image-card/ImageCard.js"),require("../../input/label/Label.js"),require("../../input/base/Error.js"),require("../../input/base/Styled.js"),require("../../input/custom/Custom.js"),require("../../input/basePlusButton/BasePlusButton.js"),require("../../input/basePlusIcon/BasePlusIcon.js"),require("../../modal/Modal.js"),require("../../motivator-progress-bar/MotivatorProgressBar.js"),require("../../order-bar/OrderBar.js"),require("../../packs/selector/PackSelector.js"),require("../../pagination/styles.js"),require("../../payment-methods/PaymentMethod.js"),require("../../product/order/item/SimpleOrderItem.js"),require("../../progress-bar/ProgressBar.js"),require("../../quantityPicker/QuantityPicker.js"),require("../../radio/RadioPrimary/radioPrimary.js"),require("../../radio/clubRadioInput/clubRadio.js"),require("../../review-detail/ReviewDetail.js"),require("../../review/Review.js"),require("../../reviews-header/ReviewsHeader.js"),require("../../scroll-to-top/ScrollToTop.js"),require("../../search-bar/components/ClearButton/styled.js"),require("../../search-bar/components/Footer/styled.js"),require("../../search-bar/components/ProductItem/styled.js"),require("../../search-bar/components/ResultsPanel/styled.js"),require("../../search-bar/components/SearchControl/styled.js"),require("../../search-bar/styled.js"),require("../../search-navigation/styled.js"),require("react-dom"),require("../../short-banner/ShortBanner.js"),require("../../size-chart/styled.js"),require("../../size-table/SizeTable.js"),require("../../size/guide/SizeFitGuide.js"),require("../../size/selector/styled.js"),require("../../tabs/Tab.js"),require("../../tabs/Tabs.js"),require("../../tag/Tag.js"),require("@emotion/react"),require("../../textWithImage/index.js"),require("../../timer/styled.js"),require("../../toast/Toast.js"),require("../../totals/total/styled.js"),require("../../totals/subtotal/Subtotal.js"),require("../../tracking-progress-v2/TrackingProgressV2.js"),require("../../tracking-progress/TrackingProgress.js"),require("../AutoshipOfferCard/AutoshipOfferCardItem.styled.js"),require("../AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js"),require("../AutoshipPdpCard/AutoshipPdpCard.styled.js"),require("../BasicAccordion/BasicAccordion.js"),require("../CartItemCard/CartItem.js"),require("../ClubOfferSelector/styled.js"),require("../ClubOfferSelector2/styled.js"),require("../JoinClubCard/joinClubCard.js"),require("../OfferAtCart/styled.js"),require("../OfferAtCartV2/styled.js"),require("../OfferAtCartV3/styled.js"),require("../OfferAtCartV4/styled.js"),require("../OfferAtPDP/styled.js"),require("../OfferAtPDP/types.js"),require("../ProductCard/ProductCardV1/ProductCard.js"),require("../ProductCard/ProductCardV2/styled.js"),require("../ProductCard/ProductCardV3/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js"),require("../ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js"),require("../ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js"),require("@ant-design/react-slick"),require("../ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js"),require("react-inner-image-zoom"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV5/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/ColorVariantsGallery/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/styled.js"),require("../SizeCharTable/SizeChartTableV2/styled.js"),require("../SizeCharTable/SizeChartTableV3/styled.js"),require("../../molecules/ArrowTip/ArrowTip.styled.js"),require("../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js"),require("../SubscriptionPlanSelector/styled.js"),require("./Greeting.styled.js");var t=require("./Card.styled.js"),s=require("./DescriptionItem.js"),o=require("./types.js");require("../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js"),require("../../molecules/CouponCard/styled.js"),require("../../molecules/BenefitsList/styled.js"),require("../../molecules/HurryUp/styled.js"),require("../../molecules/Spinner/styled.js"),require("../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js"),require("../../molecules/LikeButton/styled.js");var l=require("../../molecules/ScarcityTag/ScarcityTag.js");exports.TwoCtasAtCart=function(a){var u=a.title,d=a.saveLessButtonAction,c=a.saveLessButtonLabel,n=a.saveMoreButtonAction,j=a.saveMoreButtonLabel,q=a.descriptions,y=a.version,b=a.bottomCopy,p=a.titleBackgroundColor,m=a.scarcityText,P=a.scarcityTextColor;return r.jsxs(t.Container,e.__assign({id:"twoCtasAtCart"},{children:[r.jsx(t.TitleWrapper,e.__assign({id:"twoCtasAtCartTitle",backgroundColor:null!=p?p:void 0},{children:u}),void 0),r.jsx(i,{onClick:n,text:j,wide:!0},void 0),m&&r.jsx(l.ScarcityTag,{text:m,color:P},void 0),r.jsxs(t.BodyContainer,{children:[r.jsx(t.GridContainer,{children:q.map((function(e,i){return r.jsx(s.DescriptionItem,{text:e.text,smallerText:e.smallerText,iconName:null==e?void 0:e.iconName,type:null==e?void 0:e.type,link:null==e?void 0:e.link},"".concat(e.text,"-").concat(i))}))},void 0),b&&r.jsx(t.BottomCopyWrapper,{dangerouslySetInnerHTML:{__html:b}},void 0)]},void 0),r.jsx(t.OutLineButtonContainer,{children:y===o.BottomButtonVersionsTypes.link?r.jsx(t.SaveLessLinkButton,e.__assign({href:"#",onClick:d},{children:c}),void 0):r.jsx(t.BtnOutlineWrapper,{wide:!0,onClick:d,text:c},void 0)},void 0)]}),void 0)};
|
|
2
2
|
//# sourceMappingURL=TwoCtasAtCart.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.DEFAULT_BREAKPOINTS={mobile:640,tablet:1024,desktop:1280};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.DEFAULT_BREAKPOINTS={mobile:640,tablet:1024,desktop:1280,xs:"480px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"};
|
|
2
2
|
//# sourceMappingURL=defaults.js.map
|
|
@@ -20,9 +20,7 @@ declare type Theme = {
|
|
|
20
20
|
fontWeights: number[];
|
|
21
21
|
lineHeights: number[];
|
|
22
22
|
mediaQueries: ThemeBreakpoints;
|
|
23
|
-
radius:
|
|
24
|
-
regular: string;
|
|
25
|
-
};
|
|
23
|
+
radius: ThemeRadius;
|
|
26
24
|
zIndex: {
|
|
27
25
|
modal: number;
|
|
28
26
|
overlay: number;
|
|
@@ -35,11 +33,19 @@ declare type Theme = {
|
|
|
35
33
|
label: {
|
|
36
34
|
member: string;
|
|
37
35
|
};
|
|
36
|
+
space?: ThemeSpacing;
|
|
37
|
+
shadow?: ThemeElevation;
|
|
38
38
|
};
|
|
39
39
|
declare type ThemeBreakpoints = {
|
|
40
40
|
mobile: number;
|
|
41
41
|
tablet: number;
|
|
42
42
|
desktop: number;
|
|
43
|
+
xs: string;
|
|
44
|
+
sm: string;
|
|
45
|
+
md: string;
|
|
46
|
+
lg: string;
|
|
47
|
+
xl: string;
|
|
48
|
+
'2xl': string;
|
|
43
49
|
};
|
|
44
50
|
declare type ThemeBasicPallete = {
|
|
45
51
|
color: string;
|
|
@@ -869,15 +875,32 @@ declare type ThemeComponent = {
|
|
|
869
875
|
};
|
|
870
876
|
};
|
|
871
877
|
};
|
|
878
|
+
declare type SizeConfig = {
|
|
879
|
+
xxs?: string;
|
|
880
|
+
xs: string;
|
|
881
|
+
sm: string;
|
|
882
|
+
md: string;
|
|
883
|
+
lg: string;
|
|
884
|
+
xl: string;
|
|
885
|
+
'2xl': string;
|
|
886
|
+
'3xl': string;
|
|
887
|
+
'4xl': string;
|
|
888
|
+
'5xl': string;
|
|
889
|
+
'6xl': string;
|
|
890
|
+
'7xl'?: string;
|
|
891
|
+
};
|
|
872
892
|
declare type ThemeTypography = {
|
|
873
893
|
config: {
|
|
874
894
|
weight: {
|
|
875
895
|
heavy: number;
|
|
876
896
|
bold: number;
|
|
877
897
|
demi: number;
|
|
898
|
+
medium?: number;
|
|
878
899
|
regular: number;
|
|
879
900
|
};
|
|
880
901
|
};
|
|
902
|
+
size?: SizeConfig;
|
|
903
|
+
lineHeight?: Omit<SizeConfig, 'xxs' | '7xl'>;
|
|
881
904
|
variants: Record<string, CSSProperties>;
|
|
882
905
|
};
|
|
883
906
|
declare type ThemeFonts = {
|
|
@@ -954,6 +977,41 @@ declare type ThemeAssets = {
|
|
|
954
977
|
};
|
|
955
978
|
};
|
|
956
979
|
[key: string]: any;
|
|
980
|
+
};
|
|
981
|
+
declare type ThemeSpacing = {
|
|
982
|
+
0?: string;
|
|
983
|
+
25?: string;
|
|
984
|
+
50: string;
|
|
985
|
+
75: string;
|
|
986
|
+
100: string;
|
|
987
|
+
150: string;
|
|
988
|
+
200: string;
|
|
989
|
+
250: string;
|
|
990
|
+
300: string;
|
|
991
|
+
400: string;
|
|
992
|
+
500: string;
|
|
993
|
+
600: string;
|
|
994
|
+
800?: string;
|
|
995
|
+
1000?: string;
|
|
996
|
+
1200?: string;
|
|
997
|
+
1600?: string;
|
|
998
|
+
2000?: string;
|
|
999
|
+
};
|
|
1000
|
+
declare type ThemeRadius = {
|
|
1001
|
+
regular: string;
|
|
1002
|
+
none?: string;
|
|
1003
|
+
md?: string;
|
|
1004
|
+
lg?: string;
|
|
1005
|
+
xl?: string;
|
|
1006
|
+
full?: string;
|
|
1007
|
+
};
|
|
1008
|
+
declare type ThemeElevation = {
|
|
1009
|
+
100: string;
|
|
1010
|
+
200: string;
|
|
1011
|
+
300: string;
|
|
1012
|
+
400: string;
|
|
1013
|
+
500: string;
|
|
1014
|
+
600: string;
|
|
957
1015
|
};
|
|
958
1016
|
|
|
959
1017
|
declare const revel: Theme;
|
|
@@ -20,9 +20,7 @@ declare type Theme = {
|
|
|
20
20
|
fontWeights: number[];
|
|
21
21
|
lineHeights: number[];
|
|
22
22
|
mediaQueries: ThemeBreakpoints;
|
|
23
|
-
radius:
|
|
24
|
-
regular: string;
|
|
25
|
-
};
|
|
23
|
+
radius: ThemeRadius;
|
|
26
24
|
zIndex: {
|
|
27
25
|
modal: number;
|
|
28
26
|
overlay: number;
|
|
@@ -35,11 +33,19 @@ declare type Theme = {
|
|
|
35
33
|
label: {
|
|
36
34
|
member: string;
|
|
37
35
|
};
|
|
36
|
+
space?: ThemeSpacing;
|
|
37
|
+
shadow?: ThemeElevation;
|
|
38
38
|
};
|
|
39
39
|
declare type ThemeBreakpoints = {
|
|
40
40
|
mobile: number;
|
|
41
41
|
tablet: number;
|
|
42
42
|
desktop: number;
|
|
43
|
+
xs: string;
|
|
44
|
+
sm: string;
|
|
45
|
+
md: string;
|
|
46
|
+
lg: string;
|
|
47
|
+
xl: string;
|
|
48
|
+
'2xl': string;
|
|
43
49
|
};
|
|
44
50
|
declare type ThemeBasicPallete = {
|
|
45
51
|
color: string;
|
|
@@ -869,15 +875,32 @@ declare type ThemeComponent = {
|
|
|
869
875
|
};
|
|
870
876
|
};
|
|
871
877
|
};
|
|
878
|
+
declare type SizeConfig = {
|
|
879
|
+
xxs?: string;
|
|
880
|
+
xs: string;
|
|
881
|
+
sm: string;
|
|
882
|
+
md: string;
|
|
883
|
+
lg: string;
|
|
884
|
+
xl: string;
|
|
885
|
+
'2xl': string;
|
|
886
|
+
'3xl': string;
|
|
887
|
+
'4xl': string;
|
|
888
|
+
'5xl': string;
|
|
889
|
+
'6xl': string;
|
|
890
|
+
'7xl'?: string;
|
|
891
|
+
};
|
|
872
892
|
declare type ThemeTypography = {
|
|
873
893
|
config: {
|
|
874
894
|
weight: {
|
|
875
895
|
heavy: number;
|
|
876
896
|
bold: number;
|
|
877
897
|
demi: number;
|
|
898
|
+
medium?: number;
|
|
878
899
|
regular: number;
|
|
879
900
|
};
|
|
880
901
|
};
|
|
902
|
+
size?: SizeConfig;
|
|
903
|
+
lineHeight?: Omit<SizeConfig, 'xxs' | '7xl'>;
|
|
881
904
|
variants: Record<string, CSSProperties>;
|
|
882
905
|
};
|
|
883
906
|
declare type ThemeFonts = {
|
|
@@ -954,6 +977,41 @@ declare type ThemeAssets = {
|
|
|
954
977
|
};
|
|
955
978
|
};
|
|
956
979
|
[key: string]: any;
|
|
980
|
+
};
|
|
981
|
+
declare type ThemeSpacing = {
|
|
982
|
+
0?: string;
|
|
983
|
+
25?: string;
|
|
984
|
+
50: string;
|
|
985
|
+
75: string;
|
|
986
|
+
100: string;
|
|
987
|
+
150: string;
|
|
988
|
+
200: string;
|
|
989
|
+
250: string;
|
|
990
|
+
300: string;
|
|
991
|
+
400: string;
|
|
992
|
+
500: string;
|
|
993
|
+
600: string;
|
|
994
|
+
800?: string;
|
|
995
|
+
1000?: string;
|
|
996
|
+
1200?: string;
|
|
997
|
+
1600?: string;
|
|
998
|
+
2000?: string;
|
|
999
|
+
};
|
|
1000
|
+
declare type ThemeRadius = {
|
|
1001
|
+
regular: string;
|
|
1002
|
+
none?: string;
|
|
1003
|
+
md?: string;
|
|
1004
|
+
lg?: string;
|
|
1005
|
+
xl?: string;
|
|
1006
|
+
full?: string;
|
|
1007
|
+
};
|
|
1008
|
+
declare type ThemeElevation = {
|
|
1009
|
+
100: string;
|
|
1010
|
+
200: string;
|
|
1011
|
+
300: string;
|
|
1012
|
+
400: string;
|
|
1013
|
+
500: string;
|
|
1014
|
+
600: string;
|
|
957
1015
|
};
|
|
958
1016
|
|
|
959
1017
|
declare const shapermint: Theme;
|