@trafilea/afrodita-components 5.0.0-beta.316 → 5.0.0-beta.318
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 +76 -61
- package/build/index.esm.js +489 -417
- package/build/index.esm.js.map +1 -1
- package/build/index.js +489 -416
- package/build/index.js.map +1 -1
- package/build/theme/thespadr.theme.js +13 -13
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import React__default, { ReactFragment, FC, ReactNode, ElementType, CSSProperties, AriaAttributes, HTMLAttributes, LabelHTMLAttributes, RefObject } from 'react';
|
|
3
4
|
import { IconProps as IconProps$1 } from 'src/types/types';
|
|
4
5
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
5
6
|
import * as _emotion_styled from '@emotion/styled';
|
|
6
7
|
import { StyledComponent } from '@emotion/styled';
|
|
7
8
|
export { default as styled } from '@emotion/styled';
|
|
8
|
-
import { TextProps as TextProps$1 } from 'src/components/text/Text';
|
|
9
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';
|
|
10
11
|
import * as _emotion_react from '@emotion/react';
|
|
11
12
|
export { Global, css } from '@emotion/react';
|
|
12
13
|
import { ComponentSize as ComponentSize$1 } from 'src/types/enums';
|
|
@@ -35,8 +36,8 @@ declare enum InputValidationType {
|
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
interface IconProps {
|
|
38
|
-
width?: number;
|
|
39
|
-
height?: number;
|
|
39
|
+
width?: number | string;
|
|
40
|
+
height?: number | string;
|
|
40
41
|
fill?: string;
|
|
41
42
|
title?: string;
|
|
42
43
|
testId?: string;
|
|
@@ -865,16 +866,16 @@ declare const Messenger: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
|
865
866
|
|
|
866
867
|
declare const Comment: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
867
868
|
|
|
868
|
-
|
|
869
|
-
width?: number;
|
|
870
|
-
height?: number;
|
|
869
|
+
declare type IconWrapperProps = {
|
|
870
|
+
width?: number | string;
|
|
871
|
+
height?: number | string;
|
|
871
872
|
title?: string;
|
|
872
873
|
viewBoxX: number;
|
|
873
874
|
viewBoxY: number;
|
|
874
|
-
children:
|
|
875
|
+
children: React__default.ReactNode;
|
|
875
876
|
testId?: string;
|
|
876
877
|
fill?: string;
|
|
877
|
-
}
|
|
878
|
+
};
|
|
878
879
|
|
|
879
880
|
declare const Mail: ({ height, width, }: Pick<IconWrapperProps, 'width' | 'height'>) => JSX.Element;
|
|
880
881
|
|
|
@@ -1168,7 +1169,7 @@ interface DialogDropdownProps {
|
|
|
1168
1169
|
value: string;
|
|
1169
1170
|
}[];
|
|
1170
1171
|
position: DialogPositionProps;
|
|
1171
|
-
style?:
|
|
1172
|
+
style?: React__default.CSSProperties;
|
|
1172
1173
|
className?: string;
|
|
1173
1174
|
}
|
|
1174
1175
|
declare const DropdownDialog: ({ options, position: { top, right }, style, className, }: DialogDropdownProps) => JSX.Element;
|
|
@@ -1192,9 +1193,9 @@ interface SizeFitGuideProps {
|
|
|
1192
1193
|
declare const SizeFitGuide: ({ title, fitPercentage, onClick, onClickFitPercentage, }: SizeFitGuideProps) => JSX.Element;
|
|
1193
1194
|
|
|
1194
1195
|
interface BaseButtonProps {
|
|
1195
|
-
children:
|
|
1196
|
-
renderLeading?:
|
|
1197
|
-
renderTrailing?:
|
|
1196
|
+
children: React__default.ReactNode;
|
|
1197
|
+
renderLeading?: React__default.ReactNode;
|
|
1198
|
+
renderTrailing?: React__default.ReactNode;
|
|
1198
1199
|
disabled?: boolean;
|
|
1199
1200
|
type?: ButtonType;
|
|
1200
1201
|
onClick: () => void;
|
|
@@ -1226,7 +1227,7 @@ interface DiscountTagProps {
|
|
|
1226
1227
|
borderColor?: string;
|
|
1227
1228
|
textColor?: string;
|
|
1228
1229
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
1229
|
-
style?:
|
|
1230
|
+
style?: React__default.CSSProperties;
|
|
1230
1231
|
bordersRounded?: boolean;
|
|
1231
1232
|
}
|
|
1232
1233
|
declare const DiscountTag: ({ discount, offText, savings, showSavings, disabled, backgroundColor, borderColor, textColor, size, style, bordersRounded, }: DiscountTagProps) => JSX.Element;
|
|
@@ -1239,7 +1240,7 @@ interface ClubOfferTagProps {
|
|
|
1239
1240
|
borderColor?: string;
|
|
1240
1241
|
textColor?: string;
|
|
1241
1242
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
1242
|
-
style?:
|
|
1243
|
+
style?: React__default.CSSProperties;
|
|
1243
1244
|
}
|
|
1244
1245
|
declare const ClubOfferTag: ({ clubOfferText, className, disabled, backgroundColor, borderColor, textColor, size, style, }: ClubOfferTagProps) => JSX.Element;
|
|
1245
1246
|
|
|
@@ -1251,18 +1252,19 @@ interface PriceLabelProps {
|
|
|
1251
1252
|
discount?: DiscountTagProps;
|
|
1252
1253
|
clubOffer?: ClubOfferTagProps;
|
|
1253
1254
|
finalPriceStyled?: boolean;
|
|
1254
|
-
finalPriceStyle?:
|
|
1255
|
+
finalPriceStyle?: React__default.CSSProperties;
|
|
1255
1256
|
originalPriceStyled?: boolean;
|
|
1256
1257
|
originalPriceUnderlined?: boolean;
|
|
1257
1258
|
testId?: string;
|
|
1258
1259
|
clubStyle?: boolean;
|
|
1259
1260
|
bordersRounded?: boolean;
|
|
1260
1261
|
}
|
|
1261
|
-
declare const PriceLabel:
|
|
1262
|
+
declare const PriceLabel: React__default.FC<PriceLabelProps>;
|
|
1262
1263
|
|
|
1263
|
-
declare
|
|
1264
|
-
savingsDisplay?: boolean
|
|
1265
|
-
}
|
|
1264
|
+
declare type Props = PriceLabelProps & {
|
|
1265
|
+
savingsDisplay?: boolean;
|
|
1266
|
+
};
|
|
1267
|
+
declare const PriceLabelV2: React__default.FC<Props>;
|
|
1266
1268
|
|
|
1267
1269
|
interface ColorPickerProps {
|
|
1268
1270
|
options: ColorPickerOption[];
|
|
@@ -1348,15 +1350,15 @@ interface MotivatorProgressBarProps {
|
|
|
1348
1350
|
declare const MotivatorProgressBar: ({ fillColor, backgroundColor, unfilledColor, currencyCode, endingValue, currentAmount, rewardUnlockedMessage, }: MotivatorProgressBarProps) => JSX.Element;
|
|
1349
1351
|
|
|
1350
1352
|
interface IconButtonProps {
|
|
1351
|
-
children:
|
|
1353
|
+
children: React__default.ReactNode;
|
|
1352
1354
|
disabled?: boolean;
|
|
1353
|
-
onClick?: (event:
|
|
1355
|
+
onClick?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
1354
1356
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
1355
1357
|
}
|
|
1356
1358
|
declare const IconButton: ({ children, disabled, size, onClick, }: IconButtonProps) => JSX.Element;
|
|
1357
1359
|
|
|
1358
1360
|
interface TooltipProps {
|
|
1359
|
-
children:
|
|
1361
|
+
children: React__default.ReactNode;
|
|
1360
1362
|
position: ComponentPosition;
|
|
1361
1363
|
align?: 'start' | 'center' | 'end';
|
|
1362
1364
|
content?: {
|
|
@@ -2145,7 +2147,7 @@ interface CheckboxProps {
|
|
|
2145
2147
|
backgroundColor?: string;
|
|
2146
2148
|
variant: 'primary' | 'secondary' | 'color';
|
|
2147
2149
|
}
|
|
2148
|
-
declare const Checkbox:
|
|
2150
|
+
declare const Checkbox: React__default.FC<CheckboxProps>;
|
|
2149
2151
|
|
|
2150
2152
|
interface RadioProps$1 {
|
|
2151
2153
|
name: string;
|
|
@@ -2156,7 +2158,7 @@ interface RadioProps$1 {
|
|
|
2156
2158
|
checked?: boolean;
|
|
2157
2159
|
disabled?: boolean;
|
|
2158
2160
|
onChange: (option: RadioGroupOption) => void;
|
|
2159
|
-
style?:
|
|
2161
|
+
style?: React__default.CSSProperties;
|
|
2160
2162
|
}
|
|
2161
2163
|
declare const RadioPrimary: ({ style, name, value, id, label, checked, disabled, onChange, size, }: RadioProps$1) => JSX.Element;
|
|
2162
2164
|
|
|
@@ -2167,7 +2169,7 @@ interface RadioGroupInputProps {
|
|
|
2167
2169
|
onChange: (value: RadioGroupOption) => void;
|
|
2168
2170
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
2169
2171
|
disabled?: boolean;
|
|
2170
|
-
style?:
|
|
2172
|
+
style?: React__default.CSSProperties;
|
|
2171
2173
|
}
|
|
2172
2174
|
declare const RadioGroupInput: ({ style, name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
|
|
2173
2175
|
|
|
@@ -2178,7 +2180,7 @@ interface ClubRadioGroupInputProps {
|
|
|
2178
2180
|
onChange: (value: RadioGroupOption) => void;
|
|
2179
2181
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
2180
2182
|
disabled?: boolean;
|
|
2181
|
-
style?:
|
|
2183
|
+
style?: React__default.CSSProperties;
|
|
2182
2184
|
}
|
|
2183
2185
|
declare const ClubRadioGroupInput: ({ style, name, options, value, onChange, size, disabled, }: ClubRadioGroupInputProps) => JSX.Element;
|
|
2184
2186
|
|
|
@@ -2263,7 +2265,7 @@ declare const Timer: ({ onTimeUp, displayZeroValues, ...rest }: TimerProps) => J
|
|
|
2263
2265
|
interface BaseInputCommonProps {
|
|
2264
2266
|
id?: string;
|
|
2265
2267
|
value?: string;
|
|
2266
|
-
innerRef?:
|
|
2268
|
+
innerRef?: React__default.Ref<HTMLInputElement>;
|
|
2267
2269
|
onBlur?: () => void;
|
|
2268
2270
|
onFocus?: () => void;
|
|
2269
2271
|
onChange?: (value: string, event: any) => void;
|
|
@@ -2275,7 +2277,7 @@ interface BaseInputCommonProps {
|
|
|
2275
2277
|
onValidation?: (status: InputValidationType) => void;
|
|
2276
2278
|
disabled?: boolean;
|
|
2277
2279
|
required?: string;
|
|
2278
|
-
children?:
|
|
2280
|
+
children?: React__default.ReactNode;
|
|
2279
2281
|
size?: 'regular' | 'small';
|
|
2280
2282
|
inlinePlaceholder?: boolean;
|
|
2281
2283
|
hasError?: boolean;
|
|
@@ -2408,7 +2410,7 @@ interface ScrollToTopProps {
|
|
|
2408
2410
|
scrollToTopText: string;
|
|
2409
2411
|
onClick: () => void;
|
|
2410
2412
|
fill?: string;
|
|
2411
|
-
Icon?:
|
|
2413
|
+
Icon?: React__default.FC<IconProps$1>;
|
|
2412
2414
|
}
|
|
2413
2415
|
declare const ScrollToTop: ({ scrollToTopText, onClick, fill, Icon, }: ScrollToTopProps) => JSX.Element;
|
|
2414
2416
|
|
|
@@ -2436,7 +2438,7 @@ interface Price extends Pick<PriceLabelProps, 'finalPrice' | 'originalPrice'> {
|
|
|
2436
2438
|
color?: string;
|
|
2437
2439
|
}
|
|
2438
2440
|
interface ProductOrderItemProps {
|
|
2439
|
-
title:
|
|
2441
|
+
title: React__default.ReactNode | string;
|
|
2440
2442
|
subtitle: string;
|
|
2441
2443
|
className?: string;
|
|
2442
2444
|
image: {
|
|
@@ -2449,7 +2451,7 @@ interface ProductOrderItemProps {
|
|
|
2449
2451
|
text: string;
|
|
2450
2452
|
backgroundColor: string;
|
|
2451
2453
|
};
|
|
2452
|
-
finalPriceStyle?:
|
|
2454
|
+
finalPriceStyle?: React__default.CSSProperties;
|
|
2453
2455
|
}
|
|
2454
2456
|
declare const SimpleOrderItem: ({ title, className, subtitle, image, price, tag, quantity, finalPriceStyle, }: ProductOrderItemProps) => JSX.Element;
|
|
2455
2457
|
|
|
@@ -2627,15 +2629,16 @@ interface ProductItemSmallMobileProps extends ProductItemProps {
|
|
|
2627
2629
|
};
|
|
2628
2630
|
clubPrice?: string;
|
|
2629
2631
|
showClubPriceLabel?: boolean;
|
|
2632
|
+
isRatingLoading?: boolean;
|
|
2630
2633
|
}
|
|
2631
2634
|
|
|
2632
|
-
declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent:
|
|
2635
|
+
declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: React__default.FC<P>, data: ProductItemProps[]): {
|
|
2633
2636
|
(props: Omit<P, 'title' | 'image' | 'price' | 'rating'>): JSX.Element;
|
|
2634
2637
|
displayName: string;
|
|
2635
2638
|
};
|
|
2636
2639
|
|
|
2637
2640
|
declare const Collection: {
|
|
2638
|
-
ProductItemMobile:
|
|
2641
|
+
ProductItemMobile: React.FC<ProductItemSmallMobileProps>;
|
|
2639
2642
|
withProductGrid: typeof withProductGrid;
|
|
2640
2643
|
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;
|
|
2641
2644
|
};
|
|
@@ -2649,11 +2652,11 @@ interface StarListProps {
|
|
|
2649
2652
|
declare const StarList: ({ rating, starsNumber, fill, size, }: StarListProps) => JSX.Element;
|
|
2650
2653
|
|
|
2651
2654
|
interface DrawerProps {
|
|
2652
|
-
children:
|
|
2655
|
+
children: React__default.ReactNode;
|
|
2653
2656
|
isOpen: boolean;
|
|
2654
2657
|
onClose?: () => void;
|
|
2655
2658
|
onOpen?: () => void;
|
|
2656
|
-
onClickOutside?: (event:
|
|
2659
|
+
onClickOutside?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
2657
2660
|
backgroundColor?: string;
|
|
2658
2661
|
backdropColor?: string;
|
|
2659
2662
|
position?: 'left' | 'right';
|
|
@@ -2716,7 +2719,7 @@ declare type TextHeroProps = {
|
|
|
2716
2719
|
href: never;
|
|
2717
2720
|
};
|
|
2718
2721
|
declare type TextDisplayProps = {
|
|
2719
|
-
variant: 'display1' | 'display2';
|
|
2722
|
+
variant: 'display1' | 'display2' | 'display3';
|
|
2720
2723
|
weight?: 'bold' | 'demi';
|
|
2721
2724
|
size?: 'regular' | 'xsmall';
|
|
2722
2725
|
underline?: never;
|
|
@@ -2739,7 +2742,7 @@ declare type TextHeadingProps = {
|
|
|
2739
2742
|
};
|
|
2740
2743
|
declare type TextBodyProps = {
|
|
2741
2744
|
variant: 'body';
|
|
2742
|
-
size?: 'regular' | 'small' | 'xsmall';
|
|
2745
|
+
size?: 'large' | 'regular' | 'small' | 'xsmall';
|
|
2743
2746
|
weight?: 'bold' | 'demi' | 'regular';
|
|
2744
2747
|
underline?: never;
|
|
2745
2748
|
disabled?: never;
|
|
@@ -2785,7 +2788,7 @@ declare type TextLabelProps = {
|
|
|
2785
2788
|
variant: 'label';
|
|
2786
2789
|
color?: string;
|
|
2787
2790
|
weight?: 'regular' | 'demi';
|
|
2788
|
-
size?: 'regular' | 'small';
|
|
2791
|
+
size?: 'large' | 'regular' | 'small';
|
|
2789
2792
|
underline?: never;
|
|
2790
2793
|
disabled?: boolean;
|
|
2791
2794
|
wide?: never;
|
|
@@ -2851,7 +2854,7 @@ interface RadioProps {
|
|
|
2851
2854
|
checked?: boolean;
|
|
2852
2855
|
disabled?: boolean;
|
|
2853
2856
|
onChange: (option: RadioGroupOption) => void;
|
|
2854
|
-
style?:
|
|
2857
|
+
style?: React__default.CSSProperties;
|
|
2855
2858
|
}
|
|
2856
2859
|
declare const RadioInput: ({ style, name, value, id, label, checked, disabled, onChange, size, }: RadioProps) => JSX.Element;
|
|
2857
2860
|
|
|
@@ -2868,7 +2871,7 @@ declare type ModalProps = {
|
|
|
2868
2871
|
dismissable?: boolean;
|
|
2869
2872
|
maxFullScreen?: boolean;
|
|
2870
2873
|
padding?: string;
|
|
2871
|
-
children:
|
|
2874
|
+
children: React__default.ReactNode;
|
|
2872
2875
|
};
|
|
2873
2876
|
interface ContainerProps {
|
|
2874
2877
|
maxFullScreen: boolean;
|
|
@@ -2877,8 +2880,8 @@ interface ContainerProps {
|
|
|
2877
2880
|
}
|
|
2878
2881
|
declare const Overlay: _emotion_styled.StyledComponent<{
|
|
2879
2882
|
theme?: _emotion_react.Theme | undefined;
|
|
2880
|
-
as?:
|
|
2881
|
-
} & Pick<ContainerProps, "opened">,
|
|
2883
|
+
as?: React__default.ElementType<any> | undefined;
|
|
2884
|
+
} & Pick<ContainerProps, "opened">, React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2882
2885
|
declare const Modal: FC<ModalProps>;
|
|
2883
2886
|
declare const modalEvent: (id: string, detail: Omit<Events['modal'], 'id'>) => void;
|
|
2884
2887
|
declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
|
|
@@ -3061,9 +3064,9 @@ interface TextWithImageProps {
|
|
|
3061
3064
|
btnBGColor?: string;
|
|
3062
3065
|
btnHoverBGColor?: string;
|
|
3063
3066
|
imgVideo: imageVideoProps;
|
|
3064
|
-
contentAfterButton?:
|
|
3065
|
-
titleStyle?:
|
|
3066
|
-
textStyle?:
|
|
3067
|
+
contentAfterButton?: React__default.ReactNode;
|
|
3068
|
+
titleStyle?: React__default.CSSProperties;
|
|
3069
|
+
textStyle?: React__default.CSSProperties;
|
|
3067
3070
|
buttonWideOnMobile?: boolean;
|
|
3068
3071
|
}
|
|
3069
3072
|
declare const TextWithImage: ({ title, text, children, buttomText, backgroundColor, imageLeftSide, titleStyle, textStyle, buttonWideOnMobile, ...props }: TextWithImageProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -3084,7 +3087,16 @@ interface ShortBannerProps {
|
|
|
3084
3087
|
}
|
|
3085
3088
|
declare const ShortBanner: ({ textColor, title, bannerText, backgroundColor, alignCenter, widthAuto, }: ShortBannerProps) => JSX.Element;
|
|
3086
3089
|
|
|
3087
|
-
|
|
3090
|
+
declare enum BeforeAfterVariant {
|
|
3091
|
+
UserInfoText = "UserInfoText",
|
|
3092
|
+
ResultFeedback = "ResultFeedback"
|
|
3093
|
+
}
|
|
3094
|
+
declare type NewSize = 'small' | 'medium' | 'large';
|
|
3095
|
+
declare const componentSizeMapper: {
|
|
3096
|
+
[size in ComponentSize$1]: NewSize;
|
|
3097
|
+
};
|
|
3098
|
+
|
|
3099
|
+
declare type BeforeAfterCardProps = {
|
|
3088
3100
|
name: string;
|
|
3089
3101
|
age?: string;
|
|
3090
3102
|
months?: string;
|
|
@@ -3092,9 +3104,12 @@ interface BeforeAfterCardProps {
|
|
|
3092
3104
|
afterImage: string;
|
|
3093
3105
|
alignCenter?: boolean;
|
|
3094
3106
|
imageBorderRadius?: string;
|
|
3095
|
-
size?: ComponentSize;
|
|
3096
|
-
|
|
3097
|
-
|
|
3107
|
+
size?: ComponentSize$1;
|
|
3108
|
+
variant?: BeforeAfterVariant;
|
|
3109
|
+
description?: string;
|
|
3110
|
+
reviewDays?: string;
|
|
3111
|
+
};
|
|
3112
|
+
declare const BeforeAfterCard: React__default.FC<BeforeAfterCardProps>;
|
|
3098
3113
|
|
|
3099
3114
|
interface ImageCardWithDescriptionProps {
|
|
3100
3115
|
image: string;
|
|
@@ -3220,7 +3235,7 @@ interface SelectedOption {
|
|
|
3220
3235
|
size: string;
|
|
3221
3236
|
detail: string;
|
|
3222
3237
|
}
|
|
3223
|
-
declare const SizeDropdown:
|
|
3238
|
+
declare const SizeDropdown: React__default.FC<DropdownProps>;
|
|
3224
3239
|
|
|
3225
3240
|
interface IAutoshipProps {
|
|
3226
3241
|
singlePurchaseLabel: string;
|
|
@@ -3249,15 +3264,6 @@ interface IAutoshipProps {
|
|
|
3249
3264
|
}
|
|
3250
3265
|
declare const Autoship: ({ tooltipContent, tooltipHeader, pricing, frequencyValues, frequencyUnit, autoshipBenefits, onChange, singlePurchaseLabel, subscriptionLabel, }: IAutoshipProps) => JSX.Element;
|
|
3251
3266
|
|
|
3252
|
-
declare global {
|
|
3253
|
-
interface Events {
|
|
3254
|
-
modal: {
|
|
3255
|
-
id: string;
|
|
3256
|
-
type: 'open' | 'close';
|
|
3257
|
-
};
|
|
3258
|
-
}
|
|
3259
|
-
}
|
|
3260
|
-
|
|
3261
3267
|
declare const useOnClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: Event) => void) => void;
|
|
3262
3268
|
|
|
3263
3269
|
declare const useWindowDimensions: (breakpoints: ThemeBreakpoints) => {
|
|
@@ -3268,6 +3274,15 @@ declare const useWindowDimensions: (breakpoints: ThemeBreakpoints) => {
|
|
|
3268
3274
|
};
|
|
3269
3275
|
};
|
|
3270
3276
|
|
|
3277
|
+
declare global {
|
|
3278
|
+
interface Events {
|
|
3279
|
+
modal: {
|
|
3280
|
+
id: string;
|
|
3281
|
+
type: 'open' | 'close';
|
|
3282
|
+
};
|
|
3283
|
+
}
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3271
3286
|
/**
|
|
3272
3287
|
* @returns number formatted with "," and 2 decimals as string
|
|
3273
3288
|
*/
|
|
@@ -3292,4 +3307,4 @@ declare const getSrcSet: (imgLink: string, ...breakpoints: number[]) => string;
|
|
|
3292
3307
|
|
|
3293
3308
|
declare const mediaQueries: facepaint.DynamicStyleFunction;
|
|
3294
3309
|
|
|
3295
|
-
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, BeforeAfterCard, 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, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
|
3310
|
+
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 };
|