@trafilea/afrodita-components 6.37.4 → 6.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.d.ts +33 -2
- package/build/index.esm.js +111 -13
- package/build/index.esm.js.map +1 -1
- package/build/index.js +115 -12
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +11 -1
- package/build/theme/revel.theme.js +10 -0
- package/build/theme/shapermint.theme.d.ts +11 -1
- package/build/theme/shapermint.theme.js +14 -0
- package/build/theme/thebodcon.theme.d.ts +11 -1
- package/build/theme/thebodcon.theme.js +10 -0
- package/build/theme/thespadr.theme.d.ts +11 -1
- package/build/theme/thespadr.theme.js +10 -0
- package/build/theme/truekind.theme.d.ts +11 -1
- package/build/theme/truekind.theme.js +10 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -54,7 +54,8 @@ declare enum ComponentSize {
|
|
|
54
54
|
Large = "large",
|
|
55
55
|
Medium = "medium",
|
|
56
56
|
Small = "small",
|
|
57
|
-
XSmall = "xsmall"
|
|
57
|
+
XSmall = "xsmall",
|
|
58
|
+
XXSmall = "xxsmall"
|
|
58
59
|
}
|
|
59
60
|
declare enum ComponentPosition {
|
|
60
61
|
Top = 0,
|
|
@@ -1656,6 +1657,10 @@ declare type ThemeComponent = {
|
|
|
1656
1657
|
rating: {
|
|
1657
1658
|
fontWeight: number;
|
|
1658
1659
|
size: {
|
|
1660
|
+
xxsmall: {
|
|
1661
|
+
fontSize: string;
|
|
1662
|
+
lineHeight: string;
|
|
1663
|
+
};
|
|
1659
1664
|
xsmall: {
|
|
1660
1665
|
fontSize: string;
|
|
1661
1666
|
lineHeight: string;
|
|
@@ -1677,6 +1682,11 @@ declare type ThemeComponent = {
|
|
|
1677
1682
|
stars: {
|
|
1678
1683
|
element: {
|
|
1679
1684
|
color: string;
|
|
1685
|
+
xxsmall: {
|
|
1686
|
+
width: string;
|
|
1687
|
+
height: string;
|
|
1688
|
+
marginRight: string;
|
|
1689
|
+
};
|
|
1680
1690
|
xsmall: {
|
|
1681
1691
|
width: string;
|
|
1682
1692
|
height: string;
|
|
@@ -3553,6 +3563,7 @@ declare type TextProps<T = Element> = AriaAttributes & HTMLAttributes<T> & {
|
|
|
3553
3563
|
className?: string;
|
|
3554
3564
|
testId?: string;
|
|
3555
3565
|
asSpan?: boolean;
|
|
3566
|
+
inline?: boolean;
|
|
3556
3567
|
color?: string;
|
|
3557
3568
|
} & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
|
|
3558
3569
|
|
|
@@ -4152,4 +4163,24 @@ declare type Partner = 'RevelBeauty' | 'TheSpaDr' | 'TheBodCon';
|
|
|
4152
4163
|
declare type PartnerContent = 'RevelBeauty-1' | 'RevelBeauty-2' | 'TheSpaDr-1' | 'TheSpaDr-2' | 'TheBodCon';
|
|
4153
4164
|
declare const CancellationFlowAccordionContentPerPartner: Record<Partner, JSX.Element[]>;
|
|
4154
4165
|
|
|
4155
|
-
|
|
4166
|
+
declare const isDangerouslySetInnerHTML: (content: any) => content is {
|
|
4167
|
+
__html: string;
|
|
4168
|
+
};
|
|
4169
|
+
|
|
4170
|
+
declare type BenefitProps = {
|
|
4171
|
+
icon?: Pick<IconProps$1, 'name' | 'fill' | 'width' | 'height'>;
|
|
4172
|
+
text: string | ReactNode;
|
|
4173
|
+
};
|
|
4174
|
+
declare type SizeOptionProps = {
|
|
4175
|
+
key: string;
|
|
4176
|
+
label: string;
|
|
4177
|
+
value: string;
|
|
4178
|
+
disabled: boolean;
|
|
4179
|
+
};
|
|
4180
|
+
|
|
4181
|
+
declare const title: JSX.Element;
|
|
4182
|
+
declare const benefits: (size: 'xsmall' | 'small' | 'regular') => BenefitProps[];
|
|
4183
|
+
declare const benefitsRawHtml: BenefitProps[];
|
|
4184
|
+
declare const sizeOptions: SizeOptionProps[];
|
|
4185
|
+
|
|
4186
|
+
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, AutoshipFrequency, AutoshipFrequencyDropdown, AutoshipOfferCard, AutoshipOfferCardCta, AutoshipV2, BasicAccordion, BeforeAfterCard, BeforeAfterVariant, BenefitsList, BenefitsListProps, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, CancellationFlowAccordionContentPerPartner, _default as Card, CardSectionType, CartItemCard, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferSelector, ClubOfferTag, ClubPriceMemberLabel, ClubRadioGroupInput, Collection, ColorPickerOption, ColorPickerWithTooltip, CommonProps, ComponentPosition, ComponentSize, ContentType, CouponCard, index_d as CrossSell, DeliveryDetails, DeviceType, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitGuarantee, FitPredictor, HurryUp, HurryUpProps, ISubscriptionFrequencyDropdown, Icon, IconButton, IconProps, IconWithOpacityProps, IconsWithTitle, Image, ImageCardWithDescription, ImageProps, Input, InputValidationType, JoinClubCard, 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, PriceType, ProductCard, ProductCardV2, ProductCardV3, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProductGalleryMobileV3, ProductGalleryMobileV4, ProductGalleryMobileV5, ProgressBar, QuantityPicker, RadioConfig, RadioGroupInput, RadioGroupOption, RadioInput, RadioPrimary, RadiosConfig, Rating, Review, Review$1 as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, SelectorOnChangeProps, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeChartTableV2, SizeChartTableV3, SizeDropdown, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, SpinnerProps, StarList, StrengthBars, SubscriptionPlanSelector, SubscriptionPlanSelectorProps, SubscriptionPlanSelectorRadios, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeProviderProps, ThemeTypography, ThemeVariables, Timer, Toast, ToggleComponent, Tooltip, TooltipContent, TooltipHeader, TooltipType, Totals, TrackingProgress, TrackingProgressV2, Video, VideoProps, WithBenefits, WithChildren, WithTestId, benefits, benefitsRawHtml, buildImageUrl, componentSizeMapper, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isDangerouslySetInnerHTML, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sizeOptions, sliceString, title, useDeviceType, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
package/build/index.esm.js
CHANGED
|
@@ -3138,6 +3138,7 @@ var ComponentSize;
|
|
|
3138
3138
|
ComponentSize["Medium"] = "medium";
|
|
3139
3139
|
ComponentSize["Small"] = "small";
|
|
3140
3140
|
ComponentSize["XSmall"] = "xsmall";
|
|
3141
|
+
ComponentSize["XXSmall"] = "xxsmall";
|
|
3141
3142
|
})(ComponentSize || (ComponentSize = {}));
|
|
3142
3143
|
var ComponentPosition;
|
|
3143
3144
|
(function (ComponentPosition) {
|
|
@@ -4801,7 +4802,7 @@ var Text$7 = function (_a) {
|
|
|
4801
4802
|
var variant = _a.variant, children = _a.children, testId = _a.testId, asSpan = _a.asSpan, allProps = __rest(_a, ["variant", "children", "testId", "asSpan"]);
|
|
4802
4803
|
var theme = useTheme();
|
|
4803
4804
|
var Tag = asSpan ? 'span' : TAGS[variant] || 'p';
|
|
4804
|
-
var _c = __assign$1(__assign$1({}, ((_b = DEFAULTS === null || DEFAULTS === void 0 ? void 0 : DEFAULTS[variant]) !== null && _b !== void 0 ? _b : {})), allProps), size = _c.size, weight = _c.weight, color = _c.color, props = __rest(_c, ["size", "weight", "color"]);
|
|
4805
|
+
var _c = __assign$1(__assign$1({}, ((_b = DEFAULTS === null || DEFAULTS === void 0 ? void 0 : DEFAULTS[variant]) !== null && _b !== void 0 ? _b : {})), allProps), size = _c.size, weight = _c.weight, color = _c.color, inline = _c.inline, props = __rest(_c, ["size", "weight", "color", "inline"]);
|
|
4805
4806
|
var commonCSS = useMemo(function () {
|
|
4806
4807
|
var _a, _b;
|
|
4807
4808
|
// These are the common style inside a `variant`.
|
|
@@ -4818,17 +4819,21 @@ var Text$7 = function (_a) {
|
|
|
4818
4819
|
var variantName = [variant, size].filter(Boolean).join('-');
|
|
4819
4820
|
// These are styles specific to `variation-size`.
|
|
4820
4821
|
var variantSizeStyle = (_b = theme.typography.variants[variantName]) !== null && _b !== void 0 ? _b : {};
|
|
4821
|
-
var style = __assign$1(__assign$1(__assign$1({ margin: 0, color: color
|
|
4822
|
-
if (weight) {
|
|
4823
|
-
style.fontWeight = theme.typography.config.weight[weight];
|
|
4824
|
-
}
|
|
4825
|
-
if (props.disabled) {
|
|
4826
|
-
style.opacity = 0.5;
|
|
4827
|
-
style.cursor = 'not-allowed';
|
|
4828
|
-
style.color = theme.colors.text.disabled;
|
|
4829
|
-
}
|
|
4822
|
+
var style = __assign$1(__assign$1(__assign$1(__assign$1(__assign$1(__assign$1(__assign$1({ margin: 0, color: props.disabled ? theme.colors.text.disabled : color !== null && color !== void 0 ? color : theme.colors.text.color }, variantstyle), variantSizeStyle), { fontFamily: theme.fonts.config[0].family }), (weight ? { fontWeight: theme.typography.config.weight[weight] } : {})), (props.disabled ? { opacity: 0.5 } : {})), (props.disabled ? { cursor: 'not-allowed' } : {})), (inline ? { display: 'inline-block' } : {}));
|
|
4830
4823
|
return style;
|
|
4831
|
-
}, [
|
|
4824
|
+
}, [
|
|
4825
|
+
theme.typography.variants,
|
|
4826
|
+
theme.typography.config.weight,
|
|
4827
|
+
theme.fonts.config,
|
|
4828
|
+
theme.colors.text.disabled,
|
|
4829
|
+
theme.colors.text.color,
|
|
4830
|
+
variant,
|
|
4831
|
+
size,
|
|
4832
|
+
props.disabled,
|
|
4833
|
+
color,
|
|
4834
|
+
weight,
|
|
4835
|
+
inline,
|
|
4836
|
+
]);
|
|
4832
4837
|
// This is to make TS happy, because `href` doesn't exists on other `variants`
|
|
4833
4838
|
var propsHref = props.href;
|
|
4834
4839
|
var href = useMemo(function () {
|
|
@@ -5293,6 +5298,89 @@ var CancellationFlowAccordionContentPerPartner = {
|
|
|
5293
5298
|
TheBodCon: [cancellationFlowContentPerKey['TheBodCon']],
|
|
5294
5299
|
};
|
|
5295
5300
|
|
|
5301
|
+
var isDangerouslySetInnerHTML = function (content) {
|
|
5302
|
+
return content && typeof content === 'object' && '__html' in content;
|
|
5303
|
+
};
|
|
5304
|
+
|
|
5305
|
+
var title = (jsxs$1("div", { children: [jsx$1(Text$7, __assign$1({ variant: "body", size: "small", color: "#D4605B", weight: "demi", inline: true }, { children: "Save 50% OFF" }), void 0), ' ', jsxs$1(Text$7, __assign$1({ variant: "body", size: "small", weight: "demi", inline: true }, { children: ["on this best-seller Panty!", ' '] }), void 0), ' ', jsxs$1(Text$7, __assign$1({ variant: "body", size: "small", weight: "regular", inline: true }, { children: ["Pay only", ' '] }), void 0), ' ', jsxs$1(Text$7, __assign$1({ variant: "body", size: "small", weight: "demi", inline: true }, { children: ["$8,99 each", ' '] }), void 0), ' ', jsx$1(Text$7, __assign$1({ variant: "body", size: "small", weight: "regular", inline: true }, { children: "with autoship:" }), void 0)] }, void 0));
|
|
5306
|
+
var commonIconProps = {
|
|
5307
|
+
fill: 'var(--shapermint-semantic-urgent-salered-140-c-64844, #C64844);',
|
|
5308
|
+
width: '24px',
|
|
5309
|
+
height: '24px',
|
|
5310
|
+
};
|
|
5311
|
+
var benefits = function (size) { return [
|
|
5312
|
+
{
|
|
5313
|
+
icon: __assign$1({ name: 'custom/gift_thin' }, commonIconProps),
|
|
5314
|
+
text: (jsxs$1(Text$7, __assign$1({ variant: "body", size: size, weight: "regular", inline: true }, { children: [jsx$1(Text$7, __assign$1({ variant: "body", size: size, weight: "demi", inline: true, asSpan: true }, { children: "Free mystery gift" }), void 0), ' ', "in this order"] }), "first-benefit")),
|
|
5315
|
+
},
|
|
5316
|
+
{
|
|
5317
|
+
icon: __assign$1({ name: 'custom/savings' }, commonIconProps),
|
|
5318
|
+
text: (jsxs$1(Text$7, __assign$1({ variant: "body", size: size, weight: "regular", inline: true }, { children: ["Lock-in this", ' ', jsx$1(Text$7, __assign$1({ variant: "body", size: size, weight: "demi", inline: true, asSpan: true }, { children: "Guaranteed lowest price" }), void 0)] }), "second-benefit")),
|
|
5319
|
+
},
|
|
5320
|
+
{
|
|
5321
|
+
icon: __assign$1({ name: 'custom/returns' }, commonIconProps),
|
|
5322
|
+
text: (jsx$1(Text$7, __assign$1({ variant: "body", size: size, weight: "regular", inline: true }, { children: "Receive it every 3 months. Cancel anytime" }), "third-benefit")),
|
|
5323
|
+
},
|
|
5324
|
+
]; };
|
|
5325
|
+
var benefitsRawHtml = [
|
|
5326
|
+
{
|
|
5327
|
+
icon: __assign$1({ name: 'custom/gift_thin' }, commonIconProps),
|
|
5328
|
+
text: '<span style="font-weight: 600;">Free mystery gift</span> in this order',
|
|
5329
|
+
},
|
|
5330
|
+
{
|
|
5331
|
+
icon: __assign$1({ name: 'custom/savings' }, commonIconProps),
|
|
5332
|
+
text: 'Lock-in this <span style="font-weight: 600;">Guaranteed lowest price</span>',
|
|
5333
|
+
},
|
|
5334
|
+
{
|
|
5335
|
+
icon: __assign$1({ name: 'custom/returns' }, commonIconProps),
|
|
5336
|
+
text: 'Receive it every 3 months. Cancel anytime',
|
|
5337
|
+
},
|
|
5338
|
+
];
|
|
5339
|
+
var sizeOptions = [
|
|
5340
|
+
{
|
|
5341
|
+
key: 'S',
|
|
5342
|
+
label: 'S',
|
|
5343
|
+
value: 'S',
|
|
5344
|
+
disabled: false,
|
|
5345
|
+
},
|
|
5346
|
+
{
|
|
5347
|
+
key: 'M',
|
|
5348
|
+
label: 'M',
|
|
5349
|
+
value: 'M',
|
|
5350
|
+
disabled: false,
|
|
5351
|
+
},
|
|
5352
|
+
{
|
|
5353
|
+
key: 'L',
|
|
5354
|
+
label: 'L',
|
|
5355
|
+
value: 'L',
|
|
5356
|
+
disabled: false,
|
|
5357
|
+
},
|
|
5358
|
+
{
|
|
5359
|
+
key: 'XL',
|
|
5360
|
+
label: 'XL',
|
|
5361
|
+
value: 'XL',
|
|
5362
|
+
disabled: false,
|
|
5363
|
+
},
|
|
5364
|
+
{
|
|
5365
|
+
key: '2XL',
|
|
5366
|
+
label: '2XL',
|
|
5367
|
+
value: '2XL',
|
|
5368
|
+
disabled: false,
|
|
5369
|
+
},
|
|
5370
|
+
{
|
|
5371
|
+
key: '3XL',
|
|
5372
|
+
label: '3XL',
|
|
5373
|
+
value: '3XL',
|
|
5374
|
+
disabled: false,
|
|
5375
|
+
},
|
|
5376
|
+
{
|
|
5377
|
+
key: '4XL',
|
|
5378
|
+
label: '4XL',
|
|
5379
|
+
value: '4XL',
|
|
5380
|
+
disabled: false,
|
|
5381
|
+
},
|
|
5382
|
+
];
|
|
5383
|
+
|
|
5296
5384
|
var ErrorText = newStyled.h3(templateObject_1$1$ || (templateObject_1$1$ = __makeTemplateObject(["\n color: ", " !important;\n font-size: 0.75rem;\n font-weight: 600;\n margin: 0;\n font-height: 1rem;\n margin-left: 0.313rem;\n"], ["\n color: ", " !important;\n font-size: 0.75rem;\n font-weight: 600;\n margin: 0;\n font-height: 1rem;\n margin-left: 0.313rem;\n"])), function (props) { return props.color; });
|
|
5297
5385
|
var ErrorContainer = newStyled.div(templateObject_2$1s || (templateObject_2$1s = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-top: 12px;\n"], ["\n display: flex;\n align-items: center;\n margin-top: 12px;\n"])));
|
|
5298
5386
|
var Error$1 = function (_a) {
|
|
@@ -6192,6 +6280,7 @@ var BeforeAfterVariant;
|
|
|
6192
6280
|
BeforeAfterVariant["ResultFeedback"] = "ResultFeedback";
|
|
6193
6281
|
})(BeforeAfterVariant || (BeforeAfterVariant = {}));
|
|
6194
6282
|
var componentSizeMapper = (_a$2 = {},
|
|
6283
|
+
_a$2[ComponentSize.XXSmall] = ComponentSize.Small,
|
|
6195
6284
|
_a$2[ComponentSize.XSmall] = ComponentSize.Small,
|
|
6196
6285
|
_a$2[ComponentSize.Small] = ComponentSize.Small,
|
|
6197
6286
|
_a$2[ComponentSize.Medium] = ComponentSize.Medium,
|
|
@@ -6593,6 +6682,13 @@ var LabelStyles = {
|
|
|
6593
6682
|
fontWeight: theme.component.rating.fontWeight,
|
|
6594
6683
|
});
|
|
6595
6684
|
},
|
|
6685
|
+
xxsmall: function (theme) {
|
|
6686
|
+
return css({
|
|
6687
|
+
fontSize: theme.component.rating.size.xxsmall.fontSize,
|
|
6688
|
+
lineHeight: theme.component.rating.size.xxsmall.lineHeight,
|
|
6689
|
+
marginLeft: '0.1rem',
|
|
6690
|
+
});
|
|
6691
|
+
},
|
|
6596
6692
|
xsmall: function (theme) {
|
|
6597
6693
|
return css({
|
|
6598
6694
|
fontSize: theme.component.rating.size.xsmall.fontSize,
|
|
@@ -6740,7 +6836,7 @@ var ImageContainer$6 = newStyled.div(function (_a) {
|
|
|
6740
6836
|
var ImageHoverContainer$3 = newStyled.img(templateObject_1$1z || (templateObject_1$1z = __makeTemplateObject(["\n opacity: 0;\n position: absolute;\n transition: all 0.4s ease-in-out;\n"], ["\n opacity: 0;\n position: absolute;\n transition: all 0.4s ease-in-out;\n"])));
|
|
6741
6837
|
var Container$12 = newStyled.a(templateObject_2$1c || (templateObject_2$1c = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n text-decoration: none;\n\n &:hover .hover__image {\n opacity: 1;\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n text-decoration: none;\n\n &:hover .hover__image {\n opacity: 1;\n }\n"])));
|
|
6742
6838
|
var ProdCardContainer$4 = newStyled.div(templateObject_3$Y || (templateObject_3$Y = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n"])));
|
|
6743
|
-
var Title$7 = newStyled.
|
|
6839
|
+
var Title$7 = newStyled.h2(templateObject_4$M || (templateObject_4$M = __makeTemplateObject(["\n font-size: ", ";\n font-weight: ", ";\n line-height: 1.375rem;\n min-height: 2.75rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n\n ", "\n\n ", "\n\n @media (max-width: ", "px) {\n font-size: ", ";\n }\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: 1.375rem;\n min-height: 2.75rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n\n ", "\n\n ", "\n\n @media (max-width: ", "px) {\n font-size: ", ";\n }\n"])), function (_a) {
|
|
6744
6840
|
var theme = _a.theme;
|
|
6745
6841
|
return STYLES_BY_THEME[theme.name].title.fontSize;
|
|
6746
6842
|
}, function (_a) {
|
|
@@ -7172,6 +7268,7 @@ var sizeMapper = (_a = {},
|
|
|
7172
7268
|
_a[ComponentSize.Medium] = 'medium',
|
|
7173
7269
|
_a[ComponentSize.Large] = 'large',
|
|
7174
7270
|
_a[ComponentSize.XSmall] = 'small',
|
|
7271
|
+
_a[ComponentSize.XXSmall] = 'small',
|
|
7175
7272
|
_a);
|
|
7176
7273
|
var StyledBaseButton = newStyled(BaseButton)(templateObject_1$1s || (templateObject_1$1s = __makeTemplateObject(["\n width: ", ";\n font-size: ", ";\n padding: ", ";\n font-weight: ", ";\n border-radius: ", ";\n cursor: pointer;\n &:disabled {\n background-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n svg {\n color: inherit;\n }\n"], ["\n width: ", ";\n font-size: ", ";\n padding: ", ";\n font-weight: ", ";\n border-radius: ", ";\n cursor: pointer;\n &:disabled {\n background-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n svg {\n color: inherit;\n }\n"])), function (_a) {
|
|
7177
7274
|
var wide = _a.wide;
|
|
@@ -21562,6 +21659,7 @@ var Container$1 = newStyled.div(templateObject_1$1 || (templateObject_1$1 = __ma
|
|
|
21562
21659
|
return (size ? size : '100%');
|
|
21563
21660
|
});
|
|
21564
21661
|
var borderSize = {
|
|
21662
|
+
xxsmall: '0.5px',
|
|
21565
21663
|
xsmall: '1px',
|
|
21566
21664
|
small: '1.5px',
|
|
21567
21665
|
medium: '2px',
|
|
@@ -21738,5 +21836,5 @@ var SubscriptionPlanSelector = function (_a) {
|
|
|
21738
21836
|
}, useV2Style: true, checked: !radiosStatuses.oneTime.disabled && radiosStatuses.oneTime.checked, disabled: radiosStatuses.oneTime.disabled }, void 0), jsx$1(StyledPrice, { testId: "single-purchase", finalPrice: "$".concat(decimalFormat(Number(discountedPrice))), disabled: radiosStatuses.oneTime.disabled, highlighted: !radiosStatuses.oneTime.disabled && radiosStatuses.oneTime.highlighted, size: ComponentSize.Large, originalPrice: "$".concat(decimalFormat(Number(listPrice))) }, void 0)] }), void 0)] }), void 0));
|
|
21739
21837
|
};
|
|
21740
21838
|
|
|
21741
|
-
export { AbsorbencyLevel, Accordion$1 as Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, AutoshipFrequencyDropdown, AutoshipOfferCard, AutoshipOfferCardCta, AutoshipV2, BasicAccordion, BeforeAfterCard, BeforeAfterVariant, BenefitsList, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, BuyNowPayLater, CacheProvider, CancellationFlowAccordionContentPerPartner, Card$3 as Card, CardSectionType, CartItemCard, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferSelector, ClubOfferTag, ClubPriceMemberLabel, ClubRadioGroupInput, Collection, ColorPickerWithTooltip, ComponentPosition, ComponentSize, CouponCard, index$1 as CrossSell, DeliveryDetails, DiscountTag$3 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, JoinClubCard, Icon$1 as LibIcon, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, PaymentMethod, PaypalButton, Portal, PriceLabel$1 as PriceLabel, PriceLabelV2$1 as PriceLabelV2, PriceLabelV3, ProductCard, ProductCardV2, ProductCardV3, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProductGalleryMobileV3, ProductGalleryMobileV4, ProductGalleryMobileV5, ProgressBar, QuantityPicker, RadioGroupInput, RadioInput, RadioPrimary, Rating, Review, Review$1 as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchNavigation, SeasonOfferTag, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeChartTableV2, SizeChartTableV3, SizeDropdown, SizeFitGuide, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, StrengthBars, SubscriptionPlanSelector, Tab, Tabs, Text$7 as Text, TextButton, TextWithImage, ThemeProvider, ThemeVariables, Timer, Toast, ToggleComponent, Tooltip, Totals, TrackingProgress, TrackingProgressV2, Video$1 as Video, buildImageUrl, componentSizeMapper, createCache, 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 };
|
|
21839
|
+
export { AbsorbencyLevel, Accordion$1 as Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, AutoshipFrequencyDropdown, AutoshipOfferCard, AutoshipOfferCardCta, AutoshipV2, BasicAccordion, BeforeAfterCard, BeforeAfterVariant, BenefitsList, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, BuyNowPayLater, CacheProvider, CancellationFlowAccordionContentPerPartner, Card$3 as Card, CardSectionType, CartItemCard, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferSelector, ClubOfferTag, ClubPriceMemberLabel, ClubRadioGroupInput, Collection, ColorPickerWithTooltip, ComponentPosition, ComponentSize, CouponCard, index$1 as CrossSell, DeliveryDetails, DiscountTag$3 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, JoinClubCard, Icon$1 as LibIcon, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, PaymentMethod, PaypalButton, Portal, PriceLabel$1 as PriceLabel, PriceLabelV2$1 as PriceLabelV2, PriceLabelV3, ProductCard, ProductCardV2, ProductCardV3, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProductGalleryMobileV3, ProductGalleryMobileV4, ProductGalleryMobileV5, ProgressBar, QuantityPicker, RadioGroupInput, RadioInput, RadioPrimary, Rating, Review, Review$1 as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchNavigation, SeasonOfferTag, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeChartTableV2, SizeChartTableV3, SizeDropdown, SizeFitGuide, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, StrengthBars, SubscriptionPlanSelector, Tab, Tabs, Text$7 as Text, TextButton, TextWithImage, ThemeProvider, ThemeVariables, Timer, Toast, ToggleComponent, Tooltip, Totals, TrackingProgress, TrackingProgressV2, Video$1 as Video, benefits, benefitsRawHtml, buildImageUrl, componentSizeMapper, createCache, css, decimalFormat, formatPrice, getSrcSet, isDangerouslySetInnerHTML, isEmail, isEmpty, isNumber$1 as isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sizeOptions, sliceString, newStyled as styled, title, useDeviceType, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
|
21742
21840
|
//# sourceMappingURL=index.esm.js.map
|