@trafilea/afrodita-components 6.16.2 → 6.16.4
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 +46 -23
- package/build/index.esm.js +46 -19
- package/build/index.esm.js.map +1 -1
- package/build/index.js +46 -19
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.js +1 -1
- package/build/theme/shapermint.theme.js +1 -1
- package/build/theme/thebodcon.theme.js +1 -1
- package/build/theme/thespadr.theme.js +1 -1
- package/build/theme/truekind.theme.js +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -48,15 +48,15 @@ declare type StyledIconProps = {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
declare type Actions$1 = 'actions/add' | 'actions/check_box_empty' | 'actions/check_box_light' | 'actions/check_box_solid' | 'actions/check' | 'actions/circle_check' | 'actions/circle_clear' | 'actions/circle_info' | 'actions/circle_minus' | 'actions/circle_plus' | 'actions/circle_question' | 'actions/circle_solid_check' | 'actions/circle_solid_clear' | 'actions/circle_solid_info' | 'actions/circle_solid_minus' | 'actions/circle_solid_plus' | 'actions/circle_solid_question' | 'actions/circle_solid_styled_check' | 'actions/circle_solid_warning' | 'actions/circle_warning' | 'actions/clear_light' | 'actions/close' | 'actions/copy_outlined' | 'actions/copy' | 'actions/edit' | 'actions/light_check' | 'actions/light_exclamation' | 'actions/like_solid' | 'actions/like' | 'actions/minus' | 'actions/not_allowed' | 'actions/question' | 'actions/radio_empty' | 'actions/radio_filled' | 'actions/settings_solid' | 'actions/settings' | 'actions/share' | 'actions/signout' | 'actions/signout_light' | 'actions/trash' | 'actions/warning';
|
|
51
|
-
declare type Arrows$1 = 'arrows/chevron_down' | 'arrows/chevron_down_variant' | 'arrows/chevron_left' | 'arrows/chevron_left_lite' | 'arrows/chevron_left_variant' | 'arrows/chevron_right' | 'arrows/chevron_right_lite' | 'arrows/chevron_right_variant' | 'arrows/chevron_up' | 'arrows/chevron_up_solid' | 'arrows/chevron_up_variant' | 'arrows/circle_chevron_down' | 'arrows/circle_chevron_left' | 'arrows/circle_chevron_right' | 'arrows/circle_chevron_up' | 'arrows/circle_line_down' | 'arrows/circle_line_left' | 'arrows/circle_line_right' | 'arrows/circle_line_up' | 'arrows/circle_up' | 'arrows/double_arrow_up';
|
|
51
|
+
declare type Arrows$1 = 'arrows/chevron_down' | 'arrows/chevron_down_variant' | 'arrows/chevron_left' | 'arrows/chevron_left_lite' | 'arrows/chevron_left_variant' | 'arrows/chevron_right' | 'arrows/chevron_right_lite' | 'arrows/chevron_right_variant' | 'arrows/chevron_up' | 'arrows/chevron_up_solid' | 'arrows/chevron_up_variant' | 'arrows/circle_chevron_down' | 'arrows/circle_chevron_left' | 'arrows/circle_chevron_right' | 'arrows/circle_chevron_up' | 'arrows/circle_line_down' | 'arrows/circle_line_left' | 'arrows/circle_line_right' | 'arrows/circle_line_up' | 'arrows/circle_up' | 'arrows/double_arrow_up' | 'arrows/chevron_right_grey';
|
|
52
52
|
declare type Custom$1 = 'custom/atom' | '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/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/priority_support';
|
|
53
53
|
declare type Download$1 = 'download/apple_store' | 'download/google_play';
|
|
54
54
|
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';
|
|
55
55
|
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';
|
|
56
56
|
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';
|
|
57
|
-
declare type Navigation$1 = 'navigation/address_information' | 'navigation/benefits' | '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_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';
|
|
58
|
-
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/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';
|
|
59
|
-
declare type Payment$1 = 'payment/amazon' | 'payment/amex' | 'payment/jcb' | 'payment/klarna' | 'payment/master_card' | 'payment/paypal' | 'payment/visa';
|
|
57
|
+
declare type Navigation$1 = 'navigation/address_information' | 'navigation/benefits' | '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';
|
|
58
|
+
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/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/coupons';
|
|
59
|
+
declare type Payment$1 = 'payment/amazon' | 'payment/amex' | 'payment/jcb' | 'payment/klarna' | 'payment/master_card' | 'payment/paypal' | 'payment/visa' | 'payment/payment_methods';
|
|
60
60
|
declare type PDP$1 = 'pdp/circle_number' | 'pdp/clock' | 'pdp/drop' | 'pdp/drop_empty' | 'pdp/error_cross' | 'pdp/flag_usa' | 'pdp/hours' | 'pdp/klarna_logo' | 'pdp/light_bulb' | 'pdp/free_returns_v2' | 'pdp/free_shipping_v2' | 'pdp/minus' | 'pdp/moon' | 'pdp/new_clock' | 'pdp/play_mini' | 'pdp/play_video' | 'pdp/plus' | 'pdp/rule' | 'pdp/shipping' | 'pdp/shipping_empty' | 'pdp/size_empty' | 'pdp/size_empty_v2' | 'pdp/star' | 'pdp/stars' | 'pdp/star_empty' | 'pdp/star_half' | 'pdp/stopwatch' | 'pdp/trust_badge';
|
|
61
61
|
declare type SlideDots$1 = 'slidedots/slide_dot';
|
|
62
62
|
declare type SocialMedia$1 = 'socialmedia/facebook' | 'socialmedia/facebook_solid' | 'socialmedia/instagram' | 'socialmedia/instagram_solid' | 'socialmedia/interaction' | 'socialmedia/pinterest' | 'socialmedia/twitter' | 'socialmedia/youtube';
|
|
@@ -271,6 +271,8 @@ declare const ChevronLeftVariant: IconComponent;
|
|
|
271
271
|
|
|
272
272
|
declare const ChevronRight: IconComponent;
|
|
273
273
|
|
|
274
|
+
declare const ChevronRightGrey: IconComponent;
|
|
275
|
+
|
|
274
276
|
declare const ChevronRightLite: IconComponent;
|
|
275
277
|
|
|
276
278
|
declare const ChevronRightVariant: IconComponent;
|
|
@@ -307,6 +309,7 @@ declare const Arrows_ChevronLeft: typeof ChevronLeft;
|
|
|
307
309
|
declare const Arrows_ChevronLeftLite: typeof ChevronLeftLite;
|
|
308
310
|
declare const Arrows_ChevronLeftVariant: typeof ChevronLeftVariant;
|
|
309
311
|
declare const Arrows_ChevronRight: typeof ChevronRight;
|
|
312
|
+
declare const Arrows_ChevronRightGrey: typeof ChevronRightGrey;
|
|
310
313
|
declare const Arrows_ChevronRightLite: typeof ChevronRightLite;
|
|
311
314
|
declare const Arrows_ChevronRightVariant: typeof ChevronRightVariant;
|
|
312
315
|
declare const Arrows_ChevronUp: typeof ChevronUp;
|
|
@@ -330,6 +333,7 @@ declare namespace Arrows {
|
|
|
330
333
|
Arrows_ChevronLeftLite as ChevronLeftLite,
|
|
331
334
|
Arrows_ChevronLeftVariant as ChevronLeftVariant,
|
|
332
335
|
Arrows_ChevronRight as ChevronRight,
|
|
336
|
+
Arrows_ChevronRightGrey as ChevronRightGrey,
|
|
333
337
|
Arrows_ChevronRightLite as ChevronRightLite,
|
|
334
338
|
Arrows_ChevronRightVariant as ChevronRightVariant,
|
|
335
339
|
Arrows_ChevronUp as ChevronUp,
|
|
@@ -697,6 +701,8 @@ declare const ShoppingBagV2: IconComponent;
|
|
|
697
701
|
|
|
698
702
|
declare const ShoppingBagV3: IconComponent;
|
|
699
703
|
|
|
704
|
+
declare const ShoppingBagV4: IconComponent;
|
|
705
|
+
|
|
700
706
|
declare const ShoppingCart: IconComponent;
|
|
701
707
|
|
|
702
708
|
declare const ShoppingCartV2: IconComponent;
|
|
@@ -730,6 +736,7 @@ declare const Navigation_Shaperbox: typeof Shaperbox;
|
|
|
730
736
|
declare const Navigation_ShoppingBag: typeof ShoppingBag;
|
|
731
737
|
declare const Navigation_ShoppingBagV2: typeof ShoppingBagV2;
|
|
732
738
|
declare const Navigation_ShoppingBagV3: typeof ShoppingBagV3;
|
|
739
|
+
declare const Navigation_ShoppingBagV4: typeof ShoppingBagV4;
|
|
733
740
|
declare const Navigation_ShoppingCart: typeof ShoppingCart;
|
|
734
741
|
declare const Navigation_ShoppingCartV2: typeof ShoppingCartV2;
|
|
735
742
|
declare const Navigation_SlideDotSolid: typeof SlideDotSolid;
|
|
@@ -759,6 +766,7 @@ declare namespace Navigation {
|
|
|
759
766
|
Navigation_ShoppingBag as ShoppingBag,
|
|
760
767
|
Navigation_ShoppingBagV2 as ShoppingBagV2,
|
|
761
768
|
Navigation_ShoppingBagV3 as ShoppingBagV3,
|
|
769
|
+
Navigation_ShoppingBagV4 as ShoppingBagV4,
|
|
762
770
|
Navigation_ShoppingCart as ShoppingCart,
|
|
763
771
|
Navigation_ShoppingCartV2 as ShoppingCartV2,
|
|
764
772
|
SlideDot$1 as SlideDot,
|
|
@@ -777,6 +785,8 @@ declare const CallUs: IconComponent;
|
|
|
777
785
|
|
|
778
786
|
declare const Chat: IconComponent;
|
|
779
787
|
|
|
788
|
+
declare const Coupons: IconComponent;
|
|
789
|
+
|
|
780
790
|
declare const Email: IconComponent;
|
|
781
791
|
|
|
782
792
|
declare const ExpressShipping: IconComponent;
|
|
@@ -791,6 +801,8 @@ declare const GetDiscount: IconComponent;
|
|
|
791
801
|
|
|
792
802
|
declare const HasselFreeReturns: IconComponent;
|
|
793
803
|
|
|
804
|
+
declare const HelpCenter: IconComponent;
|
|
805
|
+
|
|
794
806
|
declare const Loading: IconComponent;
|
|
795
807
|
|
|
796
808
|
declare const McAfee: IconComponent;
|
|
@@ -831,11 +843,13 @@ declare const Other_BodConLabel: typeof BodConLabel;
|
|
|
831
843
|
declare const Other_BodConMobileLabel: typeof BodConMobileLabel;
|
|
832
844
|
declare const Other_CallUs: typeof CallUs;
|
|
833
845
|
declare const Other_Chat: typeof Chat;
|
|
846
|
+
declare const Other_Coupons: typeof Coupons;
|
|
834
847
|
declare const Other_Email: typeof Email;
|
|
835
848
|
declare const Other_ExpressShipping: typeof ExpressShipping;
|
|
836
849
|
declare const Other_FreeExchange: typeof FreeExchange;
|
|
837
850
|
declare const Other_GetDiscount: typeof GetDiscount;
|
|
838
851
|
declare const Other_HasselFreeReturns: typeof HasselFreeReturns;
|
|
852
|
+
declare const Other_HelpCenter: typeof HelpCenter;
|
|
839
853
|
declare const Other_Loading: typeof Loading;
|
|
840
854
|
declare const Other_McAfee: typeof McAfee;
|
|
841
855
|
declare const Other_Play: typeof Play;
|
|
@@ -860,6 +874,7 @@ declare namespace Other {
|
|
|
860
874
|
Other_BodConMobileLabel as BodConMobileLabel,
|
|
861
875
|
Other_CallUs as CallUs,
|
|
862
876
|
Other_Chat as Chat,
|
|
877
|
+
Other_Coupons as Coupons,
|
|
863
878
|
Other_Email as Email,
|
|
864
879
|
Other_ExpressShipping as ExpressShipping,
|
|
865
880
|
FitGuarantee$1 as FitGuarantee,
|
|
@@ -867,6 +882,7 @@ declare namespace Other {
|
|
|
867
882
|
Other_FreeExchange as FreeExchange,
|
|
868
883
|
Other_GetDiscount as GetDiscount,
|
|
869
884
|
Other_HasselFreeReturns as HasselFreeReturns,
|
|
885
|
+
Other_HelpCenter as HelpCenter,
|
|
870
886
|
Other_Loading as Loading,
|
|
871
887
|
Other_McAfee as McAfee,
|
|
872
888
|
Other_Play as Play,
|
|
@@ -1005,36 +1021,40 @@ declare namespace PDP {
|
|
|
1005
1021
|
};
|
|
1006
1022
|
}
|
|
1007
1023
|
|
|
1008
|
-
declare const
|
|
1009
|
-
|
|
1010
|
-
declare const MasterCard: IconComponent;
|
|
1024
|
+
declare const Amazon: IconComponent;
|
|
1011
1025
|
|
|
1012
1026
|
declare const Amex: IconComponent;
|
|
1013
1027
|
|
|
1014
1028
|
declare const JCB: IconComponent;
|
|
1015
1029
|
|
|
1016
|
-
declare const Paypal: IconComponent;
|
|
1017
|
-
|
|
1018
1030
|
declare const Klarna: IconComponent;
|
|
1019
1031
|
|
|
1020
|
-
declare const
|
|
1032
|
+
declare const MasterCard: IconComponent;
|
|
1021
1033
|
|
|
1022
|
-
declare const
|
|
1023
|
-
|
|
1034
|
+
declare const PaymentMethods: IconComponent;
|
|
1035
|
+
|
|
1036
|
+
declare const Paypal: IconComponent;
|
|
1037
|
+
|
|
1038
|
+
declare const Visa: IconComponent;
|
|
1039
|
+
|
|
1040
|
+
declare const Payment_Amazon: typeof Amazon;
|
|
1024
1041
|
declare const Payment_Amex: typeof Amex;
|
|
1025
1042
|
declare const Payment_JCB: typeof JCB;
|
|
1026
|
-
declare const Payment_Paypal: typeof Paypal;
|
|
1027
1043
|
declare const Payment_Klarna: typeof Klarna;
|
|
1028
|
-
declare const
|
|
1044
|
+
declare const Payment_MasterCard: typeof MasterCard;
|
|
1045
|
+
declare const Payment_PaymentMethods: typeof PaymentMethods;
|
|
1046
|
+
declare const Payment_Paypal: typeof Paypal;
|
|
1047
|
+
declare const Payment_Visa: typeof Visa;
|
|
1029
1048
|
declare namespace Payment {
|
|
1030
1049
|
export {
|
|
1031
|
-
|
|
1032
|
-
Payment_MasterCard as MasterCard,
|
|
1050
|
+
Payment_Amazon as Amazon,
|
|
1033
1051
|
Payment_Amex as Amex,
|
|
1034
1052
|
Payment_JCB as JCB,
|
|
1035
|
-
Payment_Paypal as Paypal,
|
|
1036
1053
|
Payment_Klarna as Klarna,
|
|
1037
|
-
|
|
1054
|
+
Payment_MasterCard as MasterCard,
|
|
1055
|
+
Payment_PaymentMethods as PaymentMethods,
|
|
1056
|
+
Payment_Paypal as Paypal,
|
|
1057
|
+
Payment_Visa as Visa,
|
|
1038
1058
|
};
|
|
1039
1059
|
}
|
|
1040
1060
|
|
|
@@ -3453,7 +3473,7 @@ declare type SubtotalOption = {
|
|
|
3453
3473
|
label: string;
|
|
3454
3474
|
value: string;
|
|
3455
3475
|
};
|
|
3456
|
-
declare type Coupon
|
|
3476
|
+
declare type Coupon = {
|
|
3457
3477
|
code: string;
|
|
3458
3478
|
amount: string;
|
|
3459
3479
|
};
|
|
@@ -3465,7 +3485,7 @@ interface SubtotalProps {
|
|
|
3465
3485
|
coupon?: {
|
|
3466
3486
|
couponText: string;
|
|
3467
3487
|
appliedText: string;
|
|
3468
|
-
coupons: Coupon
|
|
3488
|
+
coupons: Coupon[];
|
|
3469
3489
|
};
|
|
3470
3490
|
}
|
|
3471
3491
|
|
|
@@ -3511,7 +3531,10 @@ interface TrackingProgressProps {
|
|
|
3511
3531
|
declare const TrackingProgress: ({ checkPoints, amountOfCheckPoints }: TrackingProgressProps) => JSX.Element;
|
|
3512
3532
|
|
|
3513
3533
|
interface CouponProps {
|
|
3514
|
-
|
|
3534
|
+
image: {
|
|
3535
|
+
src: string;
|
|
3536
|
+
alt: string;
|
|
3537
|
+
};
|
|
3515
3538
|
title: string;
|
|
3516
3539
|
content: ReactNode;
|
|
3517
3540
|
width?: string;
|
|
@@ -3520,7 +3543,7 @@ interface CouponProps {
|
|
|
3520
3543
|
couponCode?: string;
|
|
3521
3544
|
offerLink?: string;
|
|
3522
3545
|
}
|
|
3523
|
-
declare const
|
|
3546
|
+
declare const CouponCard: FC<CouponProps>;
|
|
3524
3547
|
|
|
3525
3548
|
declare type BasicAccordionProps = {
|
|
3526
3549
|
children?: ReactNode;
|
|
@@ -3640,4 +3663,4 @@ declare type Partner = 'RevelBeauty' | 'TheSpaDr' | 'TheBodCon';
|
|
|
3640
3663
|
declare type PartnerContent = 'RevelBeauty-1' | 'RevelBeauty-2' | 'TheSpaDr-1' | 'TheSpaDr-2' | 'TheBodCon';
|
|
3641
3664
|
declare const CancellationFlowAccordionContentPerPartner: Record<Partner, JSX.Element[]>;
|
|
3642
3665
|
|
|
3643
|
-
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, AutoshipV2, BasicAccordion, BeforeAfterCard, BeforeAfterVariant, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, CancellationFlowAccordionContentPerPartner, _default as Card, CardSectionType, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ColorPickerOption, ComponentPosition, ComponentSize, ContentType,
|
|
3666
|
+
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, AutoshipV2, BasicAccordion, BeforeAfterCard, BeforeAfterVariant, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, CancellationFlowAccordionContentPerPartner, _default as Card, CardSectionType, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ColorPickerOption, ComponentPosition, ComponentSize, ContentType, CouponCard, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitGuarantee, FitPredictor, HurryUp, HurryUpProps, Icon, IconButton, IconProps, IconWithOpacityProps, IconsWithTitle, Image, ImageCardWithDescription, ImageProps, Input, InputValidationType, Icon$1 as LibIcon, IconProps$1 as LibIconProps, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Partner, PartnerContent, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, PriceLabelV3, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProductGalleryMobileV3, ProductGalleryMobileV4, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, RadioPrimary, Rating, Review, Review$1 as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeDropdown, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, SpinnerProps, StarList, StrengthBars, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeProviderProps, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, TrackingProgressV2, Video, VideoProps, WithTestId, buildImageUrl, componentSizeMapper, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sliceString, useDeviceType, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
package/build/index.esm.js
CHANGED
|
@@ -3508,6 +3508,8 @@ var ChevronLeftVariant = function (props) { return (jsx$1(Icon$1, __assign$1({},
|
|
|
3508
3508
|
|
|
3509
3509
|
var ChevronRight = function (props) { return (jsx$1(Icon$1, __assign$1({}, props, { name: "arrows/chevron_right" }), void 0)); };
|
|
3510
3510
|
|
|
3511
|
+
var ChevronRightGrey = function (props) { return (jsx$1(Icon$1, __assign$1({}, props, { name: "arrows/chevron_right_grey" }), void 0)); };
|
|
3512
|
+
|
|
3511
3513
|
var ChevronRightLite = function (props) { return (jsx$1(Icon$1, __assign$1({}, props, { name: "arrows/chevron_right_lite" }), void 0)); };
|
|
3512
3514
|
|
|
3513
3515
|
var ChevronRightVariant = function (props) { return (jsx$1(Icon$1, __assign$1({}, props, { name: "arrows/chevron_right_variant" }), void 0)); };
|
|
@@ -3546,6 +3548,7 @@ var Arrows = /*#__PURE__*/Object.freeze({
|
|
|
3546
3548
|
ChevronLeftLite: ChevronLeftLite,
|
|
3547
3549
|
ChevronLeftVariant: ChevronLeftVariant,
|
|
3548
3550
|
ChevronRight: ChevronRight,
|
|
3551
|
+
ChevronRightGrey: ChevronRightGrey,
|
|
3549
3552
|
ChevronRightLite: ChevronRightLite,
|
|
3550
3553
|
ChevronRightVariant: ChevronRightVariant,
|
|
3551
3554
|
ChevronUp: ChevronUp,
|
|
@@ -3838,6 +3841,8 @@ var ShoppingBagV2 = function (props) { return (jsx$1(Icon$1, __assign$1({}, prop
|
|
|
3838
3841
|
|
|
3839
3842
|
var ShoppingBagV3 = function (props) { return (jsx$1(Icon$1, __assign$1({}, props, { name: "navigation/shopping_bag_v3" }), void 0)); };
|
|
3840
3843
|
|
|
3844
|
+
var ShoppingBagV4 = function (props) { return (jsx$1(Icon$1, __assign$1({}, props, { name: "navigation/shopping_bag_v4" }), void 0)); };
|
|
3845
|
+
|
|
3841
3846
|
var ShoppingCart = function (props) { return (jsx$1(Icon$1, __assign$1({}, props, { name: "navigation/shopping_cart" }), void 0)); };
|
|
3842
3847
|
|
|
3843
3848
|
var ShoppingCartV2 = function (props) { return (jsx$1(Icon$1, __assign$1({}, props, { name: "navigation/shopping_cart_v2" }), void 0)); };
|
|
@@ -3875,6 +3880,7 @@ var Navigation = /*#__PURE__*/Object.freeze({
|
|
|
3875
3880
|
ShoppingBag: ShoppingBag,
|
|
3876
3881
|
ShoppingBagV2: ShoppingBagV2,
|
|
3877
3882
|
ShoppingBagV3: ShoppingBagV3,
|
|
3883
|
+
ShoppingBagV4: ShoppingBagV4,
|
|
3878
3884
|
ShoppingCart: ShoppingCart,
|
|
3879
3885
|
ShoppingCartV2: ShoppingCartV2,
|
|
3880
3886
|
SlideDot: SlideDot$1,
|
|
@@ -3892,6 +3898,8 @@ var CallUs = function (props) { return jsx$1(Icon$1, __assign$1({}, props, { nam
|
|
|
3892
3898
|
|
|
3893
3899
|
var Chat = function (props) { return jsx$1(Icon$1, __assign$1({}, props, { name: "other/chat" }), void 0); };
|
|
3894
3900
|
|
|
3901
|
+
var Coupons = function (props) { return jsx$1(Icon$1, __assign$1({}, props, { name: "other/coupons" }), void 0); };
|
|
3902
|
+
|
|
3895
3903
|
var Email = function (props) { return jsx$1(Icon$1, __assign$1({}, props, { name: "other/email" }), void 0); };
|
|
3896
3904
|
|
|
3897
3905
|
var ExpressShipping = function (props) { return (jsx$1(Icon$1, __assign$1({}, props, { name: "other/express_shipping" }), void 0)); };
|
|
@@ -3906,6 +3914,8 @@ var GetDiscount = function (props) { return jsx$1(Icon$1, __assign$1({}, props,
|
|
|
3906
3914
|
|
|
3907
3915
|
var HasselFreeReturns = function (props) { return (jsx$1(Icon$1, __assign$1({}, props, { name: "other/hassel_free_returns" }), void 0)); };
|
|
3908
3916
|
|
|
3917
|
+
var HelpCenter = function (props) { return jsx$1(Icon$1, __assign$1({}, props, { name: "other/help_center" }), void 0); };
|
|
3918
|
+
|
|
3909
3919
|
var Loading = function (props) { return (jsx$1(Icon$1, __assign$1({ testId: "Loading" }, props, { name: "other/loading" }), void 0)); };
|
|
3910
3920
|
|
|
3911
3921
|
var McAfee = function (props) { return jsx$1(Icon$1, __assign$1({}, props, { name: "other/mc_afee" }), void 0); };
|
|
@@ -3948,6 +3958,7 @@ var Other = /*#__PURE__*/Object.freeze({
|
|
|
3948
3958
|
BodConMobileLabel: BodConMobileLabel,
|
|
3949
3959
|
CallUs: CallUs,
|
|
3950
3960
|
Chat: Chat,
|
|
3961
|
+
Coupons: Coupons,
|
|
3951
3962
|
Email: Email,
|
|
3952
3963
|
ExpressShipping: ExpressShipping,
|
|
3953
3964
|
FitGuarantee: FitGuarantee$1,
|
|
@@ -3955,6 +3966,7 @@ var Other = /*#__PURE__*/Object.freeze({
|
|
|
3955
3966
|
FreeExchange: FreeExchange,
|
|
3956
3967
|
GetDiscount: GetDiscount,
|
|
3957
3968
|
HasselFreeReturns: HasselFreeReturns,
|
|
3969
|
+
HelpCenter: HelpCenter,
|
|
3958
3970
|
Loading: Loading,
|
|
3959
3971
|
McAfee: McAfee,
|
|
3960
3972
|
Play: Play,
|
|
@@ -4063,29 +4075,32 @@ var PDP = /*#__PURE__*/Object.freeze({
|
|
|
4063
4075
|
TrustBadge: TrustBadge
|
|
4064
4076
|
});
|
|
4065
4077
|
|
|
4066
|
-
var
|
|
4067
|
-
|
|
4068
|
-
var MasterCard = function (props) { return jsx$1(Icon$1, __assign$1({}, props, { name: "payment/master_card" }), void 0); };
|
|
4078
|
+
var Amazon = function (props) { return (jsx$1(Icon$1, __assign$1({ testId: "AmazonIcon" }, props, { name: "payment/amazon" }), void 0)); };
|
|
4069
4079
|
|
|
4070
4080
|
var Amex = function (props) { return jsx$1(Icon$1, __assign$1({}, props, { name: "payment/amex" }), void 0); };
|
|
4071
4081
|
|
|
4072
4082
|
var JCB = function (props) { return jsx$1(Icon$1, __assign$1({}, props, { name: "payment/jcb" }), void 0); };
|
|
4073
4083
|
|
|
4074
|
-
var Paypal = function (props) { return (jsx$1(Icon$1, __assign$1({ testId: "PaypalIcon" }, props, { name: "payment/paypal" }), void 0)); };
|
|
4075
|
-
|
|
4076
4084
|
var Klarna = function (props) { return jsx$1(Icon$1, __assign$1({}, props, { name: "payment/klarna" }), void 0); };
|
|
4077
4085
|
|
|
4078
|
-
var
|
|
4086
|
+
var MasterCard = function (props) { return jsx$1(Icon$1, __assign$1({}, props, { name: "payment/master_card" }), void 0); };
|
|
4087
|
+
|
|
4088
|
+
var PaymentMethods = function (props) { return (jsx$1(Icon$1, __assign$1({}, props, { name: "payment/payment_methods" }), void 0)); };
|
|
4089
|
+
|
|
4090
|
+
var Paypal = function (props) { return (jsx$1(Icon$1, __assign$1({ testId: "PaypalIcon" }, props, { name: "payment/paypal" }), void 0)); };
|
|
4091
|
+
|
|
4092
|
+
var Visa = function (props) { return jsx$1(Icon$1, __assign$1({}, props, { name: "payment/visa" }), void 0); };
|
|
4079
4093
|
|
|
4080
4094
|
var Payment = /*#__PURE__*/Object.freeze({
|
|
4081
4095
|
__proto__: null,
|
|
4082
|
-
|
|
4083
|
-
MasterCard: MasterCard,
|
|
4096
|
+
Amazon: Amazon,
|
|
4084
4097
|
Amex: Amex,
|
|
4085
4098
|
JCB: JCB,
|
|
4086
|
-
Paypal: Paypal,
|
|
4087
4099
|
Klarna: Klarna,
|
|
4088
|
-
|
|
4100
|
+
MasterCard: MasterCard,
|
|
4101
|
+
PaymentMethods: PaymentMethods,
|
|
4102
|
+
Paypal: Paypal,
|
|
4103
|
+
Visa: Visa
|
|
4089
4104
|
});
|
|
4090
4105
|
|
|
4091
4106
|
var SlideDot = function (props) { return jsx$1(Icon$1, __assign$1({}, props, { name: "slidedots/slide_dot" }), void 0); };
|
|
@@ -4652,11 +4667,11 @@ var FlexStart = newStyled.div(templateObject_5$w || (templateObject_5$w = __make
|
|
|
4652
4667
|
var templateObject_1$1R, templateObject_2$1f, templateObject_3$Z, templateObject_4$K, templateObject_5$w;
|
|
4653
4668
|
|
|
4654
4669
|
var _this$1 = undefined;
|
|
4655
|
-
var
|
|
4656
|
-
var
|
|
4670
|
+
var CouponCard = function (_a) {
|
|
4671
|
+
var image = _a.image, title = _a.title, content = _a.content, couponCode = _a.couponCode, offerLink = _a.offerLink, width = _a.width, height = _a.height, _b = _a.btnText, btnText = _b === void 0 ? 'Redeem Offer' : _b;
|
|
4657
4672
|
var _c = useState(false), showCoupon = _c[0], setShowCoupon = _c[1];
|
|
4658
4673
|
var handleCopy = useCallback(function (couponCode) { return (couponCode ? navigator.clipboard.writeText(couponCode) : undefined); }, []);
|
|
4659
|
-
return (jsxs$1(Container$19, __assign$1({ height: height, width: width }, { children: [jsx$1(LeftSide, { children: jsx$1(Image$3, { src:
|
|
4674
|
+
return (jsxs$1(Container$19, __assign$1({ height: height, width: width }, { children: [jsx$1(LeftSide, { children: jsx$1(Image$3, { objectFit: "cover", src: image.src, alt: image.alt, width: "100%", height: "100%", borderRadius: "8px 0 0 8px" }, void 0) }, void 0), jsxs$1(RightSide, { children: [jsxs$1(FlexStart, { children: [jsx$1(Text$7, __assign$1({ variant: "body", weight: "bold", size: "small" }, { children: title }), void 0), content] }, void 0), jsx$1(FlexCentered, { children: !showCoupon ? (jsx$1(ButtonPrimary, { type: "button", text: btnText, wide: true, size: ComponentSize.Large, onClick: function () { return setShowCoupon(function (prev) { return !prev; }); } }, void 0)) : (jsxs$1(Fragment$2, { children: [jsx$1(ButtonSecondaryOutline, { "data-testid": "coupon-code-btn", testId: "coupon-code-btn", type: "button", text: couponCode !== null && couponCode !== void 0 ? couponCode : '', wide: true, size: ComponentSize.Small, icon: {
|
|
4660
4675
|
name: 'actions/copy_outlined',
|
|
4661
4676
|
position: 'right',
|
|
4662
4677
|
margin: '10px',
|
|
@@ -4666,7 +4681,7 @@ var Coupon = function (_a) {
|
|
|
4666
4681
|
// Partner titles
|
|
4667
4682
|
var REVEL_BEAUTY_TITLE = 'REVEL BEAUTY';
|
|
4668
4683
|
var THE_SPA_DR_TITLE = 'THE SPA DR.';
|
|
4669
|
-
//
|
|
4684
|
+
// CouponCard contents
|
|
4670
4685
|
var CouponDefaultBody = function (firstLine, secondLine) { return (jsxs$1(Fragment$2, { children: [jsx$1(Text$7, __assign$1({ variant: "body", weight: "regular", size: "small", style: { textAlign: 'initial' } }, { children: firstLine }), void 0), jsx$1(Text$7, __assign$1({ variant: "heading5", weight: "bold" }, { children: secondLine }), void 0)] }, void 0)); };
|
|
4671
4686
|
var TheBodConContent = function () { return (jsxs$1(FlexContainer$2, { children: [jsxs$1(Text$7, __assign$1({ variant: "body", weight: "regular", size: "small" }, { children: [jsx$1(Bold, { children: "FREE and PREMIUM" }, void 0), " access to The BodCon Community App."] }), void 0), jsxs$1(Text$7, __assign$1({ variant: "body", weight: "regular", size: "small" }, { children: ["The #1 Body Confidence Community. You'll have ", jsx$1(Bold, { children: "FREE access to:" }, void 0)] }), void 0), jsxs$1("ul", __assign$1({ style: { marginBottom: '5px', padding: '11px' } }, { children: [jsx$1("li", __assign$1({ style: { marginBottom: '5px' } }, { children: jsx$1(Text$7, __assign$1({ variant: "body", weight: "regular", size: "small" }, { children: "Our confidence series: great courses made by the top influencers in the field, just for you to start your body-confidence journey!" }), void 0) }), void 0), jsx$1("li", { children: jsx$1(Text$7, __assign$1({ variant: "body", weight: "regular", size: "small" }, { children: "Our more than 1.000 women's community and get-togethers to talk about women's empowerment." }), void 0) }, void 0)] }), void 0), jsxs$1(Text$7, __assign$1({ variant: "body", weight: "regular", size: "small" }, { children: [jsx$1(Bold, { children: "FREE" }, void 0), " access to The BodCon 2023 replays!"] }), void 0), jsx$1(Text$7, __assign$1({ variant: "body", weight: "regular", size: "small" }, { children: "Empower yourself and change how you see and feel about your body forever." }), void 0)] }, void 0)); };
|
|
4672
4687
|
var cancellationFlowContentPerKey = {
|
|
@@ -4682,12 +4697,24 @@ var couponDimensions = {
|
|
|
4682
4697
|
};
|
|
4683
4698
|
var CancellationFlowAccordionContentPerPartner = {
|
|
4684
4699
|
RevelBeauty: [
|
|
4685
|
-
jsx$1(
|
|
4686
|
-
|
|
4700
|
+
jsx$1(CouponCard, { width: couponDimensions.width, height: couponDimensions.height, title: REVEL_BEAUTY_TITLE, image: {
|
|
4701
|
+
src: 'https://cdn.shopify.com/s/files/1/2679/8624/files/Beauty_Lift_and_Tighten_Serum.png?v=1709316823',
|
|
4702
|
+
alt: 'Daily Essentials 4-Step Skin Care System',
|
|
4703
|
+
}, content: cancellationFlowContentPerKey['RevelBeauty-1'], couponCode: 'CLUBFRIENDS', offerLink: 'https://revelbeauty.com/products/lift-tighten-serum' }, "RevelBeauty-1"),
|
|
4704
|
+
jsx$1(CouponCard, { width: couponDimensions.width, height: couponDimensions.height, title: REVEL_BEAUTY_TITLE, image: {
|
|
4705
|
+
src: 'https://cdn.shopify.com/s/files/1/2679/8624/files/revel-beauty-orders-above-50.png?v=1709326588',
|
|
4706
|
+
alt: 'Daily Essentials 4-Step Skin Care System',
|
|
4707
|
+
}, content: cancellationFlowContentPerKey['RevelBeauty-2'], couponCode: 'SHIPPINGONUS', offerLink: 'https://revelbeauty.com/' }, "RevelBeauty-2"),
|
|
4687
4708
|
],
|
|
4688
4709
|
TheSpaDr: [
|
|
4689
|
-
jsx$1(
|
|
4690
|
-
|
|
4710
|
+
jsx$1(CouponCard, { width: couponDimensions.width, height: couponDimensions.height, title: THE_SPA_DR_TITLE, image: {
|
|
4711
|
+
src: 'https://cdn.shopify.com/s/files/1/2679/8624/files/Daily_Essentials_4-Step_Skin_Care_System.png?v=1709333354',
|
|
4712
|
+
alt: 'Daily Essentials 4-Step Skin Care System',
|
|
4713
|
+
}, content: cancellationFlowContentPerKey['TheSpaDr-1'], couponCode: 'SHMCLUBFRIENDS', offerLink: 'https://thespadr.com/products/4-step-age-defying-clean-skincare-system-3?variant=42658350727366' }, "TheSpaDr-1"),
|
|
4714
|
+
jsx$1(CouponCard, { width: couponDimensions.width, height: couponDimensions.height, title: THE_SPA_DR_TITLE, image: {
|
|
4715
|
+
src: 'https://cdn.shopify.com/s/files/1/2679/8624/files/Nourish_Antioxidant_Serum.png?v=1709333354',
|
|
4716
|
+
alt: 'Daily Essentials 4-Step Skin Care System',
|
|
4717
|
+
}, content: cancellationFlowContentPerKey['TheSpaDr-2'], couponCode: 'SHMCLUB10OFF', offerLink: 'https://thespadr.com/products/step-2-age-defying-lift-tight-serum?variant=15992476860510' }, "TheSpaDr-2"),
|
|
4691
4718
|
],
|
|
4692
4719
|
TheBodCon: [cancellationFlowContentPerKey['TheBodCon']],
|
|
4693
4720
|
};
|
|
@@ -20091,5 +20118,5 @@ var ProductGalleryMobileV4 = function (_a) {
|
|
|
20091
20118
|
}) }), void 0)] }), void 0) }), void 0));
|
|
20092
20119
|
};
|
|
20093
20120
|
|
|
20094
|
-
export { AbsorbencyLevel, Accordion$1 as Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, AutoshipV2, BasicAccordion, BeforeAfterCard, BeforeAfterVariant, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, BuyNowPayLater, CancellationFlowAccordionContentPerPartner, Card$2 as Card, CardSectionType, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ComponentPosition, ComponentSize,
|
|
20121
|
+
export { AbsorbencyLevel, Accordion$1 as Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, AutoshipV2, BasicAccordion, BeforeAfterCard, BeforeAfterVariant, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, BuyNowPayLater, CancellationFlowAccordionContentPerPartner, Card$2 as Card, CardSectionType, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ComponentPosition, ComponentSize, CouponCard, index$1 as CrossSell, DeliveryDetails, DiscountTag$1 as DiscountTag, Drawer, DropdownDialog, DropdownListIcons, FilteringDropdown, Tags as FilteringTags, Filters, FitGuarantee, FitPredictor, Global, HurryUp, Icon, IconButton, IconsWithTitle, Image$3 as Image, ImageCardWithDescription, Input$3 as Input, InputValidationType, Icon$1 as LibIcon, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, PriceLabelV3, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProductGalleryMobileV3, ProductGalleryMobileV4, ProgressBar, QuantityPicker, RadioGroupInput, RadioInput, RadioPrimary, Rating, Review, Review$1 as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchNavigation, SeasonOfferTag, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeDropdown, SizeFitGuide, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, StrengthBars, Tab, Tabs, Text$7 as Text, TextButton, TextWithImage, ThemeProvider, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, TrackingProgressV2, Video$1 as Video, buildImageUrl, componentSizeMapper, css, decimalFormat, formatPrice, getSrcSet, isEmail, isEmpty, isNumber$1 as isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sliceString, newStyled as styled, useDeviceType, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
|
20095
20122
|
//# sourceMappingURL=index.esm.js.map
|