@manamerge/mana-atomic-ui 1.0.182 → 1.0.184
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/dist/index.d.ts +1 -0
- package/dist/index.js +32 -14
- package/dist/index.js.map +1 -1
- package/dist/themes/themes/manamerge/fonts/Gilmer-Bold.woff2 +0 -0
- package/dist/themes/themes/manamerge/fonts/Gilmer-Heavy.woff2 +0 -0
- package/dist/themes/themes/manamerge/fonts/Gilmer-Light.woff2 +0 -0
- package/dist/themes/themes/manamerge/fonts/Gilmer-Medium.woff2 +0 -0
- package/dist/themes/themes/manamerge/fonts/Gilmer-Regular.woff2 +0 -0
- package/dist/themes/themes/manamerge/layouts/pint3.ts +2 -1
- package/dist/themes/themes/manamerge/miscellaneous/colorpalette.ts +3 -0
- package/dist/themes/themes/manamerge/molecules/cardSimpleRender.ts +21 -15
- package/dist/themes/themes/manamerge/molecules/header.ts +5 -3
- package/dist/types/components/Molecules/CardSimpleRender/CardSimpleRender.css.d.ts +1 -0
- package/dist/types/components/Molecules/CardSimpleRender/CardSimpleRender.d.ts +1 -0
- package/dist/types/components/Molecules/CardSimpleRender/CardSimpleRender.stories copy.d.ts +11 -0
- package/dist/types/themes/ManamergeTheme.d.ts +12 -8
- package/dist/types/themes/manamerge/miscellaneous/colorpalette.d.ts +3 -0
- package/dist/types/themes/manamerge/molecules/cardSimpleRender.d.ts +7 -8
- package/dist/types/themes/manamerge/molecules/header.d.ts +2 -0
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,36 +1,42 @@
|
|
|
1
|
+
import colors from "../miscellaneous/colorpalette";
|
|
2
|
+
|
|
1
3
|
const cardSimpleRender = {
|
|
2
4
|
"CardSimpleRender-primary": {
|
|
3
5
|
flexDirection: "column",
|
|
4
6
|
justifyContent: "space-between",
|
|
5
7
|
gap: "20px",
|
|
6
|
-
background:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
borderRadius: "
|
|
10
|
-
padding: "
|
|
11
|
-
height: "100%",
|
|
8
|
+
background: colors.five.a,
|
|
9
|
+
gradientColor: colors.two.a,
|
|
10
|
+
outline: `2px solid ${colors.two.b}40`,
|
|
11
|
+
borderRadius: "20px",
|
|
12
|
+
padding: "20px",
|
|
13
|
+
// height: "100%",
|
|
12
14
|
maxWidth: "350px",
|
|
13
15
|
minWidth: "200px",
|
|
14
16
|
focus: {
|
|
15
|
-
border:
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
// border: `2px dashed ${colors.two.c}`,
|
|
18
|
+
outline: `2px dashed ${colors.two.c}`,
|
|
19
|
+
// boxShadow: `5px 5px 2px 1px ${colors.two.c}13`,
|
|
20
|
+
transition: "outline 0.5s ease"
|
|
18
21
|
},
|
|
19
22
|
hover: {
|
|
20
|
-
border:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
// border: `2px solid ${colors.two.c}`,
|
|
24
|
+
outline: `2px solid ${colors.two.c}`,
|
|
25
|
+
// boxShadow: `5px 5px 2px 1px ${colors.two.c}33`,
|
|
26
|
+
transition: "outline 0.5s ease"
|
|
23
27
|
},
|
|
24
28
|
|
|
25
29
|
atomIcon: {
|
|
26
|
-
variant: "
|
|
30
|
+
variant: "sm",
|
|
31
|
+
fill: colors.two.a,
|
|
32
|
+
stroke: colors.two.a
|
|
27
33
|
},
|
|
28
34
|
atomHeading: {
|
|
29
35
|
variant: "primary",
|
|
30
|
-
|
|
36
|
+
asTag: "h3"
|
|
31
37
|
},
|
|
32
38
|
atomText: {
|
|
33
|
-
variant: "
|
|
39
|
+
variant: "primary-light"
|
|
34
40
|
}
|
|
35
41
|
}
|
|
36
42
|
};
|
|
@@ -6,7 +6,8 @@ const header = {
|
|
|
6
6
|
justifyContent: "center",
|
|
7
7
|
bannerColor: "lightgray",
|
|
8
8
|
wrapperHeader: {
|
|
9
|
-
alignItems: "center"
|
|
9
|
+
alignItems: "center",
|
|
10
|
+
textAlign: "center"
|
|
10
11
|
},
|
|
11
12
|
atomIconTop: {
|
|
12
13
|
variant: "lg",
|
|
@@ -56,13 +57,14 @@ const header = {
|
|
|
56
57
|
}
|
|
57
58
|
},
|
|
58
59
|
"Header-secondary": {
|
|
59
|
-
height: "
|
|
60
|
+
height: "380px",
|
|
60
61
|
backgroundColor: "rgba(186, 250, 97, 0.49)",
|
|
61
62
|
justifyContent: "flex-start",
|
|
62
63
|
bannerColor: "lightgray",
|
|
63
64
|
wrapperHeader: {
|
|
64
65
|
alignItems: "flex-start",
|
|
65
|
-
padding: "75px"
|
|
66
|
+
padding: "120px 75px 0 75px",
|
|
67
|
+
textAlign: "left"
|
|
66
68
|
},
|
|
67
69
|
|
|
68
70
|
atomIconDot: {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export declare const Card: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
3
|
moleculeVariant: string;
|
|
4
4
|
cardHover: boolean;
|
|
5
|
+
gradientPosition?: string | undefined;
|
|
5
6
|
}>> & string;
|
|
6
7
|
export declare const WrapperLine: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
8
|
export declare const AtomIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("../../Atoms/Icon/Icon").IconTypes, import("../../Atoms/Icon/Icon").IconTypes>, {
|
|
@@ -4,6 +4,7 @@ export interface CardSimpleRenderTypes {
|
|
|
4
4
|
icon?: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5
5
|
title?: string;
|
|
6
6
|
description?: string;
|
|
7
|
+
gradientPosition?: "center" | "top" | "bottom" | "left" | "right" | "top left" | "top right" | "bottom left" | "bottom right";
|
|
7
8
|
children?: ReactNode;
|
|
8
9
|
onClick?: React.MouseEventHandler<HTMLElement>;
|
|
9
10
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { CardSimpleRenderTypes } from "./CardSimpleRender";
|
|
3
|
+
declare const meta: Meta<CardSimpleRenderTypes>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<CardSimpleRenderTypes>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Hover: Story;
|
|
8
|
+
export declare const Flex: Story;
|
|
9
|
+
export declare const FlexExtra: Story;
|
|
10
|
+
export declare const Flex2: Story;
|
|
11
|
+
export declare const Isolado: Story;
|
|
@@ -989,6 +989,7 @@ export declare const ManamergeTheme: {
|
|
|
989
989
|
bannerColor: string;
|
|
990
990
|
wrapperHeader: {
|
|
991
991
|
alignItems: string;
|
|
992
|
+
textAlign: string;
|
|
992
993
|
};
|
|
993
994
|
atomIconTop: {
|
|
994
995
|
variant: string;
|
|
@@ -1045,6 +1046,7 @@ export declare const ManamergeTheme: {
|
|
|
1045
1046
|
wrapperHeader: {
|
|
1046
1047
|
alignItems: string;
|
|
1047
1048
|
padding: string;
|
|
1049
|
+
textAlign: string;
|
|
1048
1050
|
};
|
|
1049
1051
|
atomIconDot: {
|
|
1050
1052
|
variant: string;
|
|
@@ -1245,29 +1247,28 @@ export declare const ManamergeTheme: {
|
|
|
1245
1247
|
justifyContent: string;
|
|
1246
1248
|
gap: string;
|
|
1247
1249
|
background: string;
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
+
gradientColor: string;
|
|
1251
|
+
outline: string;
|
|
1250
1252
|
borderRadius: string;
|
|
1251
1253
|
padding: string;
|
|
1252
|
-
height: string;
|
|
1253
1254
|
maxWidth: string;
|
|
1254
1255
|
minWidth: string;
|
|
1255
1256
|
focus: {
|
|
1256
|
-
|
|
1257
|
-
boxShadow: string;
|
|
1257
|
+
outline: string;
|
|
1258
1258
|
transition: string;
|
|
1259
1259
|
};
|
|
1260
1260
|
hover: {
|
|
1261
|
-
|
|
1262
|
-
boxShadow: string;
|
|
1261
|
+
outline: string;
|
|
1263
1262
|
transition: string;
|
|
1264
1263
|
};
|
|
1265
1264
|
atomIcon: {
|
|
1266
1265
|
variant: string;
|
|
1266
|
+
fill: string;
|
|
1267
|
+
stroke: string;
|
|
1267
1268
|
};
|
|
1268
1269
|
atomHeading: {
|
|
1269
1270
|
variant: string;
|
|
1270
|
-
|
|
1271
|
+
asTag: string;
|
|
1271
1272
|
};
|
|
1272
1273
|
atomText: {
|
|
1273
1274
|
variant: string;
|
|
@@ -1402,6 +1403,9 @@ export declare const ManamergeTheme: {
|
|
|
1402
1403
|
a: string;
|
|
1403
1404
|
b: string;
|
|
1404
1405
|
};
|
|
1406
|
+
five: {
|
|
1407
|
+
a: string;
|
|
1408
|
+
};
|
|
1405
1409
|
};
|
|
1406
1410
|
pages: {
|
|
1407
1411
|
vod: {
|
|
@@ -4,29 +4,28 @@ declare const cardSimpleRender: {
|
|
|
4
4
|
justifyContent: string;
|
|
5
5
|
gap: string;
|
|
6
6
|
background: string;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
gradientColor: string;
|
|
8
|
+
outline: string;
|
|
9
9
|
borderRadius: string;
|
|
10
10
|
padding: string;
|
|
11
|
-
height: string;
|
|
12
11
|
maxWidth: string;
|
|
13
12
|
minWidth: string;
|
|
14
13
|
focus: {
|
|
15
|
-
|
|
16
|
-
boxShadow: string;
|
|
14
|
+
outline: string;
|
|
17
15
|
transition: string;
|
|
18
16
|
};
|
|
19
17
|
hover: {
|
|
20
|
-
|
|
21
|
-
boxShadow: string;
|
|
18
|
+
outline: string;
|
|
22
19
|
transition: string;
|
|
23
20
|
};
|
|
24
21
|
atomIcon: {
|
|
25
22
|
variant: string;
|
|
23
|
+
fill: string;
|
|
24
|
+
stroke: string;
|
|
26
25
|
};
|
|
27
26
|
atomHeading: {
|
|
28
27
|
variant: string;
|
|
29
|
-
|
|
28
|
+
asTag: string;
|
|
30
29
|
};
|
|
31
30
|
atomText: {
|
|
32
31
|
variant: string;
|
|
@@ -5,6 +5,7 @@ declare const header: {
|
|
|
5
5
|
bannerColor: string;
|
|
6
6
|
wrapperHeader: {
|
|
7
7
|
alignItems: string;
|
|
8
|
+
textAlign: string;
|
|
8
9
|
};
|
|
9
10
|
atomIconTop: {
|
|
10
11
|
variant: string;
|
|
@@ -61,6 +62,7 @@ declare const header: {
|
|
|
61
62
|
wrapperHeader: {
|
|
62
63
|
alignItems: string;
|
|
63
64
|
padding: string;
|
|
65
|
+
textAlign: string;
|
|
64
66
|
};
|
|
65
67
|
atomIconDot: {
|
|
66
68
|
variant: string;
|