@trafilea/afrodita-components 7.1.1 → 7.1.3
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/es/components/icons/Messaging/MailSent.js +2 -0
- package/build/es/components/icons/Messaging/MailSent.js.map +1 -0
- package/build/es/components/icons/Messaging/index.js +1 -1
- package/build/es/components/molecules/ScarcityTag/ScarcityTag.js +1 -1
- package/build/es/components/molecules/ScarcityTag/ScarcityTag.styled.js +1 -1
- package/build/es/components/organisms/TwoCtasAtCart/TwoCtasAtCart.js +1 -1
- package/build/es/core/theme/defaults.js +1 -1
- package/build/index.d.ts +69 -6
- package/build/lib/components/icons/Messaging/MailSent.js +2 -0
- package/build/lib/components/icons/Messaging/MailSent.js.map +1 -0
- package/build/lib/components/icons/Messaging/index.js +1 -1
- package/build/lib/components/molecules/ScarcityTag/ScarcityTag.js +1 -1
- package/build/lib/components/molecules/ScarcityTag/ScarcityTag.styled.js +1 -1
- package/build/lib/components/organisms/TwoCtasAtCart/TwoCtasAtCart.js +1 -1
- package/build/lib/core/theme/defaults.js +1 -1
- package/build/theme/revel.theme.d.ts +61 -3
- package/build/theme/revel.theme.js +6 -0
- package/build/theme/shapermint.theme.d.ts +61 -3
- package/build/theme/shapermint.theme.js +258 -0
- package/build/theme/thebodcon.theme.d.ts +61 -3
- package/build/theme/thebodcon.theme.js +6 -0
- package/build/theme/thespadr.theme.d.ts +61 -3
- package/build/theme/thespadr.theme.js +143 -0
- package/build/theme/truekind.theme.d.ts +61 -3
- package/build/theme/truekind.theme.js +6 -0
- package/package.json +1 -1
|
@@ -20,9 +20,7 @@ declare type Theme = {
|
|
|
20
20
|
fontWeights: number[];
|
|
21
21
|
lineHeights: number[];
|
|
22
22
|
mediaQueries: ThemeBreakpoints;
|
|
23
|
-
radius:
|
|
24
|
-
regular: string;
|
|
25
|
-
};
|
|
23
|
+
radius: ThemeRadius;
|
|
26
24
|
zIndex: {
|
|
27
25
|
modal: number;
|
|
28
26
|
overlay: number;
|
|
@@ -35,11 +33,19 @@ declare type Theme = {
|
|
|
35
33
|
label: {
|
|
36
34
|
member: string;
|
|
37
35
|
};
|
|
36
|
+
space?: ThemeSpacing;
|
|
37
|
+
shadow?: ThemeElevation;
|
|
38
38
|
};
|
|
39
39
|
declare type ThemeBreakpoints = {
|
|
40
40
|
mobile: number;
|
|
41
41
|
tablet: number;
|
|
42
42
|
desktop: number;
|
|
43
|
+
xs: string;
|
|
44
|
+
sm: string;
|
|
45
|
+
md: string;
|
|
46
|
+
lg: string;
|
|
47
|
+
xl: string;
|
|
48
|
+
'2xl': string;
|
|
43
49
|
};
|
|
44
50
|
declare type ThemeBasicPallete = {
|
|
45
51
|
color: string;
|
|
@@ -869,15 +875,32 @@ declare type ThemeComponent = {
|
|
|
869
875
|
};
|
|
870
876
|
};
|
|
871
877
|
};
|
|
878
|
+
declare type SizeConfig = {
|
|
879
|
+
xxs?: string;
|
|
880
|
+
xs: string;
|
|
881
|
+
sm: string;
|
|
882
|
+
md: string;
|
|
883
|
+
lg: string;
|
|
884
|
+
xl: string;
|
|
885
|
+
'2xl': string;
|
|
886
|
+
'3xl': string;
|
|
887
|
+
'4xl': string;
|
|
888
|
+
'5xl': string;
|
|
889
|
+
'6xl': string;
|
|
890
|
+
'7xl'?: string;
|
|
891
|
+
};
|
|
872
892
|
declare type ThemeTypography = {
|
|
873
893
|
config: {
|
|
874
894
|
weight: {
|
|
875
895
|
heavy: number;
|
|
876
896
|
bold: number;
|
|
877
897
|
demi: number;
|
|
898
|
+
medium?: number;
|
|
878
899
|
regular: number;
|
|
879
900
|
};
|
|
880
901
|
};
|
|
902
|
+
size?: SizeConfig;
|
|
903
|
+
lineHeight?: Omit<SizeConfig, 'xxs' | '7xl'>;
|
|
881
904
|
variants: Record<string, CSSProperties>;
|
|
882
905
|
};
|
|
883
906
|
declare type ThemeFonts = {
|
|
@@ -954,6 +977,41 @@ declare type ThemeAssets = {
|
|
|
954
977
|
};
|
|
955
978
|
};
|
|
956
979
|
[key: string]: any;
|
|
980
|
+
};
|
|
981
|
+
declare type ThemeSpacing = {
|
|
982
|
+
0?: string;
|
|
983
|
+
25?: string;
|
|
984
|
+
50: string;
|
|
985
|
+
75: string;
|
|
986
|
+
100: string;
|
|
987
|
+
150: string;
|
|
988
|
+
200: string;
|
|
989
|
+
250: string;
|
|
990
|
+
300: string;
|
|
991
|
+
400: string;
|
|
992
|
+
500: string;
|
|
993
|
+
600: string;
|
|
994
|
+
800?: string;
|
|
995
|
+
1000?: string;
|
|
996
|
+
1200?: string;
|
|
997
|
+
1600?: string;
|
|
998
|
+
2000?: string;
|
|
999
|
+
};
|
|
1000
|
+
declare type ThemeRadius = {
|
|
1001
|
+
regular: string;
|
|
1002
|
+
none?: string;
|
|
1003
|
+
md?: string;
|
|
1004
|
+
lg?: string;
|
|
1005
|
+
xl?: string;
|
|
1006
|
+
full?: string;
|
|
1007
|
+
};
|
|
1008
|
+
declare type ThemeElevation = {
|
|
1009
|
+
100: string;
|
|
1010
|
+
200: string;
|
|
1011
|
+
300: string;
|
|
1012
|
+
400: string;
|
|
1013
|
+
500: string;
|
|
1014
|
+
600: string;
|
|
957
1015
|
};
|
|
958
1016
|
|
|
959
1017
|
declare const truekind: Theme;
|
package/package.json
CHANGED