@trafilea/afrodita-components 6.56.4 → 6.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.d.ts +15 -8
- package/build/index.esm.js +458 -391
- package/build/index.esm.js.map +1 -1
- package/build/index.js +457 -390
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.js +2 -0
- package/build/theme/shapermint.theme.js +2 -0
- package/build/theme/thebodcon.theme.js +2 -0
- package/build/theme/thespadr.theme.js +2 -0
- package/build/theme/truekind.theme.js +2 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -11,10 +11,10 @@ export { default as styled } from '@emotion/styled';
|
|
|
11
11
|
import * as _emotion_react from '@emotion/react';
|
|
12
12
|
import { Theme as Theme$1 } from '@emotion/react';
|
|
13
13
|
export { CacheProvider, Global, css } from '@emotion/react';
|
|
14
|
+
import { IconName as IconName$1, ImageProps as ImageProps$1 } from 'src/components/atoms';
|
|
14
15
|
import { RadioGroupOption as RadioGroupOption$1, IconProps as IconProps$2, ContentType as ContentType$1 } from 'src/types/types';
|
|
15
|
-
import { IconName as IconName$
|
|
16
|
+
import { IconName as IconName$2 } from 'src/components/atoms/Icon/types';
|
|
16
17
|
import { OfferAtCartBenefitProps as OfferAtCartBenefitProps$1 } from 'src/components/molecules';
|
|
17
|
-
import { ImageProps as ImageProps$1, IconName as IconName$2 } from 'src/components/atoms';
|
|
18
18
|
import { ProductItemProps as ProductItemProps$1 } from 'src/components/collection/product/types';
|
|
19
19
|
import facepaint from 'facepaint';
|
|
20
20
|
export { default as createCache } from '@emotion/cache';
|
|
@@ -62,7 +62,9 @@ declare enum ComponentPosition {
|
|
|
62
62
|
Top = 0,
|
|
63
63
|
Bottom = 1,
|
|
64
64
|
Left = 2,
|
|
65
|
-
Right = 3
|
|
65
|
+
Right = 3,
|
|
66
|
+
BottomLeft = 4,
|
|
67
|
+
BottomRight = 5
|
|
66
68
|
}
|
|
67
69
|
declare enum InputValidationType {
|
|
68
70
|
Error = 0,
|
|
@@ -120,6 +122,9 @@ declare type Props$3 = PriceLabelProps & {
|
|
|
120
122
|
pricePerItem?: string;
|
|
121
123
|
hasRoundedSavings?: boolean;
|
|
122
124
|
showDecimals?: boolean;
|
|
125
|
+
tooltipText?: string;
|
|
126
|
+
tooltipIcon?: IconName$1;
|
|
127
|
+
tooltipPosition?: ComponentPosition;
|
|
123
128
|
};
|
|
124
129
|
declare const PriceLabelV2: react__default.FC<Props$3>;
|
|
125
130
|
|
|
@@ -3423,8 +3428,9 @@ interface RadioGroupInputProps {
|
|
|
3423
3428
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
3424
3429
|
disabled?: boolean;
|
|
3425
3430
|
style?: react__default.CSSProperties;
|
|
3431
|
+
horizontal?: boolean;
|
|
3426
3432
|
}
|
|
3427
|
-
declare const RadioGroupInput: ({ style, name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
|
|
3433
|
+
declare const RadioGroupInput: ({ style, name, options, value, onChange, size, disabled, horizontal, }: RadioGroupInputProps) => JSX.Element;
|
|
3428
3434
|
|
|
3429
3435
|
interface ClubRadioGroupInputProps {
|
|
3430
3436
|
name: string;
|
|
@@ -3450,8 +3456,9 @@ interface RadioProps {
|
|
|
3450
3456
|
labelStyle?: React.CSSProperties;
|
|
3451
3457
|
useV2Style?: boolean;
|
|
3452
3458
|
icon?: ReactNode;
|
|
3459
|
+
horizontal?: boolean;
|
|
3453
3460
|
}
|
|
3454
|
-
declare const RadioInput: ({ style, name, value, id, label, checked, disabled, onChange, size, useV2Style, labelStyle, icon, }: RadioProps) => JSX.Element;
|
|
3461
|
+
declare const RadioInput: ({ style, name, value, id, label, checked, disabled, onChange, size, useV2Style, labelStyle, icon, horizontal, }: RadioProps) => JSX.Element;
|
|
3455
3462
|
|
|
3456
3463
|
interface StarListProps {
|
|
3457
3464
|
rating: number;
|
|
@@ -4008,7 +4015,7 @@ declare type AutoshipOfferCardProps$1 = {
|
|
|
4008
4015
|
closedCopy: TextType;
|
|
4009
4016
|
};
|
|
4010
4017
|
copyList: {
|
|
4011
|
-
icon: IconName$
|
|
4018
|
+
icon: IconName$2;
|
|
4012
4019
|
copy: TextType;
|
|
4013
4020
|
}[];
|
|
4014
4021
|
copy: TextType;
|
|
@@ -4023,7 +4030,7 @@ declare type AutoshipOfferCardProps = {
|
|
|
4023
4030
|
closedCopy: string;
|
|
4024
4031
|
};
|
|
4025
4032
|
copyList: {
|
|
4026
|
-
icon: IconName$
|
|
4033
|
+
icon: IconName$2;
|
|
4027
4034
|
copy: string | react__default.ReactNode;
|
|
4028
4035
|
}[];
|
|
4029
4036
|
copy: string | react__default.ReactNode;
|
|
@@ -4468,7 +4475,7 @@ declare type TwoCtasCardVersionsTypes = typeof BottomButtonVersionsTypes[keyof t
|
|
|
4468
4475
|
declare type DescriptionProps = {
|
|
4469
4476
|
text: string;
|
|
4470
4477
|
smallerText?: string;
|
|
4471
|
-
iconName?: IconName$
|
|
4478
|
+
iconName?: IconName$1;
|
|
4472
4479
|
type?: 'terms' | 'default';
|
|
4473
4480
|
link?: string;
|
|
4474
4481
|
};
|