@trafilea/afrodita-components 6.4.0 → 6.4.1
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 +12 -3
- package/build/index.esm.js +271 -285
- package/build/index.esm.js.map +1 -1
- package/build/index.js +271 -285
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +4 -0
- package/build/theme/shapermint.theme.d.ts +4 -0
- package/build/theme/thespadr.theme.d.ts +4 -0
- package/build/theme/thespadr.theme.js +5 -1
- package/build/theme/truekind.theme.d.ts +4 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1756,9 +1756,13 @@ declare type ThemeComponent = {
|
|
|
1756
1756
|
borderRadius?: string;
|
|
1757
1757
|
maxWidth?: string;
|
|
1758
1758
|
onMobile: {
|
|
1759
|
+
position?: string;
|
|
1759
1760
|
maxWidth?: string;
|
|
1760
1761
|
padding?: string;
|
|
1761
1762
|
backgroundColor?: string;
|
|
1763
|
+
titleHeight?: string;
|
|
1764
|
+
boxShadow?: string;
|
|
1765
|
+
borderRadius?: string;
|
|
1762
1766
|
};
|
|
1763
1767
|
};
|
|
1764
1768
|
expressCheckout: {
|
|
@@ -2970,18 +2974,21 @@ interface SizeFitGuideProps {
|
|
|
2970
2974
|
fitPercentage?: number;
|
|
2971
2975
|
onClick: () => void;
|
|
2972
2976
|
onClickFitPercentage?: () => void;
|
|
2977
|
+
hideIcon?: boolean;
|
|
2973
2978
|
}
|
|
2974
|
-
declare const SizeFitGuide: ({ title, fitPercentage, onClick, onClickFitPercentage, }: SizeFitGuideProps) => JSX.Element;
|
|
2979
|
+
declare const SizeFitGuide: ({ title, fitPercentage, onClick, onClickFitPercentage, hideIcon, }: SizeFitGuideProps) => JSX.Element;
|
|
2975
2980
|
|
|
2976
2981
|
interface SizeSelectorProps {
|
|
2977
2982
|
label: string;
|
|
2978
2983
|
sizes: SizeOption[];
|
|
2979
2984
|
selectedValue: SizeOption;
|
|
2980
2985
|
onChange: (size: SizeOption) => void;
|
|
2986
|
+
onClickSizeTip?: () => void;
|
|
2981
2987
|
inline?: boolean;
|
|
2982
2988
|
width?: string;
|
|
2989
|
+
hasSizeGuide?: boolean;
|
|
2983
2990
|
}
|
|
2984
|
-
declare const SizeSelector: ({ label, sizes, selectedValue, onChange, inline, width, }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2991
|
+
declare const SizeSelector: ({ label, sizes, selectedValue, onChange, onClickSizeTip, inline, width, hasSizeGuide, }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2985
2992
|
|
|
2986
2993
|
interface SliderNavigationProps {
|
|
2987
2994
|
children: JSX.Element | JSX.Element[] | StyledComponent<any>;
|
|
@@ -3250,6 +3257,7 @@ interface TooltipProps {
|
|
|
3250
3257
|
};
|
|
3251
3258
|
backgroundColor?: string;
|
|
3252
3259
|
maxWidth?: string;
|
|
3260
|
+
showCloseIcon?: boolean;
|
|
3253
3261
|
header?: {
|
|
3254
3262
|
title: string;
|
|
3255
3263
|
titleColor?: string;
|
|
@@ -3257,8 +3265,9 @@ interface TooltipProps {
|
|
|
3257
3265
|
iconFill?: string;
|
|
3258
3266
|
};
|
|
3259
3267
|
onClick?: () => void;
|
|
3268
|
+
withArrow?: boolean;
|
|
3260
3269
|
}
|
|
3261
|
-
declare const Tooltip: ({ children, position, content, backgroundColor, align, maxWidth, onClick, header, }: TooltipProps) => JSX.Element;
|
|
3270
|
+
declare const Tooltip: ({ children, position, content, backgroundColor, showCloseIcon, align, maxWidth, onClick, header, withArrow, }: TooltipProps) => JSX.Element;
|
|
3262
3271
|
|
|
3263
3272
|
declare type SubtotalOption = {
|
|
3264
3273
|
label: string;
|