@trafilea/afrodita-components 5.0.0-beta.321 → 5.0.0-beta.322

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.d.ts CHANGED
@@ -1,18 +1,55 @@
1
1
  /// <reference types="react" />
2
- import * as React from 'react';
3
- import React__default, { ReactFragment, FC, ReactNode, ElementType, CSSProperties, AriaAttributes, HTMLAttributes, LabelHTMLAttributes, RefObject } from 'react';
2
+ import * as React$1 from 'react';
3
+ import React__default, { FC, ReactFragment, ReactNode, ElementType, CSSProperties, AriaAttributes, HTMLAttributes, LabelHTMLAttributes, RefObject } from 'react';
4
4
  import { IconProps as IconProps$1 } from 'src/types/types';
5
+ import { ComponentSize as ComponentSize$1 } from 'src/types/enums';
6
+ import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
7
+ import { TextProps as TextProps$1 } from 'src/components/text/Text';
5
8
  import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
6
9
  import * as _emotion_styled from '@emotion/styled';
7
10
  import { StyledComponent } from '@emotion/styled';
8
11
  export { default as styled } from '@emotion/styled';
9
- import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
10
- import { TextProps as TextProps$1 } from 'src/components/text/Text';
11
12
  import * as _emotion_react from '@emotion/react';
12
13
  export { Global, css } from '@emotion/react';
13
- import { ComponentSize as ComponentSize$1 } from 'src/types/enums';
14
14
  import facepaint from 'facepaint';
15
15
 
