@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.
@@ -1,7 +1,8 @@
1
1
  const pint3 = {
2
2
  "Pint3-primary": {
3
3
  gap: "25px",
4
- height: "500px",
4
+ // height: "500px",
5
+ height: "auto",
5
6
  maxWidth: "1100px",
6
7
  column: {
7
8
  gap: "15px",
@@ -27,6 +27,9 @@ const colors = {
27
27
  four: {
28
28
  a: "#FF1A1A",
29
29
  b: "#590E0E"
30
+ },
31
+ five: {
32
+ a: "#0B1821"
30
33
  }
31
34
  };
32
35
 
@@ -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: `rgba(31, 216, 22, 0.5)`,
7
- gradientBackground: `radial-gradient(circle at bottom right, rgba(237, 191, 222, 0.9) 5%, pink 10%, transparent 30%)`,
8
- border: "2px solid rgb(210, 16, 16)",
9
- borderRadius: "25px",
10
- padding: "0px",
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: "2px dashed rgb(169, 189, 80)",
16
- boxShadow: "5px 5px 2px 1px rgba(255, 81, 0, 0.2)",
17
- transition: "box-shadow 0.1s ease"
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: "2px dashed rgb(189, 80, 80)",
21
- boxShadow: "5px 5px 2px 1px rgba(0, 0, 255, 0.2)",
22
- transition: "box-shadow 0.1s ease"
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: "md"
30
+ variant: "sm",
31
+ fill: colors.two.a,
32
+ stroke: colors.two.a
27
33
  },
28
34
  atomHeading: {
29
35
  variant: "primary",
30
- as: "h2"
36
+ asTag: "h3"
31
37
  },
32
38
  atomText: {
33
- variant: "secondary-regular"
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
- gradientBackground: string;
1251
- border: string;
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
- border: string;
1259
- boxShadow: string;
1257
+ outline: string;
1260
1258
  transition: string;
1261
1259
  };
1262
1260
  hover: {
1263
- border: string;
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
- as: string;
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: {
@@ -28,5 +28,8 @@ declare const colors: {
28
28
  a: string;
29
29
  b: string;
30
30
  };
31
+ five: {
32
+ a: string;
33
+ };
31
34
  };
32
35
  export default colors;
@@ -4,29 +4,28 @@ declare const cardSimpleRender: {
4
4
  justifyContent: string;
5
5
  gap: string;
6
6
  background: string;
7
- gradientBackground: string;
8
- border: string;
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
- border: string;
16
- boxShadow: string;
14
+ outline: string;
17
15
  transition: string;
18
16
  };
19
17
  hover: {
20
- border: string;
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
- as: string;
28
+ asTag: string;
30
29
  };
31
30
  atomText: {
32
31
  variant: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manamerge/mana-atomic-ui",
3
- "version": "1.0.183",
3
+ "version": "1.0.184",
4
4
  "description": "Mana Merge design system",
5
5
  "license": "ISC",
6
6
  "author": "MM",