@manamerge/mana-atomic-ui 1.0.183 → 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/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 +10 -8
- package/dist/types/themes/manamerge/miscellaneous/colorpalette.d.ts +3 -0
- package/dist/types/themes/manamerge/molecules/cardSimpleRender.d.ts +7 -8
- 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
|
};
|
|
@@ -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;
|
|
@@ -1247,29 +1247,28 @@ export declare const ManamergeTheme: {
|
|
|
1247
1247
|
justifyContent: string;
|
|
1248
1248
|
gap: string;
|
|
1249
1249
|
background: string;
|
|
1250
|
-
|
|
1251
|
-
|
|
1250
|
+
gradientColor: string;
|
|
1251
|
+
outline: string;
|
|
1252
1252
|
borderRadius: string;
|
|
1253
1253
|
padding: string;
|
|
1254
|
-
height: string;
|
|
1255
1254
|
maxWidth: string;
|
|
1256
1255
|
minWidth: string;
|
|
1257
1256
|
focus: {
|
|
1258
|
-
|
|
1259
|
-
boxShadow: string;
|
|
1257
|
+
outline: string;
|
|
1260
1258
|
transition: string;
|
|
1261
1259
|
};
|
|
1262
1260
|
hover: {
|
|
1263
|
-
|
|
1264
|
-
boxShadow: string;
|
|
1261
|
+
outline: string;
|
|
1265
1262
|
transition: string;
|
|
1266
1263
|
};
|
|
1267
1264
|
atomIcon: {
|
|
1268
1265
|
variant: string;
|
|
1266
|
+
fill: string;
|
|
1267
|
+
stroke: string;
|
|
1269
1268
|
};
|
|
1270
1269
|
atomHeading: {
|
|
1271
1270
|
variant: string;
|
|
1272
|
-
|
|
1271
|
+
asTag: string;
|
|
1273
1272
|
};
|
|
1274
1273
|
atomText: {
|
|
1275
1274
|
variant: string;
|
|
@@ -1404,6 +1403,9 @@ export declare const ManamergeTheme: {
|
|
|
1404
1403
|
a: string;
|
|
1405
1404
|
b: string;
|
|
1406
1405
|
};
|
|
1406
|
+
five: {
|
|
1407
|
+
a: string;
|
|
1408
|
+
};
|
|
1407
1409
|
};
|
|
1408
1410
|
pages: {
|
|
1409
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;
|