16
+ interface HurryUpProps {
17
+ hurryUpText: string;
18
+ backgroundColor?: string;
19
+ showTimer?: boolean;
20
+ iconSize?: number;
21
+ textPosition?: 'left' | 'right' | 'center';
22
+ }
23
+ declare const HurryUp: ({ hurryUpText, backgroundColor, iconSize, textPosition, showTimer, }: HurryUpProps) => JSX.Element;
24
+
25
+ interface PackOption$1 {
26
+ label: string;
27
+ description: string;
28
+ meta: {
29
+ discountPercentage: number;
30
+ originalPrice: number;
31
+ price: number;
32
+ quantity: number;
33
+ icon: string;
34
+ tag?: string;
35
+ };
36
+ }
37
+ interface PackSelectorProps$1 {
38
+ packs: PackOption$1[];
39
+ selectedValue: PackOption$1;
40
+ onChange: (size: PackOption$1) => void;
41
+ currencyCode?: string;
42
+ }
43
+ declare const PackSelectorV2: FC<PackSelectorProps$1>;
44
+
45
+ interface AbsorbencyLevelProps {
46
+ dropTotal: number;
47
+ drops: number;
48
+ absorbencyTitle: string;
49
+ absorbencyDescription: string;
50
+ }
51
+ declare const AbsorbencyLevel: ({ dropTotal, drops, absorbencyTitle, absorbencyDescription, }: AbsorbencyLevelProps) => JSX.Element;
52
+
16
53
  declare enum CardSectionType {
17
54
  Header = 0,
18
55
  Footer = 1
@@ -1115,305 +1152,156 @@ declare const Icon: {
1115
1152
  MyAccount: typeof MyAccount;
1116
1153
  };
1117
1154
 
1118
- interface CardBodyProps {
1119
- children: ReactNode;
1120
- }
1121
-
1122
- interface CardSectionProps {
1123
- children: ReactNode;
1124
- }
1155
+ interface AccordionProps {
1156
+ defaultOpen?: boolean;
1157
+ forceOpenHandler?: boolean;
1158
+ forceOpenValue?: boolean;
1159
+ titleColor?: string;
1160
+ variant: 'simple' | 'box';
1161
+ header: ReactNode;
1162
+ headerOnOpen?: ReactNode;
1163
+ content: ReactNode;
1164
+ disabled?: boolean;
1165
+ innerHTML?: boolean;
1166
+ controlIconPos?: 'right' | 'bottom';
1167
+ backgroundCover?: {
1168
+ value: boolean;
1169
+ iconBgColor?: string;
1170
+ };
1171
+ openIcon: IconType;
1172
+ closeIcon: IconType;
1173
+ onClick?: (index: number) => void;
1174
+ }
1175
+ declare const Accordion: ({ header, headerOnOpen, content, defaultOpen, forceOpenHandler, forceOpenValue, titleColor, variant, disabled, innerHTML, backgroundCover, controlIconPos, openIcon, closeIcon, onClick, }: AccordionProps) => JSX.Element;
1125
1176
 
1126
- interface borderProps {
1127
- borderColor: string;
1128
- borderWidth: string;
1177
+ interface AccordionOptionsProps {
1178
+ titleColor: string;
1179
+ accordions: AccordionProps[];
1129
1180
  }
1130
- interface CardProps {
1131
- children: ReactNode;
1132
- backgroundColor?: string;
1133
- widthAuto?: boolean;
1134
- border?: borderProps;
1135
- flex?: boolean;
1181
+ declare const AccordionOptions: ({ titleColor, accordions }: AccordionOptionsProps) => JSX.Element;
1182
+
1183
+ declare type AutoshipProps = {
1184
+ singlePurchaseLabel: string;
1185
+ subscriptionLabel: string;
1186
+ tooltipContent?: {
1187
+ text: string;
1188
+ color?: string;
1189
+ };
1190
+ tooltipHeader?: {
1191
+ title: string;
1192
+ };
1193
+ pricing?: {
1194
+ originalPrice: number;
1195
+ discountedPrice: number;
1196
+ discountPercentage: number;
1197
+ };
1198
+ frequencyValues?: Array<number>;
1199
+ frequencyUnit?: string;
1200
+ autoshipBenefits: string[];
1201
+ onChange: (values: {
1202
+ subscriptionPeriod: number;
1203
+ autoship: boolean;
1204
+ originalPrice: number;
1205
+ discountedPrice: number;
1206
+ }) => void;
1207
+ };
1208
+ declare const Autoship: React.FC<AutoshipProps>;
1209
+
1210
+ declare enum BeforeAfterVariant {
1211
+ UserInfoText = "UserInfoText",
1212
+ ResultFeedback = "ResultFeedback"
1136
1213
  }
1137
- declare const _default: (({ children, backgroundColor, widthAuto, border, flex }: CardProps) => JSX.Element) & {
1138
- Header: ({ children }: CardSectionProps) => JSX.Element;
1139
- Footer: ({ children }: CardSectionProps) => JSX.Element;
1140
- Body: ({ children }: CardBodyProps) => JSX.Element;
1214
+ declare type NewSize = 'small' | 'medium' | 'large';
1215
+ declare const componentSizeMapper: {
1216
+ [size in ComponentSize$1]: NewSize;
1141
1217
  };
1142
1218
 
1143
- declare const ButtonPrimary: ({ testId, ...props }: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
1144
-
1145
- declare const ButtonSecondary: (props: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
1219
+ declare type BeforeAfterCardProps = {
1220
+ name: string;
1221
+ age?: string;
1222
+ months?: string;
1223
+ beforeImage: string;
1224
+ afterImage: string;
1225
+ alignCenter?: boolean;
1226
+ imageBorderRadius?: string;
1227
+ size?: ComponentSize$1;
1228
+ variant?: BeforeAfterVariant;
1229
+ description?: string;
1230
+ reviewDays?: string;
1231
+ };
1232
+ declare const BeforeAfterCard: React__default.FC<BeforeAfterCardProps>;
1146
1233
 
1147
- declare const ButtonSecondaryOutline: (props: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
1234
+ interface SimpleProps {
1235
+ title: string;
1236
+ freeShippingText: string;
1237
+ price: string;
1238
+ anyQtyForText: string;
1239
+ backgroundColor: string;
1240
+ widthAuto?: boolean;
1241
+ }
1148
1242
 
1149
- declare type Value<T> = DropdownOption<T>;
1150
- declare type OnChange<T> = (option: Value<T>) => void;
1151
- declare type CommonProps<T> = {
1152
- options: Value<T>[];
1153
- disabled?: boolean;
1154
- wide?: boolean;
1155
- label?: string;
1156
- sort?: boolean;
1157
- initialValue?: Value<T>;
1158
- placeHolder: string;
1243
+ interface MinimalisticProps {
1244
+ backgroundColor?: string;
1245
+ borderColor?: string;
1246
+ originalPrice: string;
1247
+ price: string;
1248
+ savingPrice: string;
1249
+ getMorePayLessText: string;
1250
+ youAreSavingText: string;
1251
+ getQtyForText: string;
1252
+ discount: number;
1253
+ offText: string;
1254
+ widthAuto?: boolean;
1159
1255
  testId?: string;
1160
- required?: string;
1161
- showRequiredPlaceholder?: boolean;
1162
- };
1163
- declare type ControlledProps<T> = {
1164
- value: Value<T>;
1165
- onChange: OnChange<T>;
1166
- } & CommonProps<T>;
1167
- declare type UncontrolledProps<T> = {
1168
- value?: never;
1169
- onChange?: OnChange<T>;
1170
- } & CommonProps<T>;
1171
- declare type SimpleDropdownProps<T> = UncontrolledProps<T> | ControlledProps<T>;
1172
- declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolder, label, wide, sort, onChange, value, testId, required, showRequiredPlaceholder, }: SimpleDropdownProps<T>): JSX.Element;
1256
+ }
1173
1257
 
1174
- interface DialogPositionProps {
1175
- top: string;
1176
- right: string;
1177
- }
1178
- interface DialogDropdownProps {
1179
- options: {
1180
- label: string;
1181
- value: string;
1182
- }[];
1183
- position: DialogPositionProps;
1184
- style?: React__default.CSSProperties;
1185
- className?: string;
1186
- }
1187
- declare const DropdownDialog: ({ options, position: { top, right }, style, className, }: DialogDropdownProps) => JSX.Element;
1258
+ declare const Bundle: {
1259
+ Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, testId, }: MinimalisticProps) => JSX.Element;
1260
+ Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
1261
+ };
1188
1262
 
1189
- interface SizeSelectorProps {
1190
- label: string;
1191
- sizes: SizeOption[];
1192
- selectedValue: SizeOption;
1193
- onChange: (size: SizeOption) => void;
1194
- inline?: boolean;
1195
- width?: string;
1263
+ interface BuyNowPayLaterProps {
1264
+ displayBNPL: boolean;
1265
+ installments: number;
1266
+ installmentPrice: string;
1267
+ iconFolder?: string;
1268
+ iconName: string;
1269
+ showLogo?: boolean;
1270
+ iconColor?: string;
1271
+ fontSize?: string;
1196
1272
  }
1197
- declare const SizeSelector: ({ label, sizes, selectedValue, onChange, inline, width, }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
1273
+ declare const BuyNowPayLater: ({ displayBNPL, installments, installmentPrice, iconFolder, iconName, showLogo, iconColor, fontSize, }: BuyNowPayLaterProps) => JSX.Element | null;
1198
1274
 
1199
- interface SizeFitGuideProps {
1200
- title: string;
1201
- fitPercentage?: number;
1275
+ interface CloseButtonProps {
1202
1276
  onClick: () => void;
1203
- onClickFitPercentage?: () => void;
1204
- }
1205
- declare const SizeFitGuide: ({ title, fitPercentage, onClick, onClickFitPercentage, }: SizeFitGuideProps) => JSX.Element;
1277
+ size: number;
1278
+ }
1206
1279
 
1207
- interface BaseButtonProps {
1208
- children: React__default.ReactNode;
1209
- renderLeading?: React__default.ReactNode;
1210
- renderTrailing?: React__default.ReactNode;
1211
- disabled?: boolean;
1212
- type?: ButtonType;
1213
- onClick: () => void;
1214
- className?: string;
1215
- inline?: boolean;
1216
- uppercase?: boolean;
1217
- testId?: string;
1218
- id?: string;
1280
+ interface DescriptionProps {
1281
+ text: string;
1219
1282
  }
1220
1283
 
1221
- declare type BaseProps = Pick<BaseButtonProps, 'disabled' | 'type' | 'onClick'>;
1222
- interface TextButtonProps$1 extends BaseProps {
1284
+ interface PromoProps {
1223
1285
  text: string;
1224
- LeadingIcon?: IconType;
1225
- TrailingIcon?: IconType;
1226
- iconColor?: string;
1227
- size?: ComponentSize;
1228
- uppercase?: boolean;
1286
+ }
1287
+
1288
+ interface OfferBannerProps {
1289
+ discountAppliedText: string;
1290
+ backgroundColor: string;
1229
1291
  }
1230
- declare const TextButton: ({ text, LeadingIcon, TrailingIcon, iconColor, disabled, type, size, uppercase, onClick, }: TextButtonProps$1) => _emotion_react_jsx_runtime.JSX.Element;
1292
+ declare const OfferBanner: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
1231
1293
 
1232
- interface DiscountTagProps {
1233
- discount: number;
1234
- offText: string;
1235
- savings?: string;
1236
- showSavings?: boolean;
1237
- disabled?: boolean;
1238
- backgroundColor?: string;
1239
- borderColor?: string;
1240
- textColor?: string;
1241
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
1242
- style?: React__default.CSSProperties;
1243
- bordersRounded?: boolean;
1244
- }
1245
- declare const DiscountTag: ({ discount, offText, savings, showSavings, disabled, backgroundColor, borderColor, textColor, size, style, bordersRounded, }: DiscountTagProps) => JSX.Element;
1246
-
1247
- interface ClubOfferTagProps {
1248
- clubOfferText?: string;
1249
- className?: string;
1250
- disabled?: boolean;
1251
- backgroundColor?: string;
1252
- borderColor?: string;
1253
- textColor?: string;
1254
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
1255
- style?: React__default.CSSProperties;
1256
- }
1257
- declare const ClubOfferTag: ({ clubOfferText, className, disabled, backgroundColor, borderColor, textColor, size, style, }: ClubOfferTagProps) => JSX.Element;
1258
-
1259
- interface PriceLabelProps {
1260
- finalPrice: string | number;
1261
- originalPrice?: string | number;
1262
- color?: string;
1263
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
1264
- discount?: DiscountTagProps;
1265
- clubOffer?: ClubOfferTagProps;
1266
- finalPriceStyled?: boolean;
1267
- finalPriceStyle?: React__default.CSSProperties;
1268
- originalPriceStyled?: boolean;
1269
- originalPriceUnderlined?: boolean;
1270
- testId?: string;
1271
- clubStyle?: boolean;
1272
- bordersRounded?: boolean;
1273
- }
1274
- declare const PriceLabel: React__default.FC<PriceLabelProps>;
1275
-
1276
- declare type Props = PriceLabelProps & {
1277
- savingsDisplay?: boolean;
1278
- };
1279
- declare const PriceLabelV2: React__default.FC<Props>;
1280
-
1281
- interface ColorPickerProps {
1282
- options: ColorPickerOption[];
1283
- selectedValue?: ColorPickerOption;
1284
- label: string;
1285
- onChange: (color: ColorPickerOption) => void;
1286
- inline?: boolean;
1287
- }
1288
- declare const SingleColorPicker: ({ options, selectedValue, label, onChange, inline, }: ColorPickerProps) => _emotion_react_jsx_runtime.JSX.Element;
1289
-
1290
- interface MultiColorPickerProps {
1291
- options?: ColorPickerOption[];
1292
- label: string;
1293
- selectedValue?: ColorPickerOption;
1294
- onChange: (color: Set<ColorPickerOption>) => void;
1295
- }
1296
- declare const MultiColorPicker: ({ options, label, selectedValue, onChange, }: MultiColorPickerProps) => JSX.Element;
1297
-
1298
- interface ProductGalleryProps {
1299
- images: ImageType[];
1300
- selectedValue?: ImageType;
1301
- topTag?: JSX.Element;
1302
- bottomTag?: JSX.Element;
1303
- productImageDataTestId?: string;
1304
- previewListDataTestId?: string;
1305
- thumbnailPosition?: 'vertical' | 'horizontal';
1306
- borderRadiusVariant?: boolean;
1307
- previewImgBorderColor?: string;
1308
- ctaText?: string;
1309
- ctaAction?: () => void;
1310
- hideCTA?: boolean;
1311
- hasOverflowArrows?: boolean;
1312
- }
1313
- declare const ProductGallery: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, borderRadiusVariant, previewImgBorderColor, ctaText, ctaAction, hideCTA, hasOverflowArrows, }: ProductGalleryProps) => JSX.Element;
1314
-
1315
- interface RatingProps {
1316
- rating: number;
1317
- size?: ComponentSize;
1318
- reviews?: number;
1319
- reviewsText?: string;
1320
- wrapWithParenthesis?: boolean;
1321
- underline?: boolean;
1322
- reviewsContainerId?: string;
1323
- }
1324
- declare const Rating: ({ size, reviews, reviewsText, rating, wrapWithParenthesis, underline, reviewsContainerId, }: RatingProps) => JSX.Element;
1325
-
1326
- interface FitPredictorProps {
1327
- onClick: () => void;
1328
- }
1329
- declare const FitPredictor: ({ onClick }: FitPredictorProps) => _emotion_react_jsx_runtime.JSX.Element;
1330
-
1331
- interface FitGuaranteeProps {
1332
- backgroundColor?: string;
1333
- borderColor?: string;
1294
+ interface TitleProps {
1334
1295
  title: string;
1335
- description: string;
1336
- widthAuto?: boolean;
1337
- testId?: string;
1338
- iconFolder?: string;
1339
- iconName?: string;
1340
- iconWidth?: number;
1341
- iconHeight?: number;
1342
- }
1343
- declare const FitGuarantee: ({ backgroundColor, borderColor, title, description, widthAuto, testId, iconFolder, iconName, iconWidth, iconHeight, }: FitGuaranteeProps) => JSX.Element | null;
1344
-
1345
- interface ProgressBarProps {
1346
- description?: string;
1347
- fillColor: string;
1348
- widthAuto?: boolean;
1349
- percent?: number;
1350
- height?: string;
1351
- backgroundColor?: string;
1352
- borderRadius?: string;
1353
- }
1354
- declare const ProgressBar: ({ description, fillColor, widthAuto, percent, height, backgroundColor, borderRadius, }: ProgressBarProps) => JSX.Element;
1355
-
1356
- interface MotivatorProgressBarProps {
1357
- fillColor?: string;
1358
- currentAmount?: number;
1359
- backgroundColor?: string;
1360
- unfilledColor?: string;
1361
- borderRadius?: string;
1362
- rewardUnlockedMessage: string;
1363
- endingValue?: number;
1364
- currencyCode?: string;
1365
- }
1366
- declare const MotivatorProgressBar: ({ fillColor, backgroundColor, unfilledColor, currencyCode, endingValue, currentAmount, rewardUnlockedMessage, }: MotivatorProgressBarProps) => JSX.Element;
1367
-
1368
- interface IconButtonProps {
1369
- children: React__default.ReactNode;
1370
- disabled?: boolean;
1371
- onClick?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
1372
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
1373
- }
1374
- declare const IconButton: ({ children, disabled, size, onClick, }: IconButtonProps) => JSX.Element;
1375
-
1376
- interface TooltipProps {
1377
- children: React__default.ReactNode;
1378
- position: ComponentPosition;
1379
- align?: 'start' | 'center' | 'end';
1380
- content?: {
1381
- text: string;
1382
- color?: string;
1383
- };
1384
- backgroundColor?: string;
1385
- maxWidth?: string;
1386
- header?: {
1387
- title: string;
1388
- titleColor?: string;
1389
- Icon?: IconType;
1390
- iconFill?: string;
1391
- };
1392
- onClick?: () => void;
1393
- }
1394
- declare const Tooltip: ({ children, position, content, backgroundColor, align, maxWidth, onClick, header, }: TooltipProps) => JSX.Element;
1296
+ }
1395
1297
 
1396
- interface AccordionProps {
1397
- defaultOpen?: boolean;
1398
- forceOpenHandler?: boolean;
1399
- forceOpenValue?: boolean;
1400
- titleColor?: string;
1401
- variant: 'simple' | 'box';
1402
- header: ReactNode;
1403
- headerOnOpen?: ReactNode;
1404
- content: ReactNode;
1405
- disabled?: boolean;
1406
- innerHTML?: boolean;
1407
- controlIconPos?: 'right' | 'bottom';
1408
- backgroundCover?: {
1409
- value: boolean;
1410
- iconBgColor?: string;
1411
- };
1412
- openIcon: IconType;
1413
- closeIcon: IconType;
1414
- onClick?: (index: number) => void;
1415
- }
1416
- declare const Accordion: ({ header, headerOnOpen, content, defaultOpen, forceOpenHandler, forceOpenValue, titleColor, variant, disabled, innerHTML, backgroundCover, controlIconPos, openIcon, closeIcon, onClick, }: AccordionProps) => JSX.Element;
1298
+ declare const CartProductItem: {
1299
+ Title: ({ title }: TitleProps) => JSX.Element;
1300
+ Tag: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
1301
+ Promo: ({ text }: PromoProps) => JSX.Element;
1302
+ Description: ({ text }: DescriptionProps) => JSX.Element;
1303
+ CloseButton: ({ onClick, size }: CloseButtonProps) => JSX.Element;
1304
+ };
1417
1305
 
1418
1306
  declare const ThemeProvider: FC<{
1419
1307
  theme: Theme;
@@ -2187,119 +2075,434 @@ interface CheckboxProps {
2187
2075
  }
2188
2076
  declare const Checkbox: React__default.FC<CheckboxProps>;
2189
2077
 
2190
- interface RadioProps$1 {
2191
- name: string;
2192
- value: string;
2193
- id: string;
2194
- label: string | ReactFragment;
2195
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2196
- checked?: boolean;
2197
- disabled?: boolean;
2198
- onChange: (option: RadioGroupOption) => void;
2199
- style?: React__default.CSSProperties;
2078
+ interface ImageStyleProps {
2079
+ height?: string;
2080
+ width?: string;
2081
+ borderRadius?: string;
2082
+ objectFit?: string;
2083
+ objectPosition?: string;
2084
+ className?: string;
2200
2085
  }
2201
- declare const RadioPrimary: ({ style, name, value, id, label, checked, disabled, onChange, size, }: RadioProps$1) => JSX.Element;
2086
+ interface ImageProps extends ImageStyleProps {
2087
+ src: string;
2088
+ alt: string;
2089
+ srcSet?: string;
2090
+ sizes?: string;
2091
+ loading?: 'lazy' | 'eager';
2092
+ }
2093
+ declare const Image: ({ src, srcSet, sizes, loading, alt, height, width, borderRadius, objectFit, objectPosition, className, }: ImageProps) => JSX.Element;
2202
2094
 
2203
- interface RadioGroupInputProps {
2204
- name: string;
2205
- options?: RadioGroupOption[];
2206
- value?: RadioGroupOption;
2207
- onChange: (value: RadioGroupOption) => void;
2208
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2095
+ interface DiscountTagProps {
2096
+ discount: number;
2097
+ offText: string;
2098
+ savings?: string;
2099
+ showSavings?: boolean;
2209
2100
  disabled?: boolean;
2101
+ backgroundColor?: string;
2102
+ borderColor?: string;
2103
+ textColor?: string;
2104
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2210
2105
  style?: React__default.CSSProperties;
2106
+ bordersRounded?: boolean;
2211
2107
  }
2212
- declare const RadioGroupInput: ({ style, name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
2108
+ declare const DiscountTag: ({ discount, offText, savings, showSavings, disabled, backgroundColor, borderColor, textColor, size, style, bordersRounded, }: DiscountTagProps) => JSX.Element;
2213
2109
 
2214
- interface ClubRadioGroupInputProps {
2215
- name: string;
2216
- options?: RadioGroupOption[];
2217
- value?: RadioGroupOption;
2218
- onChange: (value: RadioGroupOption) => void;
2219
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2110
+ interface ClubOfferTagProps {
2111
+ clubOfferText?: string;
2112
+ className?: string;
2220
2113
  disabled?: boolean;
2114
+ backgroundColor?: string;
2115
+ borderColor?: string;
2116
+ textColor?: string;
2117
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2221
2118
  style?: React__default.CSSProperties;
2222
2119
  }
2223
- declare const ClubRadioGroupInput: ({ style, name, options, value, onChange, size, disabled, }: ClubRadioGroupInputProps) => JSX.Element;
2120
+ declare const ClubOfferTag: ({ clubOfferText, className, disabled, backgroundColor, borderColor, textColor, size, style, }: ClubOfferTagProps) => JSX.Element;
2224
2121
 
2225
- interface SimpleProps {
2226
- title: string;
2227
- freeShippingText: string;
2228
- price: string;
2229
- anyQtyForText: string;
2230
- backgroundColor: string;
2231
- widthAuto?: boolean;
2122
+ interface PriceLabelProps {
2123
+ finalPrice: string | number;
2124
+ originalPrice?: string | number;
2125
+ color?: string;
2126
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2127
+ discount?: DiscountTagProps;
2128
+ clubOffer?: ClubOfferTagProps;
2129
+ finalPriceStyled?: boolean;
2130
+ finalPriceStyle?: React__default.CSSProperties;
2131
+ originalPriceStyled?: boolean;
2132
+ originalPriceUnderlined?: boolean;
2133
+ testId?: string;
2134
+ clubStyle?: boolean;
2135
+ bordersRounded?: boolean;
2136
+ }
2137
+ declare const PriceLabel: React__default.FC<PriceLabelProps>;
2138
+
2139
+ declare type Props = PriceLabelProps & {
2140
+ savingsDisplay?: boolean;
2141
+ };
2142
+ declare const PriceLabelV2: React__default.FC<Props>;
2143
+
2144
+ interface RatingProps {
2145
+ rating: number;
2146
+ size?: ComponentSize;
2147
+ reviews?: number;
2148
+ reviewsText?: string;
2149
+ wrapWithParenthesis?: boolean;
2150
+ underline?: boolean;
2151
+ reviewsContainerId?: string;
2152
+ }
2153
+ declare const Rating: ({ size, reviews, reviewsText, rating, wrapWithParenthesis, underline, reviewsContainerId, }: RatingProps) => JSX.Element;
2154
+
2155
+ interface ProductItemProps {
2156
+ title: string;
2157
+ image: ImageProps;
2158
+ price: Pick<PriceLabelProps, 'finalPrice' | 'originalPrice' | 'color'>;
2159
+ rating: Pick<RatingProps, 'rating' | 'reviews'>;
2160
+ tags?: {
2161
+ categoryTagText?: string;
2162
+ seasonOfferTagText?: string;
2163
+ };
2164
+ alignName?: 'left' | 'center';
2165
+ url?: string;
2166
+ className?: string;
2232
2167
  }
2233
2168
 
2234
- interface MinimalisticProps {
2169
+ interface ProductItemSmallMobileProps$1 extends ProductItemProps {
2170
+ titleStyle?: Pick<TextProps$1, 'variant' | 'weight' | 'size'>;
2171
+ ImageBorderRadius?: string;
2172
+ hasSpacing?: boolean;
2173
+ textContainerGap?: string;
2174
+ customSizeRating?: ComponentSize.XSmall | ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large | '';
2175
+ size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
2176
+ imageHover?: ImageProps;
2177
+ topTag?: JSX.Element;
2178
+ bottomTag?: JSX.Element;
2179
+ onClick?: () => void;
2180
+ originalPriceStyled?: boolean;
2181
+ priceDisplayType?: 'default' | 'styled';
2182
+ priceAtBottom?: boolean;
2183
+ priceLoading?: boolean;
2184
+ noFollow?: boolean;
2185
+ colorPicker?: {
2186
+ display: boolean;
2187
+ position: string;
2188
+ component: JSX.Element | JSX.Element[] | undefined;
2189
+ };
2190
+ isBNPL?: {
2191
+ displayBNPL: boolean;
2192
+ installments: number;
2193
+ installmentPrice: string;
2194
+ iconFolder?: string;
2195
+ iconName: string;
2196
+ showLogo?: boolean;
2197
+ iconColor: string;
2198
+ fontSize: string;
2199
+ };
2200
+ hasStrength?: {
2201
+ strength: number;
2202
+ description: string;
2203
+ };
2204
+ clubPrice?: string;
2205
+ showClubPriceLabel?: boolean;
2206
+ }
2207
+
2208
+ interface ProductItemSmallMobileProps extends ProductItemProps {
2209
+ size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
2210
+ imageHover?: ImageProps;
2211
+ topTag?: JSX.Element;
2212
+ bottomTag?: JSX.Element;
2213
+ onClick?: () => void;
2214
+ priceDisplayType?: 'default' | 'styled';
2215
+ priceAtBottom?: boolean;
2216
+ priceLoading?: boolean;
2217
+ noFollow?: boolean;
2218
+ colorPicker?: {
2219
+ display: boolean;
2220
+ position: string;
2221
+ component: JSX.Element | JSX.Element[] | undefined;
2222
+ };
2223
+ isBNPL?: {
2224
+ displayBNPL: boolean;
2225
+ installments: number;
2226
+ installmentPrice: string;
2227
+ iconFolder?: string;
2228
+ iconName: string;
2229
+ showLogo?: boolean;
2230
+ iconColor: string;
2231
+ fontSize: string;
2232
+ };
2233
+ hasStrength?: {
2234
+ strength: number;
2235
+ description: string;
2236
+ };
2237
+ clubPrice?: string;
2238
+ showClubPriceLabel?: boolean;
2239
+ isRatingLoading?: boolean;
2240
+ }
2241
+
2242
+ declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: React__default.FC<P>, data: ProductItemProps[]): {
2243
+ (props: Omit<P, 'title' | 'image' | 'price' | 'rating'>): JSX.Element;
2244
+ displayName: string;
2245
+ };
2246
+
2247
+ declare const Collection: {
2248
+ ProductItemMobile: React$1.FC<ProductItemSmallMobileProps>;
2249
+ withProductGrid: typeof withProductGrid;
2250
+ ProductItemTK: ({ title, titleStyle, hasSpacing, textContainerGap, customSizeRating, image, ImageBorderRadius, imageHover, price, rating, size, alignName, url, className, topTag, bottomTag, onClick, priceDisplayType, originalPriceStyled, priceAtBottom, priceLoading, noFollow, colorPicker, isBNPL, hasStrength, clubPrice, showClubPriceLabel, }: ProductItemSmallMobileProps$1) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
2251
+ };
2252
+
2253
+ interface MultiColorPickerProps {
2254
+ options?: ColorPickerOption[];
2255
+ label: string;
2256
+ selectedValue?: ColorPickerOption;
2257
+ onChange: (color: Set<ColorPickerOption>) => void;
2258
+ }
2259
+ declare const MultiColorPicker: ({ options, label, selectedValue, onChange, }: MultiColorPickerProps) => JSX.Element;
2260
+
2261
+ interface ColorPickerProps {
2262
+ options: ColorPickerOption[];
2263
+ selectedValue?: ColorPickerOption;
2264
+ label: string;
2265
+ onChange: (color: ColorPickerOption) => void;
2266
+ inline?: boolean;
2267
+ }
2268
+ declare const SingleColorPicker: ({ options, selectedValue, label, onChange, inline, }: ColorPickerProps) => _emotion_react_jsx_runtime.JSX.Element;
2269
+
2270
+ interface CrossSellCheckboxProps extends rightToLeftProps {
2271
+ imageURL: string;
2272
+ title: string;
2273
+ description: string;
2274
+ freeShippingText: string;
2275
+ onChange: (checked: Boolean) => void;
2276
+ }
2277
+ interface rightToLeftProps {
2278
+ rightToLeft: boolean;
2279
+ }
2280
+ declare const CrossSellCheckbox: ({ imageURL, title, description, freeShippingText, rightToLeft, onChange, }: CrossSellCheckboxProps) => JSX.Element;
2281
+
2282
+ type index_d_CrossSellCheckboxProps = CrossSellCheckboxProps;
2283
+ declare const index_d_CrossSellCheckbox: typeof CrossSellCheckbox;
2284
+ declare namespace index_d {
2285
+ export {
2286
+ index_d_CrossSellCheckboxProps as CrossSellCheckboxProps,
2287
+ index_d_CrossSellCheckbox as CrossSellCheckbox,
2288
+ };
2289
+ }
2290
+
2291
+ declare const ButtonPrimary: ({ testId, ...props }: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
2292
+
2293
+ declare const ButtonSecondary: (props: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
2294
+
2295
+ declare const ButtonSecondaryOutline: (props: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
2296
+
2297
+ declare type detail = {
2298
+ title: string;
2299
+ details: string;
2300
+ };
2301
+ interface orderUpdate extends detail {
2302
+ keepMeUpdated?: {
2303
+ title: string;
2304
+ onClick: () => void;
2305
+ };
2306
+ }
2307
+ interface DeliveryDetailsProps {
2308
+ deliveryDetailsText: string;
2309
+ arrivingBy: detail;
2310
+ shippingTo: detail;
2311
+ instantOrderUpdate: orderUpdate;
2312
+ note?: {
2313
+ importantNoteText: string;
2314
+ text: string;
2315
+ accentColor?: string;
2316
+ backgroundColor?: string;
2317
+ color?: string;
2318
+ };
2319
+ }
2320
+ declare const DeliveryDetails: ({ deliveryDetailsText, arrivingBy, shippingTo, instantOrderUpdate, note, }: DeliveryDetailsProps) => JSX.Element;
2321
+
2322
+ interface NoteProps {
2323
+ accentColor?: string;
2324
+ color?: string;
2325
+ backgroundColor?: string;
2326
+ importantNoteText: string;
2327
+ text: string;
2328
+ }
2329
+ declare const Note: ({ accentColor, color, backgroundColor, importantNoteText, text, }: NoteProps) => JSX.Element;
2330
+
2331
+ interface DrawerProps {
2332
+ children: React__default.ReactNode;
2333
+ isOpen: boolean;
2334
+ onClose?: () => void;
2335
+ onOpen?: () => void;
2336
+ onClickOutside?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
2337
+ backgroundColor?: string;
2338
+ backdropColor?: string;
2339
+ position?: 'left' | 'right';
2340
+ width?: string;
2341
+ }
2342
+ declare const Drawer: ({ children, isOpen, onClose, onOpen, backgroundColor, backdropColor, position, width, onClickOutside, }: DrawerProps) => JSX.Element | null;
2343
+
2344
+ interface DropdownListIconsProps {
2345
+ items: DropdownListIconsItem[];
2346
+ }
2347
+ declare const DropdownListIcons: ({ items }: DropdownListIconsProps) => JSX.Element;
2348
+
2349
+ interface DropdownProps {
2350
+ options: SelectedOption[];
2351
+ defaultLabel: string;
2352
+ onOptionSelect: (option: string) => void;
2353
+ }
2354
+ interface SelectedOption {
2355
+ size: string;
2356
+ detail: string;
2357
+ }
2358
+ declare const SizeDropdown: React__default.FC<DropdownProps>;
2359
+
2360
+ interface DialogPositionProps {
2361
+ top: string;
2362
+ right: string;
2363
+ }
2364
+ interface DialogDropdownProps {
2365
+ options: {
2366
+ label: string;
2367
+ value: string;
2368
+ }[];
2369
+ position: DialogPositionProps;
2370
+ style?: React__default.CSSProperties;
2371
+ className?: string;
2372
+ }
2373
+ declare const DropdownDialog: ({ options, position: { top, right }, style, className, }: DialogDropdownProps) => JSX.Element;
2374
+
2375
+ declare type FilteringDropdownProps<T> = {
2376
+ options: DropdownOption<T>[];
2377
+ disabled?: boolean;
2378
+ wide?: boolean;
2379
+ onChange: (options: DropdownOption<T>[]) => void;
2380
+ filter?: boolean;
2381
+ sliceAfter?: number;
2382
+ placeHolder: string;
2383
+ };
2384
+ declare function FilteringDropdown<T>({ options, disabled, placeHolder, wide, sliceAfter, filter, onChange, }: FilteringDropdownProps<T>): JSX.Element;
2385
+
2386
+ declare type Value<T> = DropdownOption<T>;
2387
+ declare type OnChange<T> = (option: Value<T>) => void;
2388
+ declare type CommonProps<T> = {
2389
+ options: Value<T>[];
2390
+ disabled?: boolean;
2391
+ wide?: boolean;
2392
+ label?: string;
2393
+ sort?: boolean;
2394
+ initialValue?: Value<T>;
2395
+ placeHolder: string;
2396
+ testId?: string;
2397
+ required?: string;
2398
+ showRequiredPlaceholder?: boolean;
2399
+ };
2400
+ declare type ControlledProps<T> = {
2401
+ value: Value<T>;
2402
+ onChange: OnChange<T>;
2403
+ } & CommonProps<T>;
2404
+ declare type UncontrolledProps<T> = {
2405
+ value?: never;
2406
+ onChange?: OnChange<T>;
2407
+ } & CommonProps<T>;
2408
+ declare type SimpleDropdownProps<T> = UncontrolledProps<T> | ControlledProps<T>;
2409
+ declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolder, label, wide, sort, onChange, value, testId, required, showRequiredPlaceholder, }: SimpleDropdownProps<T>): JSX.Element;
2410
+
2411
+ interface FiltersProps {
2412
+ values: Filter[];
2413
+ onChange: (newValues: Filter[], filtersState?: FilterChange) => void;
2414
+ tagsColor?: string;
2415
+ filterByText: string;
2416
+ clearAllText: string;
2417
+ filtersSelectText: string;
2418
+ isMobile: boolean;
2419
+ applyText: string;
2420
+ mobileBackArrowClick: () => void;
2421
+ mobileApplyButtonClick: () => void;
2422
+ onResetValues: () => void;
2423
+ }
2424
+ declare const Filters: ({ values, onChange, tagsColor, filterByText, clearAllText, isMobile, filtersSelectText, applyText, mobileApplyButtonClick, mobileBackArrowClick, onResetValues, }: FiltersProps) => JSX.Element;
2425
+
2426
+ interface TagsProps {
2427
+ color?: string;
2428
+ items: string[];
2429
+ onCloseClick: (index: number) => void;
2430
+ }
2431
+ declare const Tags: ({ color, items, onCloseClick }: TagsProps) => JSX.Element;
2432
+
2433
+ interface FitGuaranteeProps {
2235
2434
  backgroundColor?: string;
2236
2435
  borderColor?: string;
2237
- originalPrice: string;
2238
- price: string;
2239
- savingPrice: string;
2240
- getMorePayLessText: string;
2241
- youAreSavingText: string;
2242
- getQtyForText: string;
2243
- discount: number;
2244
- offText: string;
2436
+ title: string;
2437
+ description: string;
2245
2438
  widthAuto?: boolean;
2246
2439
  testId?: string;
2247
- }
2248
-
2249
- declare const Bundle: {
2250
- Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, testId, }: MinimalisticProps) => JSX.Element;
2251
- Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
2252
- };
2440
+ iconFolder?: string;
2441
+ iconName?: string;
2442
+ iconWidth?: number;
2443
+ iconHeight?: number;
2444
+ }
2445
+ declare const FitGuarantee: ({ backgroundColor, borderColor, title, description, widthAuto, testId, iconFolder, iconName, iconWidth, iconHeight, }: FitGuaranteeProps) => JSX.Element | null;
2253
2446
 
2254
- interface CategoryTagProps {
2255
- text: string;
2256
- size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
2257
- className?: string;
2258
- styledBorder?: boolean;
2447
+ interface FitPredictorProps {
2448
+ onClick: () => void;
2259
2449
  }
2260
- declare const CategoryTag: ({ text, size, className, styledBorder }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
2450
+ declare const FitPredictor: ({ onClick }: FitPredictorProps) => _emotion_react_jsx_runtime.JSX.Element;
2261
2451
 
2262
- interface CategorySquareTagProps {
2263
- text: string;
2264
- size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
2265
- className?: string;
2266
- styledBorder?: boolean;
2452
+ interface ProductGalleryProps {
2453
+ images: ImageType[];
2454
+ selectedValue?: ImageType;
2455
+ topTag?: JSX.Element;
2456
+ bottomTag?: JSX.Element;
2457
+ productImageDataTestId?: string;
2458
+ previewListDataTestId?: string;
2459
+ thumbnailPosition?: 'vertical' | 'horizontal';
2460
+ borderRadiusVariant?: boolean;
2461
+ previewImgBorderColor?: string;
2462
+ ctaText?: string;
2463
+ ctaAction?: () => void;
2464
+ hideCTA?: boolean;
2465
+ hasOverflowArrows?: boolean;
2267
2466
  }
2268
- declare const CategorySquareTag: ({ text, size, className, styledBorder, }: CategorySquareTagProps) => _emotion_react_jsx_runtime.JSX.Element;
2467
+ declare const ProductGallery: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, borderRadiusVariant, previewImgBorderColor, ctaText, ctaAction, hideCTA, hasOverflowArrows, }: ProductGalleryProps) => JSX.Element;
2269
2468
 
2270
- interface SeasonOfferTagProps {
2271
- text: string;
2272
- backgroundColor?: string;
2273
- size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
2274
- className?: string;
2275
- styledBorder?: boolean;
2276
- bottomRightBorderRounded?: string;
2277
- allBordersRounded?: {
2278
- value: string;
2279
- size?: ComponentSize;
2280
- };
2281
- color?: string;
2469
+ interface IconButtonProps {
2470
+ children: React__default.ReactNode;
2471
+ disabled?: boolean;
2472
+ onClick?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
2473
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2282
2474
  }
2283
- declare const SeasonOfferTag: ({ text, backgroundColor, size, className, styledBorder, bottomRightBorderRounded, allBordersRounded, color, }: SeasonOfferTagProps) => _emotion_react_jsx_runtime.JSX.Element;
2475
+ declare const IconButton: ({ children, disabled, size, onClick, }: IconButtonProps) => JSX.Element;
2284
2476
 
2285
- interface SeasonOfferRoundedTagProps {
2286
- text: string;
2287
- backgroundColor?: string;
2288
- size: ComponentSize;
2289
- className?: string;
2477
+ interface AmazonPaypalBtnProps {
2478
+ onClick: () => void;
2290
2479
  }
2291
- declare const SeasonOfferRoundedTag: ({ text, backgroundColor, size, className, }: SeasonOfferRoundedTagProps) => _emotion_react_jsx_runtime.JSX.Element;
2480
+ declare const AmazonButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
2481
+ declare const PaypalButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
2292
2482
 
2293
- interface TimeProps {
2294
- hours: number;
2295
- minutes: number;
2296
- seconds: number;
2483
+ interface IconsWithTitleProps {
2484
+ backgroundColor: string;
2485
+ iconColor: string;
2486
+ iconName: string;
2487
+ iconFolder?: string;
2488
+ withWrapper?: boolean;
2489
+ iconTitle: string;
2490
+ iconSizeDesktop?: number;
2491
+ iconSizeMobile?: number;
2492
+ iconTitlePosition?: 'top' | 'bottom' | 'left' | 'right';
2493
+ iconTitleStyle?: string;
2494
+ iconStyle?: string;
2495
+ isTitleInnerHtml?: boolean;
2297
2496
  }
2298
- interface TimerProps extends TimeProps {
2299
- onTimeUp: () => void;
2300
- displayZeroValues?: boolean;
2497
+ declare const IconsWithTitle: ({ iconName, iconTitle, iconFolder, withWrapper, backgroundColor, iconColor, iconSizeDesktop, iconSizeMobile, iconTitlePosition, iconTitleStyle, iconStyle, isTitleInnerHtml, }: IconsWithTitleProps) => JSX.Element | null;
2498
+
2499
+ interface ImageCardWithDescriptionProps {
2500
+ image: string;
2501
+ title?: string;
2502
+ description?: string;
2503
+ titlePosition?: 'center' | 'left';
2301
2504
  }
2302
- declare const Timer: ({ onTimeUp, displayZeroValues, ...rest }: TimerProps) => JSX.Element;
2505
+ declare const ImageCardWithDescription: ({ image, title, description, titlePosition, }: ImageCardWithDescriptionProps) => JSX.Element;
2303
2506
 
2304
2507
  interface BaseInputCommonProps {
2305
2508
  id?: string;
@@ -2371,87 +2574,64 @@ declare const Input: {
2371
2574
  SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
2372
2575
  };
2373
2576
 
2374
- interface PaymentMethodsProps {
2375
- Icon: IconType;
2376
- width: string;
2377
- height: string;
2378
- onClick?: () => void;
2577
+ interface ProductGalleryMobileProps$1 {
2578
+ images: ImageType[];
2579
+ customClick?: boolean;
2580
+ topTag?: JSX.Element;
2581
+ bottomTag?: JSX.Element;
2582
+ productImageDataTestId?: string;
2583
+ borderRadiusVariant?: boolean;
2584
+ selectedValue?: ImageType;
2379
2585
  }
2380
- declare const PaymentMethod: ({ Icon, width, height, onClick }: PaymentMethodsProps) => JSX.Element;
2586
+ declare const ProductGalleryMobile: ({ images, customClick, topTag, bottomTag, productImageDataTestId, borderRadiusVariant, selectedValue, }: ProductGalleryMobileProps$1) => JSX.Element;
2381
2587
 
2382
- interface OfferBannerProps {
2383
- discountAppliedText: string;
2384
- backgroundColor: string;
2588
+ interface ProductGalleryMobileProps {
2589
+ images: ImageType[];
2590
+ selectedValue?: ImageType;
2591
+ topTag?: JSX.Element;
2592
+ bottomTag?: JSX.Element;
2593
+ productImageDataTestId?: string;
2594
+ slideDotsDataTestId?: string;
2595
+ borderRadiusVariant?: boolean;
2385
2596
  }
2386
- declare const OfferBanner: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
2387
-
2388
- declare type SubtotalOption = {
2389
- label: string;
2390
- value: string;
2391
- };
2392
- declare type Coupon = {
2393
- code: string;
2394
- amount: string;
2395
- };
2396
- interface SubtotalProps {
2397
- subtotal: SubtotalOption;
2398
- shipping: SubtotalOption;
2399
- taxes: SubtotalOption;
2400
- highlightColor?: string;
2401
- coupon?: {
2402
- couponText: string;
2403
- appliedText: string;
2404
- coupons: Coupon[];
2405
- };
2406
- }
2407
-
2408
- interface TotalProps {
2409
- total: string;
2410
- currency: string;
2411
- highlightColor?: string;
2412
- saving?: {
2413
- amount: string;
2414
- savingText: string;
2415
- };
2416
- }
2417
-
2418
- declare const Totals: {
2419
- Total: ({ total, currency, saving, highlightColor }: TotalProps) => JSX.Element;
2420
- Subtotal: ({ subtotal, shipping, taxes, coupon, highlightColor, }: SubtotalProps) => JSX.Element;
2421
- };
2597
+ declare const ProductGalleryMobileV2: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, slideDotsDataTestId, borderRadiusVariant, }: ProductGalleryMobileProps) => JSX.Element;
2422
2598
 
2423
- declare type detail = {
2424
- title: string;
2425
- details: string;
2599
+ declare type ModalProps = {
2600
+ id: string;
2601
+ dismissable?: boolean;
2602
+ maxFullScreen?: boolean;
2603
+ padding?: string;
2604
+ children: React__default.ReactNode;
2426
2605
  };
2427
- interface orderUpdate extends detail {
2428
- keepMeUpdated?: {
2429
- title: string;
2430
- onClick: () => void;
2431
- };
2432
- }
2433
- interface DeliveryDetailsProps {
2434
- deliveryDetailsText: string;
2435
- arrivingBy: detail;
2436
- shippingTo: detail;
2437
- instantOrderUpdate: orderUpdate;
2438
- note?: {
2439
- importantNoteText: string;
2440
- text: string;
2441
- accentColor?: string;
2442
- backgroundColor?: string;
2443
- color?: string;
2444
- };
2606
+ interface ContainerProps {
2607
+ maxFullScreen: boolean;
2608
+ opened?: boolean;
2609
+ padding?: string;
2445
2610
  }
2446
- declare const DeliveryDetails: ({ deliveryDetailsText, arrivingBy, shippingTo, instantOrderUpdate, note, }: DeliveryDetailsProps) => JSX.Element;
2611
+ declare const Overlay: _emotion_styled.StyledComponent<{
2612
+ theme?: _emotion_react.Theme | undefined;
2613
+ as?: React__default.ElementType<any> | undefined;
2614
+ } & Pick<ContainerProps, "opened">, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2615
+ declare const Modal: FC<ModalProps>;
2616
+ declare const modalEvent: (id: string, detail: Omit<Events['modal'], 'id'>) => void;
2617
+ declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
2618
+ declare const useModal: (id: string) => {
2619
+ opened: boolean;
2620
+ open: () => void;
2621
+ close: () => void;
2622
+ };
2447
2623
 
2448
- interface ScrollToTopProps {
2449
- scrollToTopText: string;
2450
- onClick: () => void;
2451
- fill?: string;
2452
- Icon?: React__default.FC<IconProps$1>;
2624
+ interface MotivatorProgressBarProps {
2625
+ fillColor?: string;
2626
+ currentAmount?: number;
2627
+ backgroundColor?: string;
2628
+ unfilledColor?: string;
2629
+ borderRadius?: string;
2630
+ rewardUnlockedMessage: string;
2631
+ endingValue?: number;
2632
+ currencyCode?: string;
2453
2633
  }
2454
- declare const ScrollToTop: ({ scrollToTopText, onClick, fill, Icon, }: ScrollToTopProps) => JSX.Element;
2634
+ declare const MotivatorProgressBar: ({ fillColor, backgroundColor, unfilledColor, currencyCode, endingValue, currentAmount, rewardUnlockedMessage, }: MotivatorProgressBarProps) => JSX.Element;
2455
2635
 
2456
2636
  interface OrderBarProps {
2457
2637
  message: string;
@@ -2459,19 +2639,47 @@ interface OrderBarProps {
2459
2639
  }
2460
2640
  declare const OrderBar: ({ message, color }: OrderBarProps) => JSX.Element;
2461
2641
 
2462
- interface TableProps$1 {
2463
- headers: string[];
2464
- data: string[][];
2465
- className?: string;
2642
+ interface PackOption {
2643
+ label: string;
2644
+ description: string;
2645
+ meta: {
2646
+ discountPercentage: number;
2647
+ originalPrice: number;
2648
+ price: number;
2649
+ quantity: number;
2650
+ icon: string;
2651
+ tag?: string;
2652
+ };
2653
+ }
2654
+ interface PackSelectorProps {
2655
+ packs: PackOption[];
2656
+ selectedValue: PackOption;
2657
+ onChange: (size: PackOption) => void;
2658
+ currencyCode?: string;
2466
2659
  }
2467
- declare const SizeTable: ({ headers, data, className }: TableProps$1) => JSX.Element;
2660
+ declare const PackSelector: FC<PackSelectorProps>;
2468
2661
 
2469
- interface TableProps {
2470
- headers: string[];
2471
- data: string[][];
2472
- newSizeTableCss?: boolean;
2662
+ interface PaginationProps {
2663
+ from: number;
2664
+ to: number;
2665
+ onChange: (page: number) => void;
2666
+ currentPage?: number;
2667
+ underlineActive?: boolean;
2668
+ boldActive?: boolean;
2669
+ disabled?: boolean;
2670
+ showReducedPages?: boolean;
2671
+ }
2672
+ declare const Pagination: ({ from, to, currentPage, onChange, underlineActive, boldActive, disabled, showReducedPages, }: PaginationProps) => JSX.Element;
2673
+
2674
+ declare const PaginatorBlog: ({ from, to, currentPage, onChange, }: Pick<PaginationProps, 'from' | 'to' | 'onChange' | 'currentPage'>) => JSX.Element;
2675
+
2676
+ interface PaymentMethodsProps {
2677
+ Icon: IconType;
2678
+ width: string;
2679
+ height: string;
2680
+ onClick?: () => void;
2473
2681
  }
2474
- declare const SizeChartTable: ({ headers, data, newSizeTableCss }: TableProps) => JSX.Element;
2682
+ declare const PaymentMethod: ({ Icon, width, height, onClick }: PaymentMethodsProps) => JSX.Element;
2475
2683
 
2476
2684
  interface Price extends Pick<PriceLabelProps, 'finalPrice' | 'originalPrice'> {
2477
2685
  color?: string;
@@ -2494,7 +2702,118 @@ interface ProductOrderItemProps {
2494
2702
  }
2495
2703
  declare const SimpleOrderItem: ({ title, className, subtitle, image, price, tag, quantity, finalPriceStyle, }: ProductOrderItemProps) => JSX.Element;
2496
2704
 
2705
+ interface ProgressBarProps {
2706
+ description?: string;
2707
+ fillColor: string;
2708
+ widthAuto?: boolean;
2709
+ percent?: number;
2710
+ height?: string;
2711
+ backgroundColor?: string;
2712
+ borderRadius?: string;
2713
+ }
2714
+ declare const ProgressBar: ({ description, fillColor, widthAuto, percent, height, backgroundColor, borderRadius, }: ProgressBarProps) => JSX.Element;
2715
+
2716
+ declare type QuantityPickerPropsOnChange = (value: number) => void;
2717
+ declare type QuantityPickerPropsControlled = {
2718
+ value: number;
2719
+ onChange: QuantityPickerPropsOnChange;
2720
+ };
2721
+ declare type QuantityPickerPropsUncontrolled = {
2722
+ value?: never;
2723
+ onChange?: QuantityPickerPropsOnChange;
2724
+ };
2725
+ declare type QuantityPickerProps = {
2726
+ initialValue?: number;
2727
+ maxValue?: number;
2728
+ testId?: string;
2729
+ } & (QuantityPickerPropsControlled | QuantityPickerPropsUncontrolled);
2730
+ declare const QuantityPicker: ({ initialValue, maxValue, value, testId, onChange, }: QuantityPickerProps) => JSX.Element;
2731
+
2732
+ interface RadioProps$1 {
2733
+ name: string;
2734
+ value: string;
2735
+ id: string;
2736
+ label: string | ReactFragment;
2737
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2738
+ checked?: boolean;
2739
+ disabled?: boolean;
2740
+ onChange: (option: RadioGroupOption) => void;
2741
+ style?: React__default.CSSProperties;
2742
+ }
2743
+ declare const RadioPrimary: ({ style, name, value, id, label, checked, disabled, onChange, size, }: RadioProps$1) => JSX.Element;
2744
+
2745
+ interface RadioGroupInputProps {
2746
+ name: string;
2747
+ options?: RadioGroupOption[];
2748
+ value?: RadioGroupOption;
2749
+ onChange: (value: RadioGroupOption) => void;
2750
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2751
+ disabled?: boolean;
2752
+ style?: React__default.CSSProperties;
2753
+ }
2754
+ declare const RadioGroupInput: ({ style, name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
2755
+
2756
+ interface ClubRadioGroupInputProps {
2757
+ name: string;
2758
+ options?: RadioGroupOption[];
2759
+ value?: RadioGroupOption;
2760
+ onChange: (value: RadioGroupOption) => void;
2761
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2762
+ disabled?: boolean;
2763
+ style?: React__default.CSSProperties;
2764
+ }
2765
+ declare const ClubRadioGroupInput: ({ style, name, options, value, onChange, size, disabled, }: ClubRadioGroupInputProps) => JSX.Element;
2766
+
2767
+ interface RadioProps {
2768
+ name: string;
2769
+ value: string;
2770
+ id: string;
2771
+ label: string | ReactFragment;
2772
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2773
+ checked?: boolean;
2774
+ disabled?: boolean;
2775
+ onChange: (option: RadioGroupOption) => void;
2776
+ style?: React__default.CSSProperties;
2777
+ }
2778
+ declare const RadioInput: ({ style, name, value, id, label, checked, disabled, onChange, size, }: RadioProps) => JSX.Element;
2779
+
2780
+ interface StarListProps {
2781
+ rating: number;
2782
+ size?: ComponentSize;
2783
+ starsNumber: number;
2784
+ fill: string;
2785
+ }
2786
+ declare const StarList: ({ rating, starsNumber, fill, size, }: StarListProps) => JSX.Element;
2787
+
2497
2788
  interface ReviewProps$1 {
2789
+ reviewId: string;
2790
+ reviewerName: string;
2791
+ date: Date;
2792
+ rating: number;
2793
+ stars: {
2794
+ color: string;
2795
+ size: ComponentSize.Medium | ComponentSize.Small;
2796
+ };
2797
+ title: string;
2798
+ description: string;
2799
+ image?: {
2800
+ src: string;
2801
+ alt: string;
2802
+ };
2803
+ modalId: string;
2804
+ maxFullScreen?: boolean;
2805
+ verified?: boolean;
2806
+ productImage?: string;
2807
+ productTitle?: string;
2808
+ productLink?: string;
2809
+ helpfulCount?: number;
2810
+ helpfulAction?: (id: string) => void;
2811
+ notHelpfulCount?: number;
2812
+ notHelpfulAction?: (id: string) => void;
2813
+ }
2814
+ declare const Review$1: ({ reviewId, reviewerName, date, rating, stars, title, description, image, modalId, maxFullScreen, verified, productImage, productTitle, productLink, helpfulCount, helpfulAction, notHelpfulCount, notHelpfulAction, }: ReviewProps$1) => JSX.Element;
2815
+
2816
+ interface ReviewProps {
2498
2817
  reviewId: string;
2499
2818
  reviewerName: string;
2500
2819
  date: Date;
@@ -2515,193 +2834,151 @@ interface ReviewProps$1 {
2515
2834
  helpfulAction?: (id: string) => void;
2516
2835
  helpfulCount?: number;
2517
2836
  }
2518
- declare const Review$1: ({ reviewId, reviewerName, date, rating, stars, title, description, images, reviewVariant, onClickImage, helpfulActionText, helpfulAction, helpfulCount, }: ReviewProps$1) => JSX.Element;
2519
-
2520
- interface SliderNavigationProps {
2521
- children: JSX.Element | JSX.Element[] | StyledComponent<any>;
2522
- infinite: boolean;
2523
- adaptiveHeight: boolean;
2524
- dotsSize?: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
2525
- dotListMarginTop?: number;
2526
- initialSlide?: number;
2527
- arrows?: {
2528
- arrowWidth: number;
2529
- arrowHeight: number;
2530
- arrowPadding: number;
2531
- };
2532
- dots?: boolean;
2533
- slidesToShow?: number;
2534
- speed?: number;
2535
- }
2536
- declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, dots, slidesToShow, speed, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
2537
-
2538
- interface DropdownListIconsProps {
2539
- items: DropdownListIconsItem[];
2540
- }
2541
- declare const DropdownListIcons: ({ items }: DropdownListIconsProps) => JSX.Element;
2837
+ declare const Review: ({ reviewId, reviewerName, date, rating, stars, title, description, images, reviewVariant, onClickImage, helpfulActionText, helpfulAction, helpfulCount, }: ReviewProps) => JSX.Element;
2542
2838
 
2543
- interface ImageStyleProps {
2544
- height?: string;
2545
- width?: string;
2546
- borderRadius?: string;
2547
- objectFit?: string;
2548
- objectPosition?: string;
2549
- className?: string;
2550
- }
2551
- interface ImageProps extends ImageStyleProps {
2552
- src: string;
2553
- alt: string;
2554
- srcSet?: string;
2555
- sizes?: string;
2556
- loading?: 'lazy' | 'eager';
2839
+ interface ReviewsHeaderProps {
2840
+ title?: string;
2841
+ rating: number;
2842
+ reviews: number;
2843
+ reviewsText: string;
2844
+ reviewsSummary: string[];
2845
+ onClickReview: (reveiw: string) => void;
2557
2846
  }
2558
- declare const Image: ({ src, srcSet, sizes, loading, alt, height, width, borderRadius, objectFit, objectPosition, className, }: ImageProps) => JSX.Element;
2847
+ declare const ReviewsHeader: ({ title, rating, reviews, reviewsText, reviewsSummary, onClickReview, }: ReviewsHeaderProps) => JSX.Element;
2559
2848
 
2560
- interface AmazonPaypalBtnProps {
2849
+ interface ScrollToTopProps {
2850
+ scrollToTopText: string;
2561
2851
  onClick: () => void;
2852
+ fill?: string;
2853
+ Icon?: React__default.FC<IconProps$1>;
2562
2854
  }
2563
- declare const AmazonButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
2564
- declare const PaypalButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
2565
-
2566
- interface CrossSellCheckboxProps extends rightToLeftProps {
2567
- imageURL: string;
2568
- title: string;
2569
- description: string;
2570
- freeShippingText: string;
2571
- onChange: (checked: Boolean) => void;
2572
- }
2573
- interface rightToLeftProps {
2574
- rightToLeft: boolean;
2575
- }
2576
- declare const CrossSellCheckbox: ({ imageURL, title, description, freeShippingText, rightToLeft, onChange, }: CrossSellCheckboxProps) => JSX.Element;
2577
-
2578
- type index_d_CrossSellCheckboxProps = CrossSellCheckboxProps;
2579
- declare const index_d_CrossSellCheckbox: typeof CrossSellCheckbox;
2580
- declare namespace index_d {
2581
- export {
2582
- index_d_CrossSellCheckboxProps as CrossSellCheckboxProps,
2583
- index_d_CrossSellCheckbox as CrossSellCheckbox,
2584
- };
2585
- }
2586
-
2587
- interface ProductItemProps {
2588
- title: string;
2589
- image: ImageProps;
2590
- price: Pick<PriceLabelProps, 'finalPrice' | 'originalPrice' | 'color'>;
2591
- rating: Pick<RatingProps, 'rating' | 'reviews'>;
2592
- tags?: {
2593
- categoryTagText?: string;
2594
- seasonOfferTagText?: string;
2595
- };
2596
- alignName?: 'left' | 'center';
2597
- url?: string;
2598
- className?: string;
2599
- }
2855
+ declare const ScrollToTop: ({ scrollToTopText, onClick, fill, Icon, }: ScrollToTopProps) => JSX.Element;
2600
2856
 
2601
- interface ProductItemSmallMobileProps$1 extends ProductItemProps {
2602
- titleStyle?: Pick<TextProps$1, 'variant' | 'weight' | 'size'>;
2603
- ImageBorderRadius?: string;
2604
- hasSpacing?: boolean;
2605
- textContainerGap?: string;
2606
- customSizeRating?: ComponentSize.XSmall | ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large | '';
2607
- size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
2608
- imageHover?: ImageProps;
2609
- topTag?: JSX.Element;
2610
- bottomTag?: JSX.Element;
2611
- onClick?: () => void;
2612
- originalPriceStyled?: boolean;
2613
- priceDisplayType?: 'default' | 'styled';
2614
- priceAtBottom?: boolean;
2615
- priceLoading?: boolean;
2616
- noFollow?: boolean;
2617
- colorPicker?: {
2618
- display: boolean;
2619
- position: string;
2620
- component: JSX.Element | JSX.Element[] | undefined;
2621
- };
2622
- isBNPL?: {
2623
- displayBNPL: boolean;
2624
- installments: number;
2625
- installmentPrice: string;
2626
- iconFolder?: string;
2627
- iconName: string;
2628
- showLogo?: boolean;
2629
- iconColor: string;
2630
- fontSize: string;
2631
- };
2632
- hasStrength?: {
2633
- strength: number;
2634
- description: string;
2635
- };
2636
- clubPrice?: string;
2637
- showClubPriceLabel?: boolean;
2857
+ interface SearchBarProps {
2858
+ suggestions: SearchBarOptionItem[];
2859
+ resultOptions: SearchBarOptionItem[];
2860
+ onChange: (text: string) => void;
2861
+ onSearch: (term: string) => void;
2862
+ onClose: () => void;
2863
+ resultsPanelDataTestId?: string;
2864
+ allResults?: number;
2865
+ initialTerm?: string;
2866
+ shouldClear?: boolean;
2867
+ isBlogSearchBar?: boolean;
2868
+ ariaLabel?: string;
2869
+ placeholder?: string;
2870
+ id?: string;
2871
+ autoComplete?: string;
2872
+ }
2873
+ declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, onClose, resultsPanelDataTestId, allResults, initialTerm, shouldClear, isBlogSearchBar, ariaLabel, placeholder, id, autoComplete, }: SearchBarProps) => JSX.Element;
2874
+
2875
+ interface SearchNavigationProps {
2876
+ returnText?: string;
2877
+ returnUrl?: string;
2878
+ steps?: string[];
2879
+ returnAction?: () => void;
2880
+ }
2881
+ declare const SearchNavigation: ({ returnText, returnUrl, steps, returnAction, }: SearchNavigationProps) => JSX.Element;
2882
+
2883
+ interface CardBodyProps {
2884
+ children: ReactNode;
2638
2885
  }
2639
2886
 
2640
- interface ProductItemSmallMobileProps extends ProductItemProps {
2641
- size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
2642
- imageHover?: ImageProps;
2643
- topTag?: JSX.Element;
2644
- bottomTag?: JSX.Element;
2645
- onClick?: () => void;
2646
- priceDisplayType?: 'default' | 'styled';
2647
- priceAtBottom?: boolean;
2648
- priceLoading?: boolean;
2649
- noFollow?: boolean;
2650
- colorPicker?: {
2651
- display: boolean;
2652
- position: string;
2653
- component: JSX.Element | JSX.Element[] | undefined;
2654
- };
2655
- isBNPL?: {
2656
- displayBNPL: boolean;
2657
- installments: number;
2658
- installmentPrice: string;
2659
- iconFolder?: string;
2660
- iconName: string;
2661
- showLogo?: boolean;
2662
- iconColor: string;
2663
- fontSize: string;
2664
- };
2665
- hasStrength?: {
2666
- strength: number;
2667
- description: string;
2668
- };
2669
- clubPrice?: string;
2670
- showClubPriceLabel?: boolean;
2671
- isRatingLoading?: boolean;
2887
+ interface CardSectionProps {
2888
+ children: ReactNode;
2672
2889
  }
2673
2890
 
2674
- declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: React__default.FC<P>, data: ProductItemProps[]): {
2675
- (props: Omit<P, 'title' | 'image' | 'price' | 'rating'>): JSX.Element;
2676
- displayName: string;
2891
+ interface borderProps {
2892
+ borderColor: string;
2893
+ borderWidth: string;
2894
+ }
2895
+ interface CardProps {
2896
+ children: ReactNode;
2897
+ backgroundColor?: string;
2898
+ widthAuto?: boolean;
2899
+ border?: borderProps;
2900
+ flex?: boolean;
2901
+ }
2902
+ declare const _default: (({ children, backgroundColor, widthAuto, border, flex }: CardProps) => JSX.Element) & {
2903
+ Header: ({ children }: CardSectionProps) => JSX.Element;
2904
+ Footer: ({ children }: CardSectionProps) => JSX.Element;
2905
+ Body: ({ children }: CardBodyProps) => JSX.Element;
2677
2906
  };
2678
2907
 
2679
- declare const Collection: {
2680
- ProductItemMobile: React.FC<ProductItemSmallMobileProps>;
2681
- withProductGrid: typeof withProductGrid;
2682
- ProductItemTK: ({ title, titleStyle, hasSpacing, textContainerGap, customSizeRating, image, ImageBorderRadius, imageHover, price, rating, size, alignName, url, className, topTag, bottomTag, onClick, priceDisplayType, originalPriceStyled, priceAtBottom, priceLoading, noFollow, colorPicker, isBNPL, hasStrength, clubPrice, showClubPriceLabel, }: ProductItemSmallMobileProps$1) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
2683
- };
2908
+ declare type PortalProps = {
2909
+ id: string;
2910
+ className?: string;
2911
+ overflow?: boolean;
2912
+ style?: CSSProperties;
2913
+ };
2914
+ declare const Portal: FC<PortalProps>;
2684
2915
 
2685
- interface StarListProps {
2686
- rating: number;
2687
- size?: ComponentSize;
2688
- starsNumber: number;
2689
- fill: string;
2916
+ declare type SpacingProps = {
2917
+ size: number;
2918
+ type?: 'block' | 'inline';
2919
+ style?: CSSProperties;
2920
+ };
2921
+ declare const Spacing: FC<SpacingProps>;
2922
+
2923
+ interface ShortBannerProps {
2924
+ title: string;
2925
+ bannerText: string;
2926
+ backgroundColor: string;
2927
+ alignCenter?: boolean;
2928
+ widthAuto?: boolean;
2929
+ textColor: string;
2690
2930
  }
2691
- declare const StarList: ({ rating, starsNumber, fill, size, }: StarListProps) => JSX.Element;
2931
+ declare const ShortBanner: ({ textColor, title, bannerText, backgroundColor, alignCenter, widthAuto, }: ShortBannerProps) => JSX.Element;
2692
2932
 
2693
- interface DrawerProps {
2694
- children: React__default.ReactNode;
2695
- isOpen: boolean;
2696
- onClose?: () => void;
2697
- onOpen?: () => void;
2698
- onClickOutside?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
2699
- backgroundColor?: string;
2700
- backdropColor?: string;
2701
- position?: 'left' | 'right';
2933
+ interface TableProps$1 {
2934
+ headers: string[];
2935
+ data: string[][];
2936
+ newSizeTableCss?: boolean;
2937
+ }
2938
+ declare const SizeChartTable: ({ headers, data, newSizeTableCss }: TableProps$1) => JSX.Element;
2939
+
2940
+ interface TableProps {
2941
+ headers: string[];
2942
+ data: string[][];
2943
+ className?: string;
2944
+ }
2945
+ declare const SizeTable: ({ headers, data, className }: TableProps) => JSX.Element;
2946
+
2947
+ interface SizeFitGuideProps {
2948
+ title: string;
2949
+ fitPercentage?: number;
2950
+ onClick: () => void;
2951
+ onClickFitPercentage?: () => void;
2952
+ }
2953
+ declare const SizeFitGuide: ({ title, fitPercentage, onClick, onClickFitPercentage, }: SizeFitGuideProps) => JSX.Element;
2954
+
2955
+ interface SizeSelectorProps {
2956
+ label: string;
2957
+ sizes: SizeOption[];
2958
+ selectedValue: SizeOption;
2959
+ onChange: (size: SizeOption) => void;
2960
+ inline?: boolean;
2702
2961
  width?: string;
2703
2962
  }
2704
- declare const Drawer: ({ children, isOpen, onClose, onOpen, backgroundColor, backdropColor, position, width, onClickOutside, }: DrawerProps) => JSX.Element | null;
2963
+ declare const SizeSelector: ({ label, sizes, selectedValue, onChange, inline, width, }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
2964
+
2965
+ interface SliderNavigationProps {
2966
+ children: JSX.Element | JSX.Element[] | StyledComponent<any>;
2967
+ infinite: boolean;
2968
+ adaptiveHeight: boolean;
2969
+ dotsSize?: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
2970
+ dotListMarginTop?: number;
2971
+ initialSlide?: number;
2972
+ arrows?: {
2973
+ arrowWidth: number;
2974
+ arrowHeight: number;
2975
+ arrowPadding: number;
2976
+ };
2977
+ dots?: boolean;
2978
+ slidesToShow?: number;
2979
+ speed?: number;
2980
+ }
2981
+ declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, dots, slidesToShow, speed, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
2705
2982
 
2706
2983
  interface SpinnerProps {
2707
2984
  fill: string;
@@ -2713,37 +2990,99 @@ interface SpinnerProps {
2713
2990
  }
2714
2991
  declare const Spinner: ({ fill, background, animationDuration, complete, completeIconStroke, size, }: SpinnerProps) => JSX.Element;
2715
2992
 
2716
- interface TagsProps {
2993
+ interface StrengthBarProps {
2994
+ barsFilled?: number;
2995
+ supportText?: string;
2996
+ }
2997
+ declare const StrengthBars: ({ barsFilled, supportText }: StrengthBarProps) => JSX.Element;
2998
+
2999
+ interface TabProps$1 {
3000
+ title: string;
3001
+ titleSize?: string;
3002
+ selectedTitleWeight?: number;
3003
+ height?: string;
3004
+ selected?: boolean;
2717
3005
  color?: string;
2718
- items: string[];
2719
- onCloseClick: (index: number) => void;
3006
+ tabsMaxWidth?: string;
3007
+ onClick: (clickedTab: string) => void;
2720
3008
  }
2721
- declare const Tags: ({ color, items, onCloseClick }: TagsProps) => JSX.Element;
3009
+ declare const Tab: ({ title, titleSize, height, selectedTitleWeight, selected, onClick, color, tabsMaxWidth, }: TabProps$1) => JSX.Element;
2722
3010
 
2723
- declare type FilteringDropdownProps<T> = {
2724
- options: DropdownOption<T>[];
2725
- disabled?: boolean;
2726
- wide?: boolean;
2727
- onChange: (options: DropdownOption<T>[]) => void;
2728
- filter?: boolean;
2729
- sliceAfter?: number;
2730
- placeHolder: string;
2731
- };
2732
- declare function FilteringDropdown<T>({ options, disabled, placeHolder, wide, sliceAfter, filter, onChange, }: FilteringDropdownProps<T>): JSX.Element;
3011
+ interface TabProps {
3012
+ title: string;
3013
+ content: ReactNode;
3014
+ }
3015
+ interface TabsProps {
3016
+ backgroundColor?: string;
3017
+ initialSelected?: string;
3018
+ tabsMaxWidth?: string;
3019
+ tabs: TabProps[];
3020
+ }
3021
+ declare const Tabs: ({ backgroundColor, tabs, initialSelected, tabsMaxWidth, }: TabsProps) => JSX.Element | null;
2733
3022
 
2734
- interface PaginationProps {
2735
- from: number;
2736
- to: number;
2737
- onChange: (page: number) => void;
2738
- currentPage?: number;
2739
- underlineActive?: boolean;
2740
- boldActive?: boolean;
3023
+ interface CategoryTagProps {
3024
+ text: string;
3025
+ size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
3026
+ className?: string;
3027
+ styledBorder?: boolean;
3028
+ }
3029
+ declare const CategoryTag: ({ text, size, className, styledBorder }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
3030
+
3031
+ interface CategorySquareTagProps {
3032
+ text: string;
3033
+ size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
3034
+ className?: string;
3035
+ styledBorder?: boolean;
3036
+ }
3037
+ declare const CategorySquareTag: ({ text, size, className, styledBorder, }: CategorySquareTagProps) => _emotion_react_jsx_runtime.JSX.Element;
3038
+
3039
+ interface SeasonOfferTagProps {
3040
+ text: string;
3041
+ backgroundColor?: string;
3042
+ size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
3043
+ className?: string;
3044
+ styledBorder?: boolean;
3045
+ bottomRightBorderRounded?: string;
3046
+ allBordersRounded?: {
3047
+ value: string;
3048
+ size?: ComponentSize;
3049
+ };
3050
+ color?: string;
3051
+ }
3052
+ declare const SeasonOfferTag: ({ text, backgroundColor, size, className, styledBorder, bottomRightBorderRounded, allBordersRounded, color, }: SeasonOfferTagProps) => _emotion_react_jsx_runtime.JSX.Element;
3053
+
3054
+ interface SeasonOfferRoundedTagProps {
3055
+ text: string;
3056
+ backgroundColor?: string;
3057
+ size: ComponentSize;
3058
+ className?: string;
3059
+ }
3060
+ declare const SeasonOfferRoundedTag: ({ text, backgroundColor, size, className, }: SeasonOfferRoundedTagProps) => _emotion_react_jsx_runtime.JSX.Element;
3061
+
3062
+ interface BaseButtonProps {
3063
+ children: React__default.ReactNode;
3064
+ renderLeading?: React__default.ReactNode;
3065
+ renderTrailing?: React__default.ReactNode;
2741
3066
  disabled?: boolean;
2742
- showReducedPages?: boolean;
3067
+ type?: ButtonType;
3068
+ onClick: () => void;
3069
+ className?: string;
3070
+ inline?: boolean;
3071
+ uppercase?: boolean;
3072
+ testId?: string;
3073
+ id?: string;
3074
+ }
3075
+
3076
+ declare type BaseProps = Pick<BaseButtonProps, 'disabled' | 'type' | 'onClick'>;
3077
+ interface TextButtonProps$1 extends BaseProps {
3078
+ text: string;
3079
+ LeadingIcon?: IconType;
3080
+ TrailingIcon?: IconType;
3081
+ iconColor?: string;
3082
+ size?: ComponentSize;
3083
+ uppercase?: boolean;
2743
3084
  }
2744
- declare const Pagination: ({ from, to, currentPage, onChange, underlineActive, boldActive, disabled, showReducedPages, }: PaginationProps) => JSX.Element;
2745
-
2746
- declare const PaginatorBlog: ({ from, to, currentPage, onChange, }: Pick<PaginationProps, 'from' | 'to' | 'onChange' | 'currentPage'>) => JSX.Element;
3085
+ declare const TextButton: ({ text, LeadingIcon, TrailingIcon, iconColor, disabled, type, size, uppercase, onClick, }: TextButtonProps$1) => _emotion_react_jsx_runtime.JSX.Element;
2747
3086
 
2748
3087
  declare const Text: ({ variant, children, testId, asSpan, ...allProps }: TextProps) => _emotion_react_jsx_runtime.JSX.Element;
2749
3088
  declare type TextHeroProps = {
@@ -2829,266 +3168,31 @@ declare type TextLabelProps = {
2829
3168
  weight?: 'regular' | 'demi';
2830
3169
  size?: 'large' | 'regular' | 'small';
2831
3170
  underline?: never;
2832
- disabled?: boolean;
2833
- wide?: never;
2834
- original?: never;
2835
- allCaps?: never;
2836
- href?: never;
2837
- } & LabelHTMLAttributes<'label'>;
2838
- declare type TextTagProps = {
2839
- variant: 'tag';
2840
- size?: 'regular' | 'small' | 'x-small';
2841
- weight?: 'regular' | 'demi' | 'bold';
2842
- underline?: never;
2843
- disabled?: boolean;
2844
- wide?: never;
2845
- original?: never;
2846
- allCaps?: boolean;
2847
- href?: never;
2848
- };
2849
- declare type TextProps<T = Element> = AriaAttributes & HTMLAttributes<T> & {
2850
- children: ReactNode;
2851
- style?: CSSProperties;
2852
- className?: string;
2853
- testId?: string;
2854
- asSpan?: boolean;
2855
- color?: string;
2856
- } & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
2857
-
2858
- interface SearchBarProps {
2859
- suggestions: SearchBarOptionItem[];
2860
- resultOptions: SearchBarOptionItem[];
2861
- onChange: (text: string) => void;
2862
- onSearch: (term: string) => void;
2863
- onClose: () => void;
2864
- resultsPanelDataTestId?: string;
2865
- allResults?: number;
2866
- initialTerm?: string;
2867
- shouldClear?: boolean;
2868
- isBlogSearchBar?: boolean;
2869
- ariaLabel?: string;
2870
- placeholder?: string;
2871
- id?: string;
2872
- autoComplete?: string;
2873
- }
2874
- declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, onClose, resultsPanelDataTestId, allResults, initialTerm, shouldClear, isBlogSearchBar, ariaLabel, placeholder, id, autoComplete, }: SearchBarProps) => JSX.Element;
2875
-
2876
- interface ProductGalleryMobileProps$1 {
2877
- images: ImageType[];
2878
- customClick?: boolean;
2879
- topTag?: JSX.Element;
2880
- bottomTag?: JSX.Element;
2881
- productImageDataTestId?: string;
2882
- borderRadiusVariant?: boolean;
2883
- selectedValue?: ImageType;
2884
- }
2885
- declare const ProductGalleryMobile: ({ images, customClick, topTag, bottomTag, productImageDataTestId, borderRadiusVariant, selectedValue, }: ProductGalleryMobileProps$1) => JSX.Element;
2886
-
2887
- interface RadioProps {
2888
- name: string;
2889
- value: string;
2890
- id: string;
2891
- label: string | ReactFragment;
2892
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2893
- checked?: boolean;
2894
- disabled?: boolean;
2895
- onChange: (option: RadioGroupOption) => void;
2896
- style?: React__default.CSSProperties;
2897
- }
2898
- declare const RadioInput: ({ style, name, value, id, label, checked, disabled, onChange, size, }: RadioProps) => JSX.Element;
2899
-
2900
- declare type PortalProps = {
2901
- id: string;
2902
- className?: string;
2903
- overflow?: boolean;
2904
- style?: CSSProperties;
2905
- };
2906
- declare const Portal: FC<PortalProps>;
2907
-
2908
- declare type ModalProps = {
2909
- id: string;
2910
- dismissable?: boolean;
2911
- maxFullScreen?: boolean;
2912
- padding?: string;
2913
- children: React__default.ReactNode;
2914
- };
2915
- interface ContainerProps {
2916
- maxFullScreen: boolean;
2917
- opened?: boolean;
2918
- padding?: string;
2919
- }
2920
- declare const Overlay: _emotion_styled.StyledComponent<{
2921
- theme?: _emotion_react.Theme | undefined;
2922
- as?: React__default.ElementType<any> | undefined;
2923
- } & Pick<ContainerProps, "opened">, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2924
- declare const Modal: FC<ModalProps>;
2925
- declare const modalEvent: (id: string, detail: Omit<Events['modal'], 'id'>) => void;
2926
- declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
2927
- declare const useModal: (id: string) => {
2928
- opened: boolean;
2929
- open: () => void;
2930
- close: () => void;
2931
- };
2932
-
2933
- interface CloseButtonProps {
2934
- onClick: () => void;
2935
- size: number;
2936
- }
2937
-
2938
- interface DescriptionProps {
2939
- text: string;
2940
- }
2941
-
2942
- interface PromoProps {
2943
- text: string;
2944
- }
2945
-
2946
- interface TitleProps {
2947
- title: string;
2948
- }
2949
-
2950
- declare const CartProductItem: {
2951
- Title: ({ title }: TitleProps) => JSX.Element;
2952
- Tag: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
2953
- Promo: ({ text }: PromoProps) => JSX.Element;
2954
- Description: ({ text }: DescriptionProps) => JSX.Element;
2955
- CloseButton: ({ onClick, size }: CloseButtonProps) => JSX.Element;
2956
- };
2957
-
2958
- declare type QuantityPickerPropsOnChange = (value: number) => void;
2959
- declare type QuantityPickerPropsControlled = {
2960
- value: number;
2961
- onChange: QuantityPickerPropsOnChange;
2962
- };
2963
- declare type QuantityPickerPropsUncontrolled = {
2964
- value?: never;
2965
- onChange?: QuantityPickerPropsOnChange;
2966
- };
2967
- declare type QuantityPickerProps = {
2968
- initialValue?: number;
2969
- maxValue?: number;
2970
- testId?: string;
2971
- } & (QuantityPickerPropsControlled | QuantityPickerPropsUncontrolled);
2972
- declare const QuantityPicker: ({ initialValue, maxValue, value, testId, onChange, }: QuantityPickerProps) => JSX.Element;
2973
-
2974
- declare type SpacingProps = {
2975
- size: number;
2976
- type?: 'block' | 'inline';
2977
- style?: CSSProperties;
2978
- };
2979
- declare const Spacing: FC<SpacingProps>;
2980
-
2981
- interface PackOption$1 {
2982
- label: string;
2983
- description: string;
2984
- meta: {
2985
- discountPercentage: number;
2986
- originalPrice: number;
2987
- price: number;
2988
- quantity: number;
2989
- icon: string;
2990
- tag?: string;
2991
- };
2992
- }
2993
- interface PackSelectorProps$1 {
2994
- packs: PackOption$1[];
2995
- selectedValue: PackOption$1;
2996
- onChange: (size: PackOption$1) => void;
2997
- currencyCode?: string;
2998
- }
2999
- declare const PackSelector: FC<PackSelectorProps$1>;
3000
-
3001
- interface PackOption {
3002
- label: string;
3003
- description: string;
3004
- meta: {
3005
- discountPercentage: number;
3006
- originalPrice: number;
3007
- price: number;
3008
- quantity: number;
3009
- icon: string;
3010
- tag?: string;
3011
- };
3012
- }
3013
- interface PackSelectorProps {
3014
- packs: PackOption[];
3015
- selectedValue: PackOption;
3016
- onChange: (size: PackOption) => void;
3017
- currencyCode?: string;
3018
- }
3019
- declare const PackSelectorV2: FC<PackSelectorProps>;
3020
-
3021
- interface FiltersProps {
3022
- values: Filter[];
3023
- onChange: (newValues: Filter[], filtersState?: FilterChange) => void;
3024
- tagsColor?: string;
3025
- filterByText: string;
3026
- clearAllText: string;
3027
- filtersSelectText: string;
3028
- isMobile: boolean;
3029
- applyText: string;
3030
- mobileBackArrowClick: () => void;
3031
- mobileApplyButtonClick: () => void;
3032
- onResetValues: () => void;
3033
- }
3034
- declare const Filters: ({ values, onChange, tagsColor, filterByText, clearAllText, isMobile, filtersSelectText, applyText, mobileApplyButtonClick, mobileBackArrowClick, onResetValues, }: FiltersProps) => JSX.Element;
3035
-
3036
- interface SearchNavigationProps {
3037
- returnText?: string;
3038
- returnUrl?: string;
3039
- steps?: string[];
3040
- returnAction?: () => void;
3041
- }
3042
- declare const SearchNavigation: ({ returnText, returnUrl, steps, returnAction, }: SearchNavigationProps) => JSX.Element;
3043
-
3044
- interface TabProps$1 {
3045
- title: string;
3046
- content: ReactNode;
3047
- }
3048
- interface TabsProps {
3049
- backgroundColor?: string;
3050
- initialSelected?: string;
3051
- tabsMaxWidth?: string;
3052
- tabs: TabProps$1[];
3053
- }
3054
- declare const Tabs: ({ backgroundColor, tabs, initialSelected, tabsMaxWidth, }: TabsProps) => JSX.Element | null;
3055
-
3056
- interface TabProps {
3057
- title: string;
3058
- titleSize?: string;
3059
- selectedTitleWeight?: number;
3060
- height?: string;
3061
- selected?: boolean;
3062
- color?: string;
3063
- tabsMaxWidth?: string;
3064
- onClick: (clickedTab: string) => void;
3065
- }
3066
- declare const Tab: ({ title, titleSize, height, selectedTitleWeight, selected, onClick, color, tabsMaxWidth, }: TabProps) => JSX.Element;
3067
-
3068
- interface IconsWithTitleProps {
3069
- backgroundColor: string;
3070
- iconColor: string;
3071
- iconName: string;
3072
- iconFolder?: string;
3073
- withWrapper?: boolean;
3074
- iconTitle: string;
3075
- iconSizeDesktop?: number;
3076
- iconSizeMobile?: number;
3077
- iconTitlePosition?: 'top' | 'bottom' | 'left' | 'right';
3078
- iconTitleStyle?: string;
3079
- iconStyle?: string;
3080
- isTitleInnerHtml?: boolean;
3081
- }
3082
- declare const IconsWithTitle: ({ iconName, iconTitle, iconFolder, withWrapper, backgroundColor, iconColor, iconSizeDesktop, iconSizeMobile, iconTitlePosition, iconTitleStyle, iconStyle, isTitleInnerHtml, }: IconsWithTitleProps) => JSX.Element | null;
3083
-
3084
- interface NoteProps {
3085
- accentColor?: string;
3171
+ disabled?: boolean;
3172
+ wide?: never;
3173
+ original?: never;
3174
+ allCaps?: never;
3175
+ href?: never;
3176
+ } & LabelHTMLAttributes<'label'>;
3177
+ declare type TextTagProps = {
3178
+ variant: 'tag';
3179
+ size?: 'regular' | 'small' | 'x-small';
3180
+ weight?: 'regular' | 'demi' | 'bold';
3181
+ underline?: never;
3182
+ disabled?: boolean;
3183
+ wide?: never;
3184
+ original?: never;
3185
+ allCaps?: boolean;
3186
+ href?: never;
3187
+ };
3188
+ declare type TextProps<T = Element> = AriaAttributes & HTMLAttributes<T> & {
3189
+ children: ReactNode;
3190
+ style?: CSSProperties;
3191
+ className?: string;
3192
+ testId?: string;
3193
+ asSpan?: boolean;
3086
3194
  color?: string;
3087
- backgroundColor?: string;
3088
- importantNoteText: string;
3089
- text: string;
3090
- }
3091
- declare const Note: ({ accentColor, color, backgroundColor, importantNoteText, text, }: NoteProps) => JSX.Element;
3195
+ } & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
3092
3196
 
3093
3197
  interface TextWithImageProps {
3094
3198
  title: string;
@@ -3110,198 +3214,94 @@ interface TextWithImageProps {
3110
3214
  }
3111
3215
  declare const TextWithImage: ({ title, text, children, buttomText, backgroundColor, imageLeftSide, titleStyle, textStyle, buttonWideOnMobile, ...props }: TextWithImageProps) => _emotion_react_jsx_runtime.JSX.Element;
3112
3216
 
3113
- interface AccordionOptionsProps {
3114
- titleColor: string;
3115
- accordions: AccordionProps[];
3217
+ interface TimeProps {
3218
+ hours: number;
3219
+ minutes: number;
3220
+ seconds: number;
3116
3221
  }
3117
- declare const AccordionOptions: ({ titleColor, accordions }: AccordionOptionsProps) => JSX.Element;
3118
-
3119
- interface ShortBannerProps {
3120
- title: string;
3121
- bannerText: string;
3122
- backgroundColor: string;
3123
- alignCenter?: boolean;
3124
- widthAuto?: boolean;
3125
- textColor: string;
3222
+ interface TimerProps extends TimeProps {
3223
+ onTimeUp: () => void;
3224
+ displayZeroValues?: boolean;
3126
3225
  }
3127
- declare const ShortBanner: ({ textColor, title, bannerText, backgroundColor, alignCenter, widthAuto, }: ShortBannerProps) => JSX.Element;
3226
+ declare const Timer: ({ onTimeUp, displayZeroValues, ...rest }: TimerProps) => JSX.Element;
3128
3227
 
3129
- declare enum BeforeAfterVariant {
3130
- UserInfoText = "UserInfoText",
3131
- ResultFeedback = "ResultFeedback"
3228
+ interface TooltipProps {
3229
+ children: React__default.ReactNode;
3230
+ position: ComponentPosition;
3231
+ align?: 'start' | 'center' | 'end';
3232
+ content?: {
3233
+ text: string;
3234
+ color?: string;
3235
+ };
3236
+ backgroundColor?: string;
3237
+ maxWidth?: string;
3238
+ header?: {
3239
+ title: string;
3240
+ titleColor?: string;
3241
+ Icon?: IconType;
3242
+ iconFill?: string;
3243
+ };
3244
+ onClick?: () => void;
3132
3245
  }
3133
- declare type NewSize = 'small' | 'medium' | 'large';
3134
- declare const componentSizeMapper: {
3135
- [size in ComponentSize$1]: NewSize;
3136
- };
3246
+ declare const Tooltip: ({ children, position, content, backgroundColor, align, maxWidth, onClick, header, }: TooltipProps) => JSX.Element;
3137
3247
 
3138
- declare type BeforeAfterCardProps = {
3139
- name: string;
3140
- age?: string;
3141
- months?: string;
3142
- beforeImage: string;
3143
- afterImage: string;
3144
- alignCenter?: boolean;
3145
- imageBorderRadius?: string;
3146
- size?: ComponentSize$1;
3147
- variant?: BeforeAfterVariant;
3148
- description?: string;
3149
- reviewDays?: string;
3248
+ declare type SubtotalOption = {
3249
+ label: string;
3250
+ value: string;
3150
3251
  };
3151
- declare const BeforeAfterCard: React__default.FC<BeforeAfterCardProps>;
3252
+ declare type Coupon = {
3253
+ code: string;
3254
+ amount: string;
3255
+ };
3256
+ interface SubtotalProps {
3257
+ subtotal: SubtotalOption;
3258
+ shipping: SubtotalOption;
3259
+ taxes: SubtotalOption;
3260
+ highlightColor?: string;
3261
+ coupon?: {
3262
+ couponText: string;
3263
+ appliedText: string;
3264
+ coupons: Coupon[];
3265
+ };
3266
+ }
3152
3267
 
3153
- interface ImageCardWithDescriptionProps {
3154
- image: string;
3155
- title?: string;
3156
- description?: string;
3157
- titlePosition?: 'center' | 'left';
3158
- }
3159
- declare const ImageCardWithDescription: ({ image, title, description, titlePosition, }: ImageCardWithDescriptionProps) => JSX.Element;
3268
+ interface TotalProps {
3269
+ total: string;
3270
+ currency: string;
3271
+ highlightColor?: string;
3272
+ saving?: {
3273
+ amount: string;
3274
+ savingText: string;
3275
+ };
3276
+ }
3277
+
3278
+ declare const Totals: {
3279
+ Total: ({ total, currency, saving, highlightColor }: TotalProps) => JSX.Element;
3280
+ Subtotal: ({ subtotal, shipping, taxes, coupon, highlightColor, }: SubtotalProps) => JSX.Element;
3281
+ };
3160
3282
 
3161
3283
  interface Checkpoint$1 {
3162
3284
  day: string;
3163
3285
  date: string;
3164
3286
  statusMessage: string;
3165
3287
  }
3166
- interface TrackingProgressProps {
3288
+ interface TrackingProgressV2Props {
3167
3289
  checkPoints: Checkpoint$1[];
3168
3290
  amountOfCheckPoints: number;
3291
+ warning?: boolean;
3169
3292
  }
3170
- declare const TrackingProgress: ({ checkPoints, amountOfCheckPoints }: TrackingProgressProps) => JSX.Element;
3293
+ declare const TrackingProgressV2: ({ checkPoints, amountOfCheckPoints, warning, }: TrackingProgressV2Props) => JSX.Element;
3171
3294
 
3172
3295
  interface Checkpoint {
3173
3296
  day: string;
3174
3297
  date: string;
3175
3298
  statusMessage: string;
3176
3299
  }
3177
- interface TrackingProgressV2Props {
3300
+ interface TrackingProgressProps {
3178
3301
  checkPoints: Checkpoint[];
3179
3302
  amountOfCheckPoints: number;
3180
- warning?: boolean;
3181
- }
3182
- declare const TrackingProgressV2: ({ checkPoints, amountOfCheckPoints, warning, }: TrackingProgressV2Props) => JSX.Element;
3183
-
3184
- interface ReviewsHeaderProps {
3185
- title?: string;
3186
- rating: number;
3187
- reviews: number;
3188
- reviewsText: string;
3189
- reviewsSummary: string[];
3190
- onClickReview: (reveiw: string) => void;
3191
- }
3192
- declare const ReviewsHeader: ({ title, rating, reviews, reviewsText, reviewsSummary, onClickReview, }: ReviewsHeaderProps) => JSX.Element;
3193
-
3194
- interface ReviewProps {
3195
- reviewId: string;
3196
- reviewerName: string;
3197
- date: Date;
3198
- rating: number;
3199
- stars: {
3200
- color: string;
3201
- size: ComponentSize.Medium | ComponentSize.Small;
3202
- };
3203
- title: string;
3204
- description: string;
3205
- image?: {
3206
- src: string;
3207
- alt: string;
3208
- };
3209
- modalId: string;
3210
- maxFullScreen?: boolean;
3211
- verified?: boolean;
3212
- productImage?: string;
3213
- productTitle?: string;
3214
- productLink?: string;
3215
- helpfulCount?: number;
3216
- helpfulAction?: (id: string) => void;
3217
- notHelpfulCount?: number;
3218
- notHelpfulAction?: (id: string) => void;
3219
- }
3220
- declare const Review: ({ reviewId, reviewerName, date, rating, stars, title, description, image, modalId, maxFullScreen, verified, productImage, productTitle, productLink, helpfulCount, helpfulAction, notHelpfulCount, notHelpfulAction, }: ReviewProps) => JSX.Element;
3221
-
3222
- interface ProductGalleryMobileProps {
3223
- images: ImageType[];
3224
- selectedValue?: ImageType;
3225
- topTag?: JSX.Element;
3226
- bottomTag?: JSX.Element;
3227
- productImageDataTestId?: string;
3228
- slideDotsDataTestId?: string;
3229
- borderRadiusVariant?: boolean;
3230
- }
3231
- declare const ProductGalleryMobileV2: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, slideDotsDataTestId, borderRadiusVariant, }: ProductGalleryMobileProps) => JSX.Element;
3232
-
3233
- interface AbsorbencyLevelProps {
3234
- dropTotal: number;
3235
- drops: number;
3236
- absorbencyTitle: string;
3237
- absorbencyDescription: string;
3238
- }
3239
- declare const AbsorbencyLevel: ({ dropTotal, drops, absorbencyTitle, absorbencyDescription, }: AbsorbencyLevelProps) => JSX.Element;
3240
-
3241
- interface HurryUpProps {
3242
- hurryUpText: string;
3243
- backgroundColor?: string;
3244
- showTimer?: boolean;
3245
- iconSize?: number;
3246
- textPosition?: 'left' | 'right' | 'center';
3247
- }
3248
- declare const HurryUp: ({ hurryUpText, backgroundColor, iconSize, textPosition, showTimer, }: HurryUpProps) => JSX.Element;
3249
-
3250
- interface BuyNowPayLaterProps {
3251
- displayBNPL: boolean;
3252
- installments: number;
3253
- installmentPrice: string;
3254
- iconFolder?: string;
3255
- iconName: string;
3256
- showLogo?: boolean;
3257
- iconColor?: string;
3258
- fontSize?: string;
3259
- }
3260
- declare const BuyNowPayLater: ({ displayBNPL, installments, installmentPrice, iconFolder, iconName, showLogo, iconColor, fontSize, }: BuyNowPayLaterProps) => JSX.Element | null;
3261
-
3262
- interface StrengthBarProps {
3263
- barsFilled?: number;
3264
- supportText?: string;
3265
- }
3266
- declare const StrengthBars: ({ barsFilled, supportText }: StrengthBarProps) => JSX.Element;
3267
-
3268
- interface DropdownProps {
3269
- options: SelectedOption[];
3270
- defaultLabel: string;
3271
- onOptionSelect: (option: string) => void;
3272
- }
3273
- interface SelectedOption {
3274
- size: string;
3275
- detail: string;
3276
- }
3277
- declare const SizeDropdown: React__default.FC<DropdownProps>;
3278
-
3279
- interface IAutoshipProps {
3280
- singlePurchaseLabel: string;
3281
- subscriptionLabel: string;
3282
- tooltipContent?: {
3283
- text: string;
3284
- color?: string;
3285
- };
3286
- tooltipHeader?: {
3287
- title: string;
3288
- };
3289
- pricing?: {
3290
- originalPrice: number;
3291
- discountedPrice: number;
3292
- discountPercentage: number;
3293
- };
3294
- frequencyValues?: Array<number>;
3295
- frequencyUnit?: string;
3296
- autoshipBenefits: string[];
3297
- onChange: (values: {
3298
- subscriptionPeriod: number;
3299
- autoship: boolean;
3300
- originalPrice: number;
3301
- discountedPrice: number;
3302
- }) => void;
3303
3303
  }
3304
- declare const Autoship: ({ tooltipContent, tooltipHeader, pricing, frequencyValues, frequencyUnit, autoshipBenefits, onChange, singlePurchaseLabel, subscriptionLabel, }: IAutoshipProps) => JSX.Element;
3304
+ declare const TrackingProgress: ({ checkPoints, amountOfCheckPoints }: TrackingProgressProps) => JSX.Element;
3305
3305
 
3306
3306
  declare const useOnClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: Event) => void) => void;
3307
3307
 
@@ -3346,4 +3346,4 @@ declare const getSrcSet: (imgLink: string, ...breakpoints: number[]) => string;
3346
3346
 
3347
3347
  declare const mediaQueries: facepaint.DynamicStyleFunction;
3348
3348
 
3349
- export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, BeforeAfterCard, BeforeAfterVariant, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, _default as Card, CardSectionType, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitGuarantee, FitPredictor, HurryUp, Icon, IconButton, IconProps, IconWithOpacityProps, IconsWithTitle, Image, ImageCardWithDescription, ImageType, Input, InputValidationType, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, RadioPrimary, Rating, Review$1 as Review, Review as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeDropdown, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, StrengthBars, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, TrackingProgressV2, WithTestId, componentSizeMapper, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
3349
+ export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, BeforeAfterCard, BeforeAfterVariant, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, _default as Card, CardSectionType, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitGuarantee, FitPredictor, HurryUp, Icon, IconButton, IconProps, IconWithOpacityProps, IconsWithTitle, Image, ImageCardWithDescription, ImageType, Input, InputValidationType, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, 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, StarList, StrengthBars, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, TrackingProgressV2, WithTestId, componentSizeMapper, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };