@manamerge/mana-atomic-ui 1.0.46 → 1.0.48

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.
@@ -109,7 +109,6 @@ export const ManamergeTheme = {
109
109
  heading,
110
110
  button,
111
111
  text,
112
- breakpoints,
113
112
  icon,
114
113
  headingStyles: heading,
115
114
  gradient,
@@ -128,7 +127,7 @@ export const ManamergeTheme = {
128
127
  // Layouts
129
128
  pint3,
130
129
 
131
- // Breakpoints
130
+ // Media queries
132
131
  media: {
133
132
  tinyMobileUp: `@media only screen and (min-width: ${tinyMobileUp}px)`,
134
133
  smallMobileUp: `@media only screen and (min-width: ${smallMobileUp}px)`,
@@ -141,8 +140,11 @@ export const ManamergeTheme = {
141
140
  largeDesktopUp: `@media only screen and (min-width: ${largeDesktopUp}px)`,
142
141
  superLargeDesktopUp: `@media only screen and (min-width: ${superLargeDesktopUp}px)`
143
142
  },
144
- // vSizes
143
+ // breakpoints,
144
+ breakpoints,
145
+ // vSizes
145
146
  fontsizes,
147
+
146
148
  pages: {
147
149
  vod: {
148
150
  top: {
@@ -29,6 +29,7 @@ const colors = {
29
29
  }
30
30
  };
31
31
 
32
+ // ? WIP - see card 158
32
33
  // type NestedValues<T> = {
33
34
  // [K in keyof T]: T[K] extends object ? NestedValues<T[K]> : T[K];
34
35
  // }[keyof T];
@@ -8,7 +8,8 @@ const fontsizes = {
8
8
  xxxl: "30px",
9
9
  xxxxl: "36px"
10
10
  };
11
- // export type FontSize = (typeof fontsizes)[keyof typeof fontsizes];
11
+
12
+ // ? WIP - see card 158
12
13
  // export type FontSize = keyof typeof fontsizes;
13
14
 
14
15
  export default fontsizes;
@@ -7,7 +7,7 @@ const cardSimpleRender = {
7
7
  gradientBackground: `radial-gradient(circle at bottom right, rgba(237, 191, 222, 0.9) 5%, pink 10%, transparent 30%)`,
8
8
  border: "2px solid rgb(210, 16, 16)",
9
9
  borderRadius: "25px",
10
- padding: "20px 20px 0 20px",
10
+ padding: "0px",
11
11
  height: "100%",
12
12
  maxWidth: "350px",
13
13
  minWidth: "200px",
@@ -26,7 +26,8 @@ const cardSimpleRender = {
26
26
  variant: "medium"
27
27
  },
28
28
  atomHeading: {
29
- variant: "secondary-h3"
29
+ variant: "primary",
30
+ as: "h2"
30
31
  },
31
32
  atomText: {
32
33
  variant: "secondary-regular"
@@ -31,8 +31,7 @@ const navigation = {
31
31
  },
32
32
  focus: {
33
33
  color: "gold",
34
- boxShadow: "2px 2px 5px yellow",
35
- transform: "translateY(-5px)"
34
+ boxShadow: "2px 2px 5px yellow"
36
35
  },
37
36
  hover: {
38
37
  color: "#f00",
@@ -2,6 +2,6 @@ import React, { ReactNode } from "react";
2
2
  export interface HeadingTypes {
3
3
  variant?: string;
4
4
  children: ReactNode;
5
- as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
5
+ as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
6
6
  }
7
7
  export declare const Heading: React.FC<HeadingTypes>;
@@ -5,7 +5,6 @@ export interface TextTypes {
5
5
  htmlFor?: string;
6
6
  margin?: string;
7
7
  color?: string;
8
- fontSize?: string;
9
8
  lineHeight?: string;
10
9
  fontWeight?: string | number;
11
10
  tag?: keyof JSX.IntrinsicElements;
@@ -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;
@@ -563,18 +563,6 @@ export declare const ManamergeTheme: {
563
563
  fontFamily: string;
564
564
  };
565
565
  };
566
- breakpoints: {
567
- tinyMobileUp: number;
568
- smallMobileUp: number;
569
- mobileUp: number;
570
- mobileLandscapeUp: number;
571
- largeMobileUp: number;
572
- tabletPortraitUp: number;
573
- tabletLandscapeUp: number;
574
- desktopUp: number;
575
- largeDesktopUp: number;
576
- superLargeDesktopUp: number;
577
- };
578
566
  icon: {
579
567
  "Icon-small": {
580
568
  size: string;
@@ -1036,7 +1024,6 @@ export declare const ManamergeTheme: {
1036
1024
  focus: {
1037
1025
  color: string;
1038
1026
  boxShadow: string;
1039
- transform: string;
1040
1027
  };
1041
1028
  hover: {
1042
1029
  color: string;
@@ -1188,6 +1175,7 @@ export declare const ManamergeTheme: {
1188
1175
  };
1189
1176
  atomHeading: {
1190
1177
  variant: string;
1178
+ as: string;
1191
1179
  };
1192
1180
  atomText: {
1193
1181
  variant: string;
@@ -1270,6 +1258,18 @@ export declare const ManamergeTheme: {
1270
1258
  largeDesktopUp: string;
1271
1259
  superLargeDesktopUp: string;
1272
1260
  };
1261
+ breakpoints: {
1262
+ tinyMobileUp: number;
1263
+ smallMobileUp: number;
1264
+ mobileUp: number;
1265
+ mobileLandscapeUp: number;
1266
+ largeMobileUp: number;
1267
+ tabletPortraitUp: number;
1268
+ tabletLandscapeUp: number;
1269
+ desktopUp: number;
1270
+ largeDesktopUp: number;
1271
+ superLargeDesktopUp: number;
1272
+ };
1273
1273
  fontsizes: {
1274
1274
  xs: string;
1275
1275
  sm: string;
@@ -26,6 +26,7 @@ declare const cardSimpleRender: {
26
26
  };
27
27
  atomHeading: {
28
28
  variant: string;
29
+ as: string;
29
30
  };
30
31
  atomText: {
31
32
  variant: string;
@@ -27,7 +27,6 @@ declare const navigation: {
27
27
  focus: {
28
28
  color: string;
29
29
  boxShadow: string;
30
- transform: string;
31
30
  };
32
31
  hover: {
33
32
  color: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manamerge/mana-atomic-ui",
3
- "version": "1.0.46",
3
+ "version": "1.0.48",
4
4
  "description": "Mana Merge design system",
5
5
  "license": "ISC",
6
6
  "author": "MM",