@trafilea/afrodita-components 6.56.5 → 6.57.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 +11 -6
- package/build/index.esm.js +309 -275
- package/build/index.esm.js.map +1 -1
- package/build/index.js +308 -274
- 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
|
|
|
@@ -4010,7 +4015,7 @@ declare type AutoshipOfferCardProps$1 = {
|
|
|
4010
4015
|
closedCopy: TextType;
|
|
4011
4016
|
};
|
|
4012
4017
|
copyList: {
|
|
4013
|
-
icon: IconName$
|
|
4018
|
+
icon: IconName$2;
|
|
4014
4019
|
copy: TextType;
|
|
4015
4020
|
}[];
|
|
4016
4021
|
copy: TextType;
|
|
@@ -4025,7 +4030,7 @@ declare type AutoshipOfferCardProps = {
|
|
|
4025
4030
|
closedCopy: string;
|
|
4026
4031
|
};
|
|
4027
4032
|
copyList: {
|
|
4028
|
-
icon: IconName$
|
|
4033
|
+
icon: IconName$2;
|
|
4029
4034
|
copy: string | react__default.ReactNode;
|
|
4030
4035
|
}[];
|
|
4031
4036
|
copy: string | react__default.ReactNode;
|
|
@@ -4470,7 +4475,7 @@ declare type TwoCtasCardVersionsTypes = typeof BottomButtonVersionsTypes[keyof t
|
|
|
4470
4475
|
declare type DescriptionProps = {
|
|
4471
4476
|
text: string;
|
|
4472
4477
|
smallerText?: string;
|
|
4473
|
-
iconName?: IconName$
|
|
4478
|
+
iconName?: IconName$1;
|
|
4474
4479
|
type?: 'terms' | 'default';
|
|
4475
4480
|
link?: string;
|
|
4476
4481
|
};
|