@trafilea/afrodita-components 5.0.0-beta.320 → 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
@@ -531,81 +568,89 @@ declare namespace Other {
531
568
 
532
569
  declare const ChevronDown: ({ height, width, fill }: IconProps) => JSX.Element;
533
570
 
571
+ declare const ChevronDownVariant: ({ width, height, fill }: IconProps) => JSX.Element;
572
+
534
573
  declare const ChevronLeft: ({ height, width, fill, opacity, testId }: IconWithOpacityProps) => JSX.Element;
535
574
 
575
+ declare const ChevronLeftLite: ({ height, width, testId }: IconWithOpacityProps) => JSX.Element;
576
+
577
+ declare const ChevronLeftVariant: ({ width, height, fill }: IconProps) => JSX.Element;
578
+
536
579
  declare const ChevronRight: ({ height, width, fill, opacity, testId }: IconWithOpacityProps) => JSX.Element;
537
580
 
581
+ declare const ChevronRightLite: ({ height, width, testId }: IconWithOpacityProps) => JSX.Element;
582
+
538
583
  declare const ChevronRightVariant: ({ height, width, fill }: IconProps) => JSX.Element;
539
584
 
540
585
  declare const ChevronUp: ({ height, width, fill }: IconProps) => JSX.Element;
541
586
 
542
587
  declare const ChevronUpSolid: ({ height, width, fill }: IconProps) => JSX.Element;
543
588
 
544
- declare const CircleUp: ({ width, height, fill }: IconProps) => JSX.Element;
589
+ declare const ChevronUpVariant: ({ width, height, fill }: IconProps) => JSX.Element;
590
+
591
+ declare const CircleChevronDown: ({ width, height, fill }: IconProps) => JSX.Element;
545
592
 
546
593
  declare const CircleChevronLeft: ({ width, height, fill }: IconProps) => JSX.Element;
547
594
 
548
595
  declare const CircleChevronRight: ({ width, height, fill }: IconProps) => JSX.Element;
549
596
 
550
- declare const CircleChevronDown: ({ width, height, fill }: IconProps) => JSX.Element;
551
-
552
597
  declare const CircleChevronUp: ({ width, height, fill }: IconProps) => JSX.Element;
553
598
 
554
- declare const ChevronDownVariant: ({ width, height, fill }: IconProps) => JSX.Element;
555
-
556
- declare const ChevronUpVariant: ({ width, height, fill }: IconProps) => JSX.Element;
557
-
558
- declare const ChevronLeftVariant: ({ width, height, fill }: IconProps) => JSX.Element;
559
-
560
- declare const CircleLineUp: ({ width, height, fill }: IconProps) => JSX.Element;
561
-
562
599
  declare const CircleLineDown: ({ width, height, fill }: IconProps) => JSX.Element;
563
600
 
564
601
  declare const CircleLineLeft: ({ width, height, fill }: IconProps) => JSX.Element;
565
602
 
566
603
  declare const CircleLineRight: ({ width, height, fill }: IconProps) => JSX.Element;
567
604
 
605
+ declare const CircleLineUp: ({ width, height, fill }: IconProps) => JSX.Element;
606
+
607
+ declare const CircleUp: ({ width, height, fill }: IconProps) => JSX.Element;
608
+
568
609
  declare const DoubleArrowUp: ({ width, height, fill }: IconProps) => JSX.Element;
569
610
 
570
611
  declare const Arrows_ChevronDown: typeof ChevronDown;
612
+ declare const Arrows_ChevronDownVariant: typeof ChevronDownVariant;
571
613
  declare const Arrows_ChevronLeft: typeof ChevronLeft;
614
+ declare const Arrows_ChevronLeftLite: typeof ChevronLeftLite;
615
+ declare const Arrows_ChevronLeftVariant: typeof ChevronLeftVariant;
572
616
  declare const Arrows_ChevronRight: typeof ChevronRight;
617
+ declare const Arrows_ChevronRightLite: typeof ChevronRightLite;
573
618
  declare const Arrows_ChevronRightVariant: typeof ChevronRightVariant;
574
619
  declare const Arrows_ChevronUp: typeof ChevronUp;
575
620
  declare const Arrows_ChevronUpSolid: typeof ChevronUpSolid;
576
- declare const Arrows_CircleUp: typeof CircleUp;
621
+ declare const Arrows_ChevronUpVariant: typeof ChevronUpVariant;
622
+ declare const Arrows_CircleChevronDown: typeof CircleChevronDown;
577
623
  declare const Arrows_CircleChevronLeft: typeof CircleChevronLeft;
578
624
  declare const Arrows_CircleChevronRight: typeof CircleChevronRight;
579
- declare const Arrows_CircleChevronDown: typeof CircleChevronDown;
580
625
  declare const Arrows_CircleChevronUp: typeof CircleChevronUp;
581
- declare const Arrows_ChevronDownVariant: typeof ChevronDownVariant;
582
- declare const Arrows_ChevronUpVariant: typeof ChevronUpVariant;
583
- declare const Arrows_ChevronLeftVariant: typeof ChevronLeftVariant;
584
- declare const Arrows_CircleLineUp: typeof CircleLineUp;
585
626
  declare const Arrows_CircleLineDown: typeof CircleLineDown;
586
627
  declare const Arrows_CircleLineLeft: typeof CircleLineLeft;
587
628
  declare const Arrows_CircleLineRight: typeof CircleLineRight;
629
+ declare const Arrows_CircleLineUp: typeof CircleLineUp;
630
+ declare const Arrows_CircleUp: typeof CircleUp;
588
631
  declare const Arrows_DoubleArrowUp: typeof DoubleArrowUp;
589
632
  declare namespace Arrows {
590
633
  export {
591
634
  Arrows_ChevronDown as ChevronDown,
635
+ Arrows_ChevronDownVariant as ChevronDownVariant,
592
636
  Arrows_ChevronLeft as ChevronLeft,
637
+ Arrows_ChevronLeftLite as ChevronLeftLite,
638
+ Arrows_ChevronLeftVariant as ChevronLeftVariant,
593
639
  Arrows_ChevronRight as ChevronRight,
640
+ Arrows_ChevronRightLite as ChevronRightLite,
594
641
  Arrows_ChevronRightVariant as ChevronRightVariant,
595
642
  Arrows_ChevronUp as ChevronUp,
596
643
  Arrows_ChevronUpSolid as ChevronUpSolid,
597
- Arrows_CircleUp as CircleUp,
644
+ Arrows_ChevronUpVariant as ChevronUpVariant,
645
+ Arrows_CircleChevronDown as CircleChevronDown,
598
646
  Arrows_CircleChevronLeft as CircleChevronLeft,
599
647
  Arrows_CircleChevronRight as CircleChevronRight,
600
- Arrows_CircleChevronDown as CircleChevronDown,
601
648
  Arrows_CircleChevronUp as CircleChevronUp,
602
- Arrows_ChevronDownVariant as ChevronDownVariant,
603
- Arrows_ChevronUpVariant as ChevronUpVariant,
604
- Arrows_ChevronLeftVariant as ChevronLeftVariant,
605
- Arrows_CircleLineUp as CircleLineUp,
606
649
  Arrows_CircleLineDown as CircleLineDown,
607
650
  Arrows_CircleLineLeft as CircleLineLeft,
608
651
  Arrows_CircleLineRight as CircleLineRight,
652
+ Arrows_CircleLineUp as CircleLineUp,
653
+ Arrows_CircleUp as CircleUp,
609
654
  Arrows_DoubleArrowUp as DoubleArrowUp,
610
655
  };
611
656
  }
@@ -1107,305 +1152,156 @@ declare const Icon: {
1107
1152
  MyAccount: typeof MyAccount;
1108
1153
  };
1109
1154
 
1110
- interface CardBodyProps {
1111
- children: ReactNode;
1112
- }
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;
1113
1176
 
1114
- interface CardSectionProps {
1115
- children: ReactNode;
1116
- }
1177
+ interface AccordionOptionsProps {
1178
+ titleColor: string;
1179
+ accordions: AccordionProps[];
1180
+ }
1181
+ declare const AccordionOptions: ({ titleColor, accordions }: AccordionOptionsProps) => JSX.Element;
1117
1182
 
1118
- interface borderProps {
1119
- borderColor: string;
1120
- borderWidth: string;
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"
1121
1213
  }
1122
- interface CardProps {
1123
- children: ReactNode;
1214
+ declare type NewSize = 'small' | 'medium' | 'large';
1215
+ declare const componentSizeMapper: {
1216
+ [size in ComponentSize$1]: NewSize;
1217
+ };
1218
+
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>;
1233
+
1234
+ interface SimpleProps {
1235
+ title: string;
1236
+ freeShippingText: string;
1237
+ price: string;
1238
+ anyQtyForText: string;
1239
+ backgroundColor: string;
1240
+ widthAuto?: boolean;
1241
+ }
1242
+
1243
+ interface MinimalisticProps {
1124
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;
1125
1254
  widthAuto?: boolean;
1126
- border?: borderProps;
1127
- flex?: boolean;
1128
- }
1129
- declare const _default: (({ children, backgroundColor, widthAuto, border, flex }: CardProps) => JSX.Element) & {
1130
- Header: ({ children }: CardSectionProps) => JSX.Element;
1131
- Footer: ({ children }: CardSectionProps) => JSX.Element;
1132
- Body: ({ children }: CardBodyProps) => JSX.Element;
1255
+ testId?: string;
1256
+ }
1257
+
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;
1133
1261
  };
1134
1262
 
1135
- declare const ButtonPrimary: ({ testId, ...props }: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
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;
1272
+ }
1273
+ declare const BuyNowPayLater: ({ displayBNPL, installments, installmentPrice, iconFolder, iconName, showLogo, iconColor, fontSize, }: BuyNowPayLaterProps) => JSX.Element | null;
1136
1274
 
1137
- declare const ButtonSecondary: (props: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
1275
+ interface CloseButtonProps {
1276
+ onClick: () => void;
1277
+ size: number;
1278
+ }
1138
1279
 
1139
- declare const ButtonSecondaryOutline: (props: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
1280
+ interface DescriptionProps {
1281
+ text: string;
1282
+ }
1140
1283
 
1141
- declare type Value<T> = DropdownOption<T>;
1142
- declare type OnChange<T> = (option: Value<T>) => void;
1143
- declare type CommonProps<T> = {
1144
- options: Value<T>[];
1145
- disabled?: boolean;
1146
- wide?: boolean;
1147
- label?: string;
1148
- sort?: boolean;
1149
- initialValue?: Value<T>;
1150
- placeHolder: string;
1151
- testId?: string;
1152
- required?: string;
1153
- showRequiredPlaceholder?: boolean;
1154
- };
1155
- declare type ControlledProps<T> = {
1156
- value: Value<T>;
1157
- onChange: OnChange<T>;
1158
- } & CommonProps<T>;
1159
- declare type UncontrolledProps<T> = {
1160
- value?: never;
1161
- onChange?: OnChange<T>;
1162
- } & CommonProps<T>;
1163
- declare type SimpleDropdownProps<T> = UncontrolledProps<T> | ControlledProps<T>;
1164
- declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolder, label, wide, sort, onChange, value, testId, required, showRequiredPlaceholder, }: SimpleDropdownProps<T>): JSX.Element;
1284
+ interface PromoProps {
1285
+ text: string;
1286
+ }
1165
1287
 
1166
- interface DialogPositionProps {
1167
- top: string;
1168
- right: string;
1169
- }
1170
- interface DialogDropdownProps {
1171
- options: {
1172
- label: string;
1173
- value: string;
1174
- }[];
1175
- position: DialogPositionProps;
1176
- style?: React__default.CSSProperties;
1177
- className?: string;
1178
- }
1179
- declare const DropdownDialog: ({ options, position: { top, right }, style, className, }: DialogDropdownProps) => JSX.Element;
1180
-
1181
- interface SizeSelectorProps {
1182
- label: string;
1183
- sizes: SizeOption[];
1184
- selectedValue: SizeOption;
1185
- onChange: (size: SizeOption) => void;
1186
- inline?: boolean;
1187
- width?: string;
1288
+ interface OfferBannerProps {
1289
+ discountAppliedText: string;
1290
+ backgroundColor: string;
1188
1291
  }
1189
- declare const SizeSelector: ({ label, sizes, selectedValue, onChange, inline, width, }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
1292
+ declare const OfferBanner: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
1190
1293
 
1191
- interface SizeFitGuideProps {
1294
+ interface TitleProps {
1192
1295
  title: string;
1193
- fitPercentage?: number;
1194
- onClick: () => void;
1195
- onClickFitPercentage?: () => void;
1196
- }
1197
- declare const SizeFitGuide: ({ title, fitPercentage, onClick, onClickFitPercentage, }: SizeFitGuideProps) => JSX.Element;
1198
-
1199
- interface BaseButtonProps {
1200
- children: React__default.ReactNode;
1201
- renderLeading?: React__default.ReactNode;
1202
- renderTrailing?: React__default.ReactNode;
1203
- disabled?: boolean;
1204
- type?: ButtonType;
1205
- onClick: () => void;
1206
- className?: string;
1207
- inline?: boolean;
1208
- uppercase?: boolean;
1209
- testId?: string;
1210
- id?: string;
1211
1296
  }
1212
1297
 
1213
- declare type BaseProps = Pick<BaseButtonProps, 'disabled' | 'type' | 'onClick'>;
1214
- interface TextButtonProps$1 extends BaseProps {
1215
- text: string;
1216
- LeadingIcon?: IconType;
1217
- TrailingIcon?: IconType;
1218
- iconColor?: string;
1219
- size?: ComponentSize;
1220
- uppercase?: boolean;
1221
- }
1222
- declare const TextButton: ({ text, LeadingIcon, TrailingIcon, iconColor, disabled, type, size, uppercase, onClick, }: TextButtonProps$1) => _emotion_react_jsx_runtime.JSX.Element;
1223
-
1224
- interface DiscountTagProps {
1225
- discount: number;
1226
- offText: string;
1227
- savings?: string;
1228
- showSavings?: boolean;
1229
- disabled?: boolean;
1230
- backgroundColor?: string;
1231
- borderColor?: string;
1232
- textColor?: string;
1233
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
1234
- style?: React__default.CSSProperties;
1235
- bordersRounded?: boolean;
1236
- }
1237
- declare const DiscountTag: ({ discount, offText, savings, showSavings, disabled, backgroundColor, borderColor, textColor, size, style, bordersRounded, }: DiscountTagProps) => JSX.Element;
1238
-
1239
- interface ClubOfferTagProps {
1240
- clubOfferText?: string;
1241
- className?: string;
1242
- disabled?: boolean;
1243
- backgroundColor?: string;
1244
- borderColor?: string;
1245
- textColor?: string;
1246
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
1247
- style?: React__default.CSSProperties;
1248
- }
1249
- declare const ClubOfferTag: ({ clubOfferText, className, disabled, backgroundColor, borderColor, textColor, size, style, }: ClubOfferTagProps) => JSX.Element;
1250
-
1251
- interface PriceLabelProps {
1252
- finalPrice: string | number;
1253
- originalPrice?: string | number;
1254
- color?: string;
1255
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
1256
- discount?: DiscountTagProps;
1257
- clubOffer?: ClubOfferTagProps;
1258
- finalPriceStyled?: boolean;
1259
- finalPriceStyle?: React__default.CSSProperties;
1260
- originalPriceStyled?: boolean;
1261
- originalPriceUnderlined?: boolean;
1262
- testId?: string;
1263
- clubStyle?: boolean;
1264
- bordersRounded?: boolean;
1265
- }
1266
- declare const PriceLabel: React__default.FC<PriceLabelProps>;
1267
-
1268
- declare type Props = PriceLabelProps & {
1269
- savingsDisplay?: boolean;
1270
- };
1271
- declare const PriceLabelV2: React__default.FC<Props>;
1272
-
1273
- interface ColorPickerProps {
1274
- options: ColorPickerOption[];
1275
- selectedValue?: ColorPickerOption;
1276
- label: string;
1277
- onChange: (color: ColorPickerOption) => void;
1278
- inline?: boolean;
1279
- }
1280
- declare const SingleColorPicker: ({ options, selectedValue, label, onChange, inline, }: ColorPickerProps) => _emotion_react_jsx_runtime.JSX.Element;
1281
-
1282
- interface MultiColorPickerProps {
1283
- options?: ColorPickerOption[];
1284
- label: string;
1285
- selectedValue?: ColorPickerOption;
1286
- onChange: (color: Set<ColorPickerOption>) => void;
1287
- }
1288
- declare const MultiColorPicker: ({ options, label, selectedValue, onChange, }: MultiColorPickerProps) => JSX.Element;
1289
-
1290
- interface ProductGalleryProps {
1291
- images: ImageType[];
1292
- selectedValue?: ImageType;
1293
- topTag?: JSX.Element;
1294
- bottomTag?: JSX.Element;
1295
- productImageDataTestId?: string;
1296
- previewListDataTestId?: string;
1297
- thumbnailPosition?: 'vertical' | 'horizontal';
1298
- borderRadiusVariant?: boolean;
1299
- previewImgBorderColor?: string;
1300
- ctaText?: string;
1301
- ctaAction?: () => void;
1302
- hideCTA?: boolean;
1303
- hasOverflowArrows?: boolean;
1304
- }
1305
- declare const ProductGallery: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, borderRadiusVariant, previewImgBorderColor, ctaText, ctaAction, hideCTA, hasOverflowArrows, }: ProductGalleryProps) => JSX.Element;
1306
-
1307
- interface RatingProps {
1308
- rating: number;
1309
- size?: ComponentSize;
1310
- reviews?: number;
1311
- reviewsText?: string;
1312
- wrapWithParenthesis?: boolean;
1313
- underline?: boolean;
1314
- reviewsContainerId?: string;
1315
- }
1316
- declare const Rating: ({ size, reviews, reviewsText, rating, wrapWithParenthesis, underline, reviewsContainerId, }: RatingProps) => JSX.Element;
1317
-
1318
- interface FitPredictorProps {
1319
- onClick: () => void;
1320
- }
1321
- declare const FitPredictor: ({ onClick }: FitPredictorProps) => _emotion_react_jsx_runtime.JSX.Element;
1322
-
1323
- interface FitGuaranteeProps {
1324
- backgroundColor?: string;
1325
- borderColor?: string;
1326
- title: string;
1327
- description: string;
1328
- widthAuto?: boolean;
1329
- testId?: string;
1330
- iconFolder?: string;
1331
- iconName?: string;
1332
- iconWidth?: number;
1333
- iconHeight?: number;
1334
- }
1335
- declare const FitGuarantee: ({ backgroundColor, borderColor, title, description, widthAuto, testId, iconFolder, iconName, iconWidth, iconHeight, }: FitGuaranteeProps) => JSX.Element | null;
1336
-
1337
- interface ProgressBarProps {
1338
- description?: string;
1339
- fillColor: string;
1340
- widthAuto?: boolean;
1341
- percent?: number;
1342
- height?: string;
1343
- backgroundColor?: string;
1344
- borderRadius?: string;
1345
- }
1346
- declare const ProgressBar: ({ description, fillColor, widthAuto, percent, height, backgroundColor, borderRadius, }: ProgressBarProps) => JSX.Element;
1347
-
1348
- interface MotivatorProgressBarProps {
1349
- fillColor?: string;
1350
- currentAmount?: number;
1351
- backgroundColor?: string;
1352
- unfilledColor?: string;
1353
- borderRadius?: string;
1354
- rewardUnlockedMessage: string;
1355
- endingValue?: number;
1356
- currencyCode?: string;
1357
- }
1358
- declare const MotivatorProgressBar: ({ fillColor, backgroundColor, unfilledColor, currencyCode, endingValue, currentAmount, rewardUnlockedMessage, }: MotivatorProgressBarProps) => JSX.Element;
1359
-
1360
- interface IconButtonProps {
1361
- children: React__default.ReactNode;
1362
- disabled?: boolean;
1363
- onClick?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
1364
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
1365
- }
1366
- declare const IconButton: ({ children, disabled, size, onClick, }: IconButtonProps) => JSX.Element;
1367
-
1368
- interface TooltipProps {
1369
- children: React__default.ReactNode;
1370
- position: ComponentPosition;
1371
- align?: 'start' | 'center' | 'end';
1372
- content?: {
1373
- text: string;
1374
- color?: string;
1375
- };
1376
- backgroundColor?: string;
1377
- maxWidth?: string;
1378
- header?: {
1379
- title: string;
1380
- titleColor?: string;
1381
- Icon?: IconType;
1382
- iconFill?: string;
1383
- };
1384
- onClick?: () => void;
1385
- }
1386
- declare const Tooltip: ({ children, position, content, backgroundColor, align, maxWidth, onClick, header, }: TooltipProps) => JSX.Element;
1387
-
1388
- interface AccordionProps {
1389
- defaultOpen?: boolean;
1390
- forceOpenHandler?: boolean;
1391
- forceOpenValue?: boolean;
1392
- titleColor?: string;
1393
- variant: 'simple' | 'box';
1394
- header: ReactNode;
1395
- headerOnOpen?: ReactNode;
1396
- content: ReactNode;
1397
- disabled?: boolean;
1398
- innerHTML?: boolean;
1399
- controlIconPos?: 'right' | 'bottom';
1400
- backgroundCover?: {
1401
- value: boolean;
1402
- iconBgColor?: string;
1403
- };
1404
- openIcon: IconType;
1405
- closeIcon: IconType;
1406
- onClick?: (index: number) => void;
1407
- }
1408
- 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
+ };
1409
1305
 
1410
1306
  declare const ThemeProvider: FC<{
1411
1307
  theme: Theme;
@@ -2179,119 +2075,434 @@ interface CheckboxProps {
2179
2075
  }
2180
2076
  declare const Checkbox: React__default.FC<CheckboxProps>;
2181
2077
 
2182
- interface RadioProps$1 {
2183
- name: string;
2184
- value: string;
2185
- id: string;
2186
- label: string | ReactFragment;
2187
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2188
- checked?: boolean;
2078
+ interface ImageStyleProps {
2079
+ height?: string;
2080
+ width?: string;
2081
+ borderRadius?: string;
2082
+ objectFit?: string;
2083
+ objectPosition?: string;
2084
+ className?: string;
2085
+ }
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;
2094
+
2095
+ interface DiscountTagProps {
2096
+ discount: number;
2097
+ offText: string;
2098
+ savings?: string;
2099
+ showSavings?: boolean;
2189
2100
  disabled?: boolean;
2190
- onChange: (option: RadioGroupOption) => void;
2101
+ backgroundColor?: string;
2102
+ borderColor?: string;
2103
+ textColor?: string;
2104
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2191
2105
  style?: React__default.CSSProperties;
2106
+ bordersRounded?: boolean;
2192
2107
  }
2193
- declare const RadioPrimary: ({ style, name, value, id, label, checked, disabled, onChange, size, }: RadioProps$1) => JSX.Element;
2108
+ declare const DiscountTag: ({ discount, offText, savings, showSavings, disabled, backgroundColor, borderColor, textColor, size, style, bordersRounded, }: DiscountTagProps) => JSX.Element;
2194
2109
 
2195
- interface RadioGroupInputProps {
2196
- name: string;
2197
- options?: RadioGroupOption[];
2198
- value?: RadioGroupOption;
2199
- onChange: (value: RadioGroupOption) => void;
2200
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2110
+ interface ClubOfferTagProps {
2111
+ clubOfferText?: string;
2112
+ className?: string;
2201
2113
  disabled?: boolean;
2114
+ backgroundColor?: string;
2115
+ borderColor?: string;
2116
+ textColor?: string;
2117
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2202
2118
  style?: React__default.CSSProperties;
2203
2119
  }
2204
- declare const RadioGroupInput: ({ style, name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
2120
+ declare const ClubOfferTag: ({ clubOfferText, className, disabled, backgroundColor, borderColor, textColor, size, style, }: ClubOfferTagProps) => JSX.Element;
2205
2121
 
2206
- interface ClubRadioGroupInputProps {
2207
- name: string;
2208
- options?: RadioGroupOption[];
2209
- value?: RadioGroupOption;
2210
- onChange: (value: RadioGroupOption) => void;
2122
+ interface PriceLabelProps {
2123
+ finalPrice: string | number;
2124
+ originalPrice?: string | number;
2125
+ color?: string;
2211
2126
  size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2212
- disabled?: boolean;
2213
- style?: React__default.CSSProperties;
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;
2214
2136
  }
2215
- declare const ClubRadioGroupInput: ({ style, name, options, value, onChange, size, disabled, }: ClubRadioGroupInputProps) => JSX.Element;
2137
+ declare const PriceLabel: React__default.FC<PriceLabelProps>;
2216
2138
 
2217
- interface SimpleProps {
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;
2167
+ }
2168
+
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;
2218
2272
  title: string;
2273
+ description: string;
2219
2274
  freeShippingText: string;
2220
- price: string;
2221
- anyQtyForText: string;
2222
- backgroundColor: string;
2223
- widthAuto?: boolean;
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
+ };
2224
2289
  }
2225
2290
 
2226
- interface MinimalisticProps {
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 {
2227
2434
  backgroundColor?: string;
2228
2435
  borderColor?: string;
2229
- originalPrice: string;
2230
- price: string;
2231
- savingPrice: string;
2232
- getMorePayLessText: string;
2233
- youAreSavingText: string;
2234
- getQtyForText: string;
2235
- discount: number;
2236
- offText: string;
2436
+ title: string;
2437
+ description: string;
2237
2438
  widthAuto?: boolean;
2238
2439
  testId?: string;
2239
- }
2240
-
2241
- declare const Bundle: {
2242
- Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, testId, }: MinimalisticProps) => JSX.Element;
2243
- Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
2244
- };
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;
2245
2446
 
2246
- interface CategoryTagProps {
2247
- text: string;
2248
- size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
2249
- className?: string;
2250
- styledBorder?: boolean;
2447
+ interface FitPredictorProps {
2448
+ onClick: () => void;
2251
2449
  }
2252
- 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;
2253
2451
 
2254
- interface CategorySquareTagProps {
2255
- text: string;
2256
- size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
2257
- className?: string;
2258
- 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;
2259
2466
  }
2260
- 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;
2261
2468
 
2262
- interface SeasonOfferTagProps {
2263
- text: string;
2264
- backgroundColor?: string;
2265
- size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
2266
- className?: string;
2267
- styledBorder?: boolean;
2268
- bottomRightBorderRounded?: string;
2269
- allBordersRounded?: {
2270
- value: string;
2271
- size?: ComponentSize;
2272
- };
2273
- 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;
2274
2474
  }
2275
- 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;
2276
2476
 
2277
- interface SeasonOfferRoundedTagProps {
2278
- text: string;
2279
- backgroundColor?: string;
2280
- size: ComponentSize;
2281
- className?: string;
2477
+ interface AmazonPaypalBtnProps {
2478
+ onClick: () => void;
2282
2479
  }
2283
- 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;
2284
2482
 
2285
- interface TimeProps {
2286
- hours: number;
2287
- minutes: number;
2288
- 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;
2289
2496
  }
2290
- interface TimerProps extends TimeProps {
2291
- onTimeUp: () => void;
2292
- 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';
2293
2504
  }
2294
- declare const Timer: ({ onTimeUp, displayZeroValues, ...rest }: TimerProps) => JSX.Element;
2505
+ declare const ImageCardWithDescription: ({ image, title, description, titlePosition, }: ImageCardWithDescriptionProps) => JSX.Element;
2295
2506
 
2296
2507
  interface BaseInputCommonProps {
2297
2508
  id?: string;
@@ -2363,87 +2574,64 @@ declare const Input: {
2363
2574
  SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
2364
2575
  };
2365
2576
 
2366
- interface PaymentMethodsProps {
2367
- Icon: IconType;
2368
- width: string;
2369
- height: string;
2370
- 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;
2371
2585
  }
2372
- 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;
2373
2587
 
2374
- interface OfferBannerProps {
2375
- discountAppliedText: string;
2376
- 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;
2377
2596
  }
2378
- declare const OfferBanner: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
2379
-
2380
- declare type SubtotalOption = {
2381
- label: string;
2382
- value: string;
2383
- };
2384
- declare type Coupon = {
2385
- code: string;
2386
- amount: string;
2387
- };
2388
- interface SubtotalProps {
2389
- subtotal: SubtotalOption;
2390
- shipping: SubtotalOption;
2391
- taxes: SubtotalOption;
2392
- highlightColor?: string;
2393
- coupon?: {
2394
- couponText: string;
2395
- appliedText: string;
2396
- coupons: Coupon[];
2397
- };
2398
- }
2399
-
2400
- interface TotalProps {
2401
- total: string;
2402
- currency: string;
2403
- highlightColor?: string;
2404
- saving?: {
2405
- amount: string;
2406
- savingText: string;
2407
- };
2408
- }
2409
-
2410
- declare const Totals: {
2411
- Total: ({ total, currency, saving, highlightColor }: TotalProps) => JSX.Element;
2412
- Subtotal: ({ subtotal, shipping, taxes, coupon, highlightColor, }: SubtotalProps) => JSX.Element;
2413
- };
2597
+ declare const ProductGalleryMobileV2: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, slideDotsDataTestId, borderRadiusVariant, }: ProductGalleryMobileProps) => JSX.Element;
2414
2598
 
2415
- declare type detail = {
2416
- title: string;
2417
- details: string;
2599
+ declare type ModalProps = {
2600
+ id: string;
2601
+ dismissable?: boolean;
2602
+ maxFullScreen?: boolean;
2603
+ padding?: string;
2604
+ children: React__default.ReactNode;
2418
2605
  };
2419
- interface orderUpdate extends detail {
2420
- keepMeUpdated?: {
2421
- title: string;
2422
- onClick: () => void;
2423
- };
2424
- }
2425
- interface DeliveryDetailsProps {
2426
- deliveryDetailsText: string;
2427
- arrivingBy: detail;
2428
- shippingTo: detail;
2429
- instantOrderUpdate: orderUpdate;
2430
- note?: {
2431
- importantNoteText: string;
2432
- text: string;
2433
- accentColor?: string;
2434
- backgroundColor?: string;
2435
- color?: string;
2436
- };
2606
+ interface ContainerProps {
2607
+ maxFullScreen: boolean;
2608
+ opened?: boolean;
2609
+ padding?: string;
2437
2610
  }
2438
- 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
+ };
2439
2623
 
2440
- interface ScrollToTopProps {
2441
- scrollToTopText: string;
2442
- onClick: () => void;
2443
- fill?: string;
2444
- 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;
2445
2633
  }
2446
- declare const ScrollToTop: ({ scrollToTopText, onClick, fill, Icon, }: ScrollToTopProps) => JSX.Element;
2634
+ declare const MotivatorProgressBar: ({ fillColor, backgroundColor, unfilledColor, currencyCode, endingValue, currentAmount, rewardUnlockedMessage, }: MotivatorProgressBarProps) => JSX.Element;
2447
2635
 
2448
2636
  interface OrderBarProps {
2449
2637
  message: string;
@@ -2451,19 +2639,47 @@ interface OrderBarProps {
2451
2639
  }
2452
2640
  declare const OrderBar: ({ message, color }: OrderBarProps) => JSX.Element;
2453
2641
 
2454
- interface TableProps$1 {
2455
- headers: string[];
2456
- data: string[][];
2457
- 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;
2458
2659
  }
2459
- declare const SizeTable: ({ headers, data, className }: TableProps$1) => JSX.Element;
2660
+ declare const PackSelector: FC<PackSelectorProps>;
2460
2661
 
2461
- interface TableProps {
2462
- headers: string[];
2463
- data: string[][];
2464
- 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;
2465
2681
  }
2466
- declare const SizeChartTable: ({ headers, data, newSizeTableCss }: TableProps) => JSX.Element;
2682
+ declare const PaymentMethod: ({ Icon, width, height, onClick }: PaymentMethodsProps) => JSX.Element;
2467
2683
 
2468
2684
  interface Price extends Pick<PriceLabelProps, 'finalPrice' | 'originalPrice'> {
2469
2685
  color?: string;
@@ -2486,7 +2702,118 @@ interface ProductOrderItemProps {
2486
2702
  }
2487
2703
  declare const SimpleOrderItem: ({ title, className, subtitle, image, price, tag, quantity, finalPriceStyle, }: ProductOrderItemProps) => JSX.Element;
2488
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
+
2489
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 {
2490
2817
  reviewId: string;
2491
2818
  reviewerName: string;
2492
2819
  date: Date;
@@ -2507,193 +2834,151 @@ interface ReviewProps$1 {
2507
2834
  helpfulAction?: (id: string) => void;
2508
2835
  helpfulCount?: number;
2509
2836
  }
2510
- declare const Review$1: ({ reviewId, reviewerName, date, rating, stars, title, description, images, reviewVariant, onClickImage, helpfulActionText, helpfulAction, helpfulCount, }: ReviewProps$1) => JSX.Element;
2511
-
2512
- interface SliderNavigationProps {
2513
- children: JSX.Element | JSX.Element[] | StyledComponent<any>;
2514
- infinite: boolean;
2515
- adaptiveHeight: boolean;
2516
- dotsSize?: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
2517
- dotListMarginTop?: number;
2518
- initialSlide?: number;
2519
- arrows?: {
2520
- arrowWidth: number;
2521
- arrowHeight: number;
2522
- arrowPadding: number;
2523
- };
2524
- dots?: boolean;
2525
- slidesToShow?: number;
2526
- speed?: number;
2527
- }
2528
- declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, dots, slidesToShow, speed, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
2529
-
2530
- interface DropdownListIconsProps {
2531
- items: DropdownListIconsItem[];
2532
- }
2533
- 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;
2534
2838
 
2535
- interface ImageStyleProps {
2536
- height?: string;
2537
- width?: string;
2538
- borderRadius?: string;
2539
- objectFit?: string;
2540
- objectPosition?: string;
2541
- className?: string;
2542
- }
2543
- interface ImageProps extends ImageStyleProps {
2544
- src: string;
2545
- alt: string;
2546
- srcSet?: string;
2547
- sizes?: string;
2548
- 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;
2549
2846
  }
2550
- 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;
2551
2848
 
2552
- interface AmazonPaypalBtnProps {
2849
+ interface ScrollToTopProps {
2850
+ scrollToTopText: string;
2553
2851
  onClick: () => void;
2852
+ fill?: string;
2853
+ Icon?: React__default.FC<IconProps$1>;
2554
2854
  }
2555
- declare const AmazonButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
2556
- declare const PaypalButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
2557
-
2558
- interface CrossSellCheckboxProps extends rightToLeftProps {
2559
- imageURL: string;
2560
- title: string;
2561
- description: string;
2562
- freeShippingText: string;
2563
- onChange: (checked: Boolean) => void;
2564
- }
2565
- interface rightToLeftProps {
2566
- rightToLeft: boolean;
2567
- }
2568
- declare const CrossSellCheckbox: ({ imageURL, title, description, freeShippingText, rightToLeft, onChange, }: CrossSellCheckboxProps) => JSX.Element;
2569
-
2570
- type index_d_CrossSellCheckboxProps = CrossSellCheckboxProps;
2571
- declare const index_d_CrossSellCheckbox: typeof CrossSellCheckbox;
2572
- declare namespace index_d {
2573
- export {
2574
- index_d_CrossSellCheckboxProps as CrossSellCheckboxProps,
2575
- index_d_CrossSellCheckbox as CrossSellCheckbox,
2576
- };
2577
- }
2578
-
2579
- interface ProductItemProps {
2580
- title: string;
2581
- image: ImageProps;
2582
- price: Pick<PriceLabelProps, 'finalPrice' | 'originalPrice' | 'color'>;
2583
- rating: Pick<RatingProps, 'rating' | 'reviews'>;
2584
- tags?: {
2585
- categoryTagText?: string;
2586
- seasonOfferTagText?: string;
2587
- };
2588
- alignName?: 'left' | 'center';
2589
- url?: string;
2590
- className?: string;
2591
- }
2855
+ declare const ScrollToTop: ({ scrollToTopText, onClick, fill, Icon, }: ScrollToTopProps) => JSX.Element;
2592
2856
 
2593
- interface ProductItemSmallMobileProps$1 extends ProductItemProps {
2594
- titleStyle?: Pick<TextProps$1, 'variant' | 'weight' | 'size'>;
2595
- ImageBorderRadius?: string;
2596
- hasSpacing?: boolean;
2597
- textContainerGap?: string;
2598
- customSizeRating?: ComponentSize.XSmall | ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large | '';
2599
- size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
2600
- imageHover?: ImageProps;
2601
- topTag?: JSX.Element;
2602
- bottomTag?: JSX.Element;
2603
- onClick?: () => void;
2604
- originalPriceStyled?: boolean;
2605
- priceDisplayType?: 'default' | 'styled';
2606
- priceAtBottom?: boolean;
2607
- priceLoading?: boolean;
2608
- noFollow?: boolean;
2609
- colorPicker?: {
2610
- display: boolean;
2611
- position: string;
2612
- component: JSX.Element | JSX.Element[] | undefined;
2613
- };
2614
- isBNPL?: {
2615
- displayBNPL: boolean;
2616
- installments: number;
2617
- installmentPrice: string;
2618
- iconFolder?: string;
2619
- iconName: string;
2620
- showLogo?: boolean;
2621
- iconColor: string;
2622
- fontSize: string;
2623
- };
2624
- hasStrength?: {
2625
- strength: number;
2626
- description: string;
2627
- };
2628
- clubPrice?: string;
2629
- 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;
2630
2885
  }
2631
2886
 
2632
- interface ProductItemSmallMobileProps extends ProductItemProps {
2633
- size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
2634
- imageHover?: ImageProps;
2635
- topTag?: JSX.Element;
2636
- bottomTag?: JSX.Element;
2637
- onClick?: () => void;
2638
- priceDisplayType?: 'default' | 'styled';
2639
- priceAtBottom?: boolean;
2640
- priceLoading?: boolean;
2641
- noFollow?: boolean;
2642
- colorPicker?: {
2643
- display: boolean;
2644
- position: string;
2645
- component: JSX.Element | JSX.Element[] | undefined;
2646
- };
2647
- isBNPL?: {
2648
- displayBNPL: boolean;
2649
- installments: number;
2650
- installmentPrice: string;
2651
- iconFolder?: string;
2652
- iconName: string;
2653
- showLogo?: boolean;
2654
- iconColor: string;
2655
- fontSize: string;
2656
- };
2657
- hasStrength?: {
2658
- strength: number;
2659
- description: string;
2660
- };
2661
- clubPrice?: string;
2662
- showClubPriceLabel?: boolean;
2663
- isRatingLoading?: boolean;
2887
+ interface CardSectionProps {
2888
+ children: ReactNode;
2664
2889
  }
2665
2890
 
2666
- declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: React__default.FC<P>, data: ProductItemProps[]): {
2667
- (props: Omit<P, 'title' | 'image' | 'price' | 'rating'>): JSX.Element;
2668
- 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;
2669
2906
  };
2670
2907
 
2671
- declare const Collection: {
2672
- ProductItemMobile: React.FC<ProductItemSmallMobileProps>;
2673
- withProductGrid: typeof withProductGrid;
2674
- 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;
2675
- };
2908
+ declare type PortalProps = {
2909
+ id: string;
2910
+ className?: string;
2911
+ overflow?: boolean;
2912
+ style?: CSSProperties;
2913
+ };
2914
+ declare const Portal: FC<PortalProps>;
2676
2915
 
2677
- interface StarListProps {
2678
- rating: number;
2679
- size?: ComponentSize;
2680
- starsNumber: number;
2681
- 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;
2682
2930
  }
2683
- declare const StarList: ({ rating, starsNumber, fill, size, }: StarListProps) => JSX.Element;
2931
+ declare const ShortBanner: ({ textColor, title, bannerText, backgroundColor, alignCenter, widthAuto, }: ShortBannerProps) => JSX.Element;
2684
2932
 
2685
- interface DrawerProps {
2686
- children: React__default.ReactNode;
2687
- isOpen: boolean;
2688
- onClose?: () => void;
2689
- onOpen?: () => void;
2690
- onClickOutside?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
2691
- backgroundColor?: string;
2692
- backdropColor?: string;
2693
- 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;
2694
2961
  width?: string;
2695
2962
  }
2696
- 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;
2697
2982
 
2698
2983
  interface SpinnerProps {
2699
2984
  fill: string;
@@ -2705,37 +2990,99 @@ interface SpinnerProps {
2705
2990
  }
2706
2991
  declare const Spinner: ({ fill, background, animationDuration, complete, completeIconStroke, size, }: SpinnerProps) => JSX.Element;
2707
2992
 
2708
- 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;
2709
3005
  color?: string;
2710
- items: string[];
2711
- onCloseClick: (index: number) => void;
3006
+ tabsMaxWidth?: string;
3007
+ onClick: (clickedTab: string) => void;
2712
3008
  }
2713
- 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;
2714
3010
 
2715
- declare type FilteringDropdownProps<T> = {
2716
- options: DropdownOption<T>[];
2717
- disabled?: boolean;
2718
- wide?: boolean;
2719
- onChange: (options: DropdownOption<T>[]) => void;
2720
- filter?: boolean;
2721
- sliceAfter?: number;
2722
- placeHolder: string;
2723
- };
2724
- 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;
2725
3022
 
2726
- interface PaginationProps {
2727
- from: number;
2728
- to: number;
2729
- onChange: (page: number) => void;
2730
- currentPage?: number;
2731
- underlineActive?: boolean;
2732
- 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;
2733
3066
  disabled?: boolean;
2734
- 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;
2735
3084
  }
2736
- declare const Pagination: ({ from, to, currentPage, onChange, underlineActive, boldActive, disabled, showReducedPages, }: PaginationProps) => JSX.Element;
2737
-
2738
- 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;
2739
3086
 
2740
3087
  declare const Text: ({ variant, children, testId, asSpan, ...allProps }: TextProps) => _emotion_react_jsx_runtime.JSX.Element;
2741
3088
  declare type TextHeroProps = {
@@ -2821,266 +3168,31 @@ declare type TextLabelProps = {
2821
3168
  weight?: 'regular' | 'demi';
2822
3169
  size?: 'large' | 'regular' | 'small';
2823
3170
  underline?: never;
2824
- disabled?: boolean;
2825
- wide?: never;
2826
- original?: never;
2827
- allCaps?: never;
2828
- href?: never;
2829
- } & LabelHTMLAttributes<'label'>;
2830
- declare type TextTagProps = {
2831
- variant: 'tag';
2832
- size?: 'regular' | 'small' | 'x-small';
2833
- weight?: 'regular' | 'demi' | 'bold';
2834
- underline?: never;
2835
- disabled?: boolean;
2836
- wide?: never;
2837
- original?: never;
2838
- allCaps?: boolean;
2839
- href?: never;
2840
- };
2841
- declare type TextProps<T = Element> = AriaAttributes & HTMLAttributes<T> & {
2842
- children: ReactNode;
2843
- style?: CSSProperties;
2844
- className?: string;
2845
- testId?: string;
2846
- asSpan?: boolean;
2847
- color?: string;
2848
- } & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
2849
-
2850
- interface SearchBarProps {
2851
- suggestions: SearchBarOptionItem[];
2852
- resultOptions: SearchBarOptionItem[];
2853
- onChange: (text: string) => void;
2854
- onSearch: (term: string) => void;
2855
- onClose: () => void;
2856
- resultsPanelDataTestId?: string;
2857
- allResults?: number;
2858
- initialTerm?: string;
2859
- shouldClear?: boolean;
2860
- isBlogSearchBar?: boolean;
2861
- ariaLabel?: string;
2862
- placeholder?: string;
2863
- id?: string;
2864
- autoComplete?: string;
2865
- }
2866
- declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, onClose, resultsPanelDataTestId, allResults, initialTerm, shouldClear, isBlogSearchBar, ariaLabel, placeholder, id, autoComplete, }: SearchBarProps) => JSX.Element;
2867
-
2868
- interface ProductGalleryMobileProps$1 {
2869
- images: ImageType[];
2870
- customClick?: boolean;
2871
- topTag?: JSX.Element;
2872
- bottomTag?: JSX.Element;
2873
- productImageDataTestId?: string;
2874
- borderRadiusVariant?: boolean;
2875
- selectedValue?: ImageType;
2876
- }
2877
- declare const ProductGalleryMobile: ({ images, customClick, topTag, bottomTag, productImageDataTestId, borderRadiusVariant, selectedValue, }: ProductGalleryMobileProps$1) => JSX.Element;
2878
-
2879
- interface RadioProps {
2880
- name: string;
2881
- value: string;
2882
- id: string;
2883
- label: string | ReactFragment;
2884
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2885
- checked?: boolean;
2886
- disabled?: boolean;
2887
- onChange: (option: RadioGroupOption) => void;
2888
- style?: React__default.CSSProperties;
2889
- }
2890
- declare const RadioInput: ({ style, name, value, id, label, checked, disabled, onChange, size, }: RadioProps) => JSX.Element;
2891
-
2892
- declare type PortalProps = {
2893
- id: string;
2894
- className?: string;
2895
- overflow?: boolean;
2896
- style?: CSSProperties;
2897
- };
2898
- declare const Portal: FC<PortalProps>;
2899
-
2900
- declare type ModalProps = {
2901
- id: string;
2902
- dismissable?: boolean;
2903
- maxFullScreen?: boolean;
2904
- padding?: string;
2905
- children: React__default.ReactNode;
2906
- };
2907
- interface ContainerProps {
2908
- maxFullScreen: boolean;
2909
- opened?: boolean;
2910
- padding?: string;
2911
- }
2912
- declare const Overlay: _emotion_styled.StyledComponent<{
2913
- theme?: _emotion_react.Theme | undefined;
2914
- as?: React__default.ElementType<any> | undefined;
2915
- } & Pick<ContainerProps, "opened">, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2916
- declare const Modal: FC<ModalProps>;
2917
- declare const modalEvent: (id: string, detail: Omit<Events['modal'], 'id'>) => void;
2918
- declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
2919
- declare const useModal: (id: string) => {
2920
- opened: boolean;
2921
- open: () => void;
2922
- close: () => void;
2923
- };
2924
-
2925
- interface CloseButtonProps {
2926
- onClick: () => void;
2927
- size: number;
2928
- }
2929
-
2930
- interface DescriptionProps {
2931
- text: string;
2932
- }
2933
-
2934
- interface PromoProps {
2935
- text: string;
2936
- }
2937
-
2938
- interface TitleProps {
2939
- title: string;
2940
- }
2941
-
2942
- declare const CartProductItem: {
2943
- Title: ({ title }: TitleProps) => JSX.Element;
2944
- Tag: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
2945
- Promo: ({ text }: PromoProps) => JSX.Element;
2946
- Description: ({ text }: DescriptionProps) => JSX.Element;
2947
- CloseButton: ({ onClick, size }: CloseButtonProps) => JSX.Element;
2948
- };
2949
-
2950
- declare type QuantityPickerPropsOnChange = (value: number) => void;
2951
- declare type QuantityPickerPropsControlled = {
2952
- value: number;
2953
- onChange: QuantityPickerPropsOnChange;
2954
- };
2955
- declare type QuantityPickerPropsUncontrolled = {
2956
- value?: never;
2957
- onChange?: QuantityPickerPropsOnChange;
2958
- };
2959
- declare type QuantityPickerProps = {
2960
- initialValue?: number;
2961
- maxValue?: number;
2962
- testId?: string;
2963
- } & (QuantityPickerPropsControlled | QuantityPickerPropsUncontrolled);
2964
- declare const QuantityPicker: ({ initialValue, maxValue, value, testId, onChange, }: QuantityPickerProps) => JSX.Element;
2965
-
2966
- declare type SpacingProps = {
2967
- size: number;
2968
- type?: 'block' | 'inline';
2969
- style?: CSSProperties;
2970
- };
2971
- declare const Spacing: FC<SpacingProps>;
2972
-
2973
- interface PackOption$1 {
2974
- label: string;
2975
- description: string;
2976
- meta: {
2977
- discountPercentage: number;
2978
- originalPrice: number;
2979
- price: number;
2980
- quantity: number;
2981
- icon: string;
2982
- tag?: string;
2983
- };
2984
- }
2985
- interface PackSelectorProps$1 {
2986
- packs: PackOption$1[];
2987
- selectedValue: PackOption$1;
2988
- onChange: (size: PackOption$1) => void;
2989
- currencyCode?: string;
2990
- }
2991
- declare const PackSelector: FC<PackSelectorProps$1>;
2992
-
2993
- interface PackOption {
2994
- label: string;
2995
- description: string;
2996
- meta: {
2997
- discountPercentage: number;
2998
- originalPrice: number;
2999
- price: number;
3000
- quantity: number;
3001
- icon: string;
3002
- tag?: string;
3003
- };
3004
- }
3005
- interface PackSelectorProps {
3006
- packs: PackOption[];
3007
- selectedValue: PackOption;
3008
- onChange: (size: PackOption) => void;
3009
- currencyCode?: string;
3010
- }
3011
- declare const PackSelectorV2: FC<PackSelectorProps>;
3012
-
3013
- interface FiltersProps {
3014
- values: Filter[];
3015
- onChange: (newValues: Filter[], filtersState?: FilterChange) => void;
3016
- tagsColor?: string;
3017
- filterByText: string;
3018
- clearAllText: string;
3019
- filtersSelectText: string;
3020
- isMobile: boolean;
3021
- applyText: string;
3022
- mobileBackArrowClick: () => void;
3023
- mobileApplyButtonClick: () => void;
3024
- onResetValues: () => void;
3025
- }
3026
- declare const Filters: ({ values, onChange, tagsColor, filterByText, clearAllText, isMobile, filtersSelectText, applyText, mobileApplyButtonClick, mobileBackArrowClick, onResetValues, }: FiltersProps) => JSX.Element;
3027
-
3028
- interface SearchNavigationProps {
3029
- returnText?: string;
3030
- returnUrl?: string;
3031
- steps?: string[];
3032
- returnAction?: () => void;
3033
- }
3034
- declare const SearchNavigation: ({ returnText, returnUrl, steps, returnAction, }: SearchNavigationProps) => JSX.Element;
3035
-
3036
- interface TabProps$1 {
3037
- title: string;
3038
- content: ReactNode;
3039
- }
3040
- interface TabsProps {
3041
- backgroundColor?: string;
3042
- initialSelected?: string;
3043
- tabsMaxWidth?: string;
3044
- tabs: TabProps$1[];
3045
- }
3046
- declare const Tabs: ({ backgroundColor, tabs, initialSelected, tabsMaxWidth, }: TabsProps) => JSX.Element | null;
3047
-
3048
- interface TabProps {
3049
- title: string;
3050
- titleSize?: string;
3051
- selectedTitleWeight?: number;
3052
- height?: string;
3053
- selected?: boolean;
3054
- color?: string;
3055
- tabsMaxWidth?: string;
3056
- onClick: (clickedTab: string) => void;
3057
- }
3058
- declare const Tab: ({ title, titleSize, height, selectedTitleWeight, selected, onClick, color, tabsMaxWidth, }: TabProps) => JSX.Element;
3059
-
3060
- interface IconsWithTitleProps {
3061
- backgroundColor: string;
3062
- iconColor: string;
3063
- iconName: string;
3064
- iconFolder?: string;
3065
- withWrapper?: boolean;
3066
- iconTitle: string;
3067
- iconSizeDesktop?: number;
3068
- iconSizeMobile?: number;
3069
- iconTitlePosition?: 'top' | 'bottom' | 'left' | 'right';
3070
- iconTitleStyle?: string;
3071
- iconStyle?: string;
3072
- isTitleInnerHtml?: boolean;
3073
- }
3074
- declare const IconsWithTitle: ({ iconName, iconTitle, iconFolder, withWrapper, backgroundColor, iconColor, iconSizeDesktop, iconSizeMobile, iconTitlePosition, iconTitleStyle, iconStyle, isTitleInnerHtml, }: IconsWithTitleProps) => JSX.Element | null;
3075
-
3076
- interface NoteProps {
3077
- 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;
3078
3194
  color?: string;
3079
- backgroundColor?: string;
3080
- importantNoteText: string;
3081
- text: string;
3082
- }
3083
- declare const Note: ({ accentColor, color, backgroundColor, importantNoteText, text, }: NoteProps) => JSX.Element;
3195
+ } & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
3084
3196
 
3085
3197
  interface TextWithImageProps {
3086
3198
  title: string;
@@ -3102,198 +3214,94 @@ interface TextWithImageProps {
3102
3214
  }
3103
3215
  declare const TextWithImage: ({ title, text, children, buttomText, backgroundColor, imageLeftSide, titleStyle, textStyle, buttonWideOnMobile, ...props }: TextWithImageProps) => _emotion_react_jsx_runtime.JSX.Element;
3104
3216
 
3105
- interface AccordionOptionsProps {
3106
- titleColor: string;
3107
- accordions: AccordionProps[];
3217
+ interface TimeProps {
3218
+ hours: number;
3219
+ minutes: number;
3220
+ seconds: number;
3108
3221
  }
3109
- declare const AccordionOptions: ({ titleColor, accordions }: AccordionOptionsProps) => JSX.Element;
3110
-
3111
- interface ShortBannerProps {
3112
- title: string;
3113
- bannerText: string;
3114
- backgroundColor: string;
3115
- alignCenter?: boolean;
3116
- widthAuto?: boolean;
3117
- textColor: string;
3222
+ interface TimerProps extends TimeProps {
3223
+ onTimeUp: () => void;
3224
+ displayZeroValues?: boolean;
3118
3225
  }
3119
- declare const ShortBanner: ({ textColor, title, bannerText, backgroundColor, alignCenter, widthAuto, }: ShortBannerProps) => JSX.Element;
3226
+ declare const Timer: ({ onTimeUp, displayZeroValues, ...rest }: TimerProps) => JSX.Element;
3120
3227
 
3121
- declare enum BeforeAfterVariant {
3122
- UserInfoText = "UserInfoText",
3123
- 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;
3124
3245
  }
3125
- declare type NewSize = 'small' | 'medium' | 'large';
3126
- declare const componentSizeMapper: {
3127
- [size in ComponentSize$1]: NewSize;
3128
- };
3246
+ declare const Tooltip: ({ children, position, content, backgroundColor, align, maxWidth, onClick, header, }: TooltipProps) => JSX.Element;
3129
3247
 
3130
- declare type BeforeAfterCardProps = {
3131
- name: string;
3132
- age?: string;
3133
- months?: string;
3134
- beforeImage: string;
3135
- afterImage: string;
3136
- alignCenter?: boolean;
3137
- imageBorderRadius?: string;
3138
- size?: ComponentSize$1;
3139
- variant?: BeforeAfterVariant;
3140
- description?: string;
3141
- reviewDays?: string;
3248
+ declare type SubtotalOption = {
3249
+ label: string;
3250
+ value: string;
3142
3251
  };
3143
- 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
+ }
3144
3267
 
3145
- interface ImageCardWithDescriptionProps {
3146
- image: string;
3147
- title?: string;
3148
- description?: string;
3149
- titlePosition?: 'center' | 'left';
3150
- }
3151
- 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
+ };
3152
3282
 
3153
3283
  interface Checkpoint$1 {
3154
3284
  day: string;
3155
3285
  date: string;
3156
3286
  statusMessage: string;
3157
3287
  }
3158
- interface TrackingProgressProps {
3288
+ interface TrackingProgressV2Props {
3159
3289
  checkPoints: Checkpoint$1[];
3160
3290
  amountOfCheckPoints: number;
3291
+ warning?: boolean;
3161
3292
  }
3162
- declare const TrackingProgress: ({ checkPoints, amountOfCheckPoints }: TrackingProgressProps) => JSX.Element;
3293
+ declare const TrackingProgressV2: ({ checkPoints, amountOfCheckPoints, warning, }: TrackingProgressV2Props) => JSX.Element;
3163
3294
 
3164
3295
  interface Checkpoint {
3165
3296
  day: string;
3166
3297
  date: string;
3167
3298
  statusMessage: string;
3168
3299
  }
3169
- interface TrackingProgressV2Props {
3300
+ interface TrackingProgressProps {
3170
3301
  checkPoints: Checkpoint[];
3171
3302
  amountOfCheckPoints: number;
3172
- warning?: boolean;
3173
- }
3174
- declare const TrackingProgressV2: ({ checkPoints, amountOfCheckPoints, warning, }: TrackingProgressV2Props) => JSX.Element;
3175
-
3176
- interface ReviewsHeaderProps {
3177
- title?: string;
3178
- rating: number;
3179
- reviews: number;
3180
- reviewsText: string;
3181
- reviewsSummary: string[];
3182
- onClickReview: (reveiw: string) => void;
3183
- }
3184
- declare const ReviewsHeader: ({ title, rating, reviews, reviewsText, reviewsSummary, onClickReview, }: ReviewsHeaderProps) => JSX.Element;
3185
-
3186
- interface ReviewProps {
3187
- reviewId: string;
3188
- reviewerName: string;
3189
- date: Date;
3190
- rating: number;
3191
- stars: {
3192
- color: string;
3193
- size: ComponentSize.Medium | ComponentSize.Small;
3194
- };
3195
- title: string;
3196
- description: string;
3197
- image?: {
3198
- src: string;
3199
- alt: string;
3200
- };
3201
- modalId: string;
3202
- maxFullScreen?: boolean;
3203
- verified?: boolean;
3204
- productImage?: string;
3205
- productTitle?: string;
3206
- productLink?: string;
3207
- helpfulCount?: number;
3208
- helpfulAction?: (id: string) => void;
3209
- notHelpfulCount?: number;
3210
- notHelpfulAction?: (id: string) => void;
3211
- }
3212
- declare const Review: ({ reviewId, reviewerName, date, rating, stars, title, description, image, modalId, maxFullScreen, verified, productImage, productTitle, productLink, helpfulCount, helpfulAction, notHelpfulCount, notHelpfulAction, }: ReviewProps) => JSX.Element;
3213
-
3214
- interface ProductGalleryMobileProps {
3215
- images: ImageType[];
3216
- selectedValue?: ImageType;
3217
- topTag?: JSX.Element;
3218
- bottomTag?: JSX.Element;
3219
- productImageDataTestId?: string;
3220
- slideDotsDataTestId?: string;
3221
- borderRadiusVariant?: boolean;
3222
- }
3223
- declare const ProductGalleryMobileV2: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, slideDotsDataTestId, borderRadiusVariant, }: ProductGalleryMobileProps) => JSX.Element;
3224
-
3225
- interface AbsorbencyLevelProps {
3226
- dropTotal: number;
3227
- drops: number;
3228
- absorbencyTitle: string;
3229
- absorbencyDescription: string;
3230
- }
3231
- declare const AbsorbencyLevel: ({ dropTotal, drops, absorbencyTitle, absorbencyDescription, }: AbsorbencyLevelProps) => JSX.Element;
3232
-
3233
- interface HurryUpProps {
3234
- hurryUpText: string;
3235
- backgroundColor?: string;
3236
- showTimer?: boolean;
3237
- iconSize?: number;
3238
- textPosition?: 'left' | 'right' | 'center';
3239
- }
3240
- declare const HurryUp: ({ hurryUpText, backgroundColor, iconSize, textPosition, showTimer, }: HurryUpProps) => JSX.Element;
3241
-
3242
- interface BuyNowPayLaterProps {
3243
- displayBNPL: boolean;
3244
- installments: number;
3245
- installmentPrice: string;
3246
- iconFolder?: string;
3247
- iconName: string;
3248
- showLogo?: boolean;
3249
- iconColor?: string;
3250
- fontSize?: string;
3251
- }
3252
- declare const BuyNowPayLater: ({ displayBNPL, installments, installmentPrice, iconFolder, iconName, showLogo, iconColor, fontSize, }: BuyNowPayLaterProps) => JSX.Element | null;
3253
-
3254
- interface StrengthBarProps {
3255
- barsFilled?: number;
3256
- supportText?: string;
3257
- }
3258
- declare const StrengthBars: ({ barsFilled, supportText }: StrengthBarProps) => JSX.Element;
3259
-
3260
- interface DropdownProps {
3261
- options: SelectedOption[];
3262
- defaultLabel: string;
3263
- onOptionSelect: (option: string) => void;
3264
- }
3265
- interface SelectedOption {
3266
- size: string;
3267
- detail: string;
3268
- }
3269
- declare const SizeDropdown: React__default.FC<DropdownProps>;
3270
-
3271
- interface IAutoshipProps {
3272
- singlePurchaseLabel: string;
3273
- subscriptionLabel: string;
3274
- tooltipContent?: {
3275
- text: string;
3276
- color?: string;
3277
- };
3278
- tooltipHeader?: {
3279
- title: string;
3280
- };
3281
- pricing?: {
3282
- originalPrice: number;
3283
- discountedPrice: number;
3284
- discountPercentage: number;
3285
- };
3286
- frequencyValues?: Array<number>;
3287
- frequencyUnit?: string;
3288
- autoshipBenefits: string[];
3289
- onChange: (values: {
3290
- subscriptionPeriod: number;
3291
- autoship: boolean;
3292
- originalPrice: number;
3293
- discountedPrice: number;
3294
- }) => void;
3295
3303
  }
3296
- declare const Autoship: ({ tooltipContent, tooltipHeader, pricing, frequencyValues, frequencyUnit, autoshipBenefits, onChange, singlePurchaseLabel, subscriptionLabel, }: IAutoshipProps) => JSX.Element;
3304
+ declare const TrackingProgress: ({ checkPoints, amountOfCheckPoints }: TrackingProgressProps) => JSX.Element;
3297
3305
 
3298
3306
  declare const useOnClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: Event) => void) => void;
3299
3307
 
@@ -3338,4 +3346,4 @@ declare const getSrcSet: (imgLink: string, ...breakpoints: number[]) => string;
3338
3346
 
3339
3347
  declare const mediaQueries: facepaint.DynamicStyleFunction;
3340
3348
 
3341
- 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 };