@manamerge/mana-atomic-ui 1.0.183 → 1.0.185

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,11 +1,12 @@
1
1
  const pint3 = {
2
2
  "Pint3-primary": {
3
3
  gap: "25px",
4
- height: "500px",
4
+ minHeight: "650px",
5
5
  maxWidth: "1100px",
6
6
  column: {
7
7
  gap: "15px",
8
- minWidth: "200px",
8
+ minHeight: "650px",
9
+ minWidth: "250px",
9
10
  maxWidth: "500px"
10
11
  }
11
12
  }
@@ -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",
8
+ background: colors.five.a,
9
+ gradientColor: colors.two.a,
10
+ outline: `2px solid ${colors.two.b}40`,
11
+ borderRadius: "20px",
12
+ padding: "20px",
11
13
  height: "100%",
12
- maxWidth: "350px",
13
- minWidth: "200px",
14
+ maxWidth: "550px",
15
+ minWidth: "250px",
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
  };
@@ -4,3 +4,4 @@ declare const meta: Meta<Pint3Types>;
4
4
  export default meta;
5
5
  type Story = StoryObj<Pint3Types>;
6
6
  export declare const Default: Story;
7
+ export declare const WithCard: Story;
@@ -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,29 @@ 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
1254
  height: string;
1255
1255
  maxWidth: string;
1256
1256
  minWidth: string;
1257
1257
  focus: {
1258
- border: string;
1259
- boxShadow: string;
1258
+ outline: string;
1260
1259
  transition: string;
1261
1260
  };
1262
1261
  hover: {
1263
- border: string;
1264
- boxShadow: string;
1262
+ outline: string;
1265
1263
  transition: string;
1266
1264
  };
1267
1265
  atomIcon: {
1268
1266
  variant: string;
1267
+ fill: string;
1268
+ stroke: string;
1269
1269
  };
1270
1270
  atomHeading: {
1271
1271
  variant: string;
1272
- as: string;
1272
+ asTag: string;
1273
1273
  };
1274
1274
  atomText: {
1275
1275
  variant: string;
@@ -1331,10 +1331,11 @@ export declare const ManamergeTheme: {
1331
1331
  pint3: {
1332
1332
  "Pint3-primary": {
1333
1333
  gap: string;
1334
- height: string;
1334
+ minHeight: string;
1335
1335
  maxWidth: string;
1336
1336
  column: {
1337
1337
  gap: string;
1338
+ minHeight: string;
1338
1339
  minWidth: string;
1339
1340
  maxWidth: string;
1340
1341
  };
@@ -1404,6 +1405,9 @@ export declare const ManamergeTheme: {
1404
1405
  a: string;
1405
1406
  b: string;
1406
1407
  };
1408
+ five: {
1409
+ a: string;
1410
+ };
1407
1411
  };
1408
1412
  pages: {
1409
1413
  vod: {
@@ -1,10 +1,11 @@
1
1
  declare const pint3: {
2
2
  "Pint3-primary": {
3
3
  gap: string;
4
- height: string;
4
+ minHeight: string;
5
5
  maxWidth: string;
6
6
  column: {
7
7
  gap: string;
8
+ minHeight: string;
8
9
  minWidth: string;
9
10
  maxWidth: string;
10
11
  };
@@ -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,29 @@ 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
11
  height: string;
12
12
  maxWidth: string;
13
13
  minWidth: string;
14
14
  focus: {
15
- border: string;
16
- boxShadow: string;
15
+ outline: string;
17
16
  transition: string;
18
17
  };
19
18
  hover: {
20
- border: string;
21
- boxShadow: string;
19
+ outline: string;
22
20
  transition: string;
23
21
  };
24
22
  atomIcon: {
25
23
  variant: string;
24
+ fill: string;
25
+ stroke: string;
26
26
  };
27
27
  atomHeading: {
28
28
  variant: string;
29
- as: string;
29
+ asTag: string;
30
30
  };
31
31
  atomText: {
32
32
  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.185",
4
4
  "description": "Mana Merge design system",
5
5
  "license": "ISC",
6
6
  "author": "MM",