@manamerge/mana-atomic-ui 1.0.155 → 1.0.156

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.
@@ -21,7 +21,26 @@ import cardBanner from "./davidWeb/molecules/cardBanner";
21
21
  import accordion from "./manamerge/molecules/accordion";
22
22
  import breakerTape from "./davidWeb/molecules/breakerTape";
23
23
 
24
- // Images icons
24
+ // Layouts
25
+ import pint3 from "./davidWeb/layouts/pint3";
26
+
27
+ // vSizes
28
+ import fontsizes from "./davidWeb/miscellaneous/fontsizes";
29
+
30
+ // Styling
31
+ // import filterListTheme from "./davidWeb/styling/filter-list-theme.css.js";
32
+ // import chatTheme from "./davidWeb/styling/chat-theme.css.js";
33
+ // import notificationsTheme from "./davidWeb/styling/notification-theme.css.js";
34
+
35
+ // Icons
36
+ // import playIcon from "./davidWeb/images/icons/playbutton.svg";
37
+ // import heartEmoji from "./davidWeb/images/emojis/heart.png";
38
+ // import fireEmoji from "./davidWeb/images/emojis/fire.png";
39
+ // import clapEmoji from "./davidWeb/images/emojis/clap.png";
40
+ // import smileEmoji from "./davidWeb/images/emojis/smile.png";
41
+ // import plusoneEmoji from "./davidWeb/images/emojis/plusone.png";
42
+ // import manamergeprideEmoji from "./davidWeb/images/emojis/manapride.png";
43
+ // import manaEmoji from "./davidWeb/images/emojis/mana.png";
25
44
  import notificationArrow from "./davidWeb/images/icons/notificationArrow.svg";
26
45
  import navBarLogoDark from "./davidWeb/images/logo/icon-manaconf.svg";
27
46
  import navigationBackIcon from "./davidWeb/images/icons/navigation/back.svg";
@@ -88,7 +107,6 @@ export const DavidWebTheme = {
88
107
  heading,
89
108
  button,
90
109
  text,
91
- breakpoints,
92
110
  icon,
93
111
  headingStyles: heading,
94
112
  gradient,
@@ -104,7 +122,10 @@ export const DavidWebTheme = {
104
122
  cardBanner,
105
123
  accordion,
106
124
 
107
- // Breakpoints
125
+ // Layouts
126
+ pint3,
127
+
128
+ // Media queries
108
129
  media: {
109
130
  tinyMobileUp: `@media only screen and (min-width: ${tinyMobileUp}px)`,
110
131
  smallMobileUp: `@media only screen and (min-width: ${smallMobileUp}px)`,
@@ -117,46 +138,11 @@ export const DavidWebTheme = {
117
138
  largeDesktopUp: `@media only screen and (min-width: ${largeDesktopUp}px)`,
118
139
  superLargeDesktopUp: `@media only screen and (min-width: ${superLargeDesktopUp}px)`
119
140
  },
141
+ // breakpoints,
142
+ breakpoints,
143
+ // vSizes
144
+ fontsizes,
120
145
 
121
- colors: {
122
- light: "#212324",
123
- white: "#ffffff",
124
- grey: "#CCCCCC",
125
- accent: "#000",
126
- active: "#1D1E23",
127
- affirmative: "#AC72F0",
128
- affirmativeDark: "#AC72F0",
129
- affirmativeAlternate: "#AC72F0",
130
- cta: "#AC72F0",
131
- dark: "#000",
132
- separator: "#76767D",
133
- disabledBg: "#212324",
134
- disabledText: "#343536",
135
- divider: "#0f0",
136
- error: "#F25054",
137
- errorHoverBack: "#0f0",
138
- hover: "#212324",
139
- lightBack: "#131414",
140
- navigateText: "#0f0",
141
- notice: "#69696F",
142
- outline: "#00A1F1",
143
- primary: "#76767D",
144
- primaryDark: "#1D1E23",
145
- primaryDarker: "#131414",
146
- readMore: "#AC72F0",
147
- secondary: "#343536",
148
- // secondaryLighter: '#343536',
149
- secondaryLighter: "#727274",
150
- socialIcon: "transparent",
151
- socialIconSecondary: "#1a1",
152
- text: "#212324",
153
- textAccent: "#fff",
154
- textLight: "#FFFFFF",
155
- border: "#343536",
156
- signedUp: "#f0f",
157
- borderError: "#F25054",
158
- borderHover: "#343536"
159
- },
160
146
  pages: {
161
147
  vod: {
162
148
  top: {
@@ -27,6 +27,9 @@ import pint3 from "./manamerge/layouts/pint3";
27
27
  // vSizes
28
28
  import fontsizes from "./manamerge/miscellaneous/fontsizes";
29
29
 
30
+ // colorPalette
31
+ import colors from "./manamerge/miscellaneous/colorpalette";
32
+
30
33
  // Styling
31
34
  // import filterListTheme from "./manamerge/styling/filter-list-theme.css.js";
32
35
  // import chatTheme from "./manamerge/styling/chat-theme.css.js";
@@ -144,6 +147,8 @@ export const ManamergeTheme = {
144
147
  breakpoints,
145
148
  // vSizes
146
149
  fontsizes,
150
+ // colorPalette
151
+ colors,
147
152
 
148
153
  pages: {
149
154
  vod: {
@@ -1,139 +1,279 @@
1
+ import colors from "../miscellaneous/colorpalette";
2
+
1
3
  const heading = {
2
- "Heading-h1": {
4
+ "Heading-primary-h1": {
5
+ mobile: {
6
+ fontSize: "30px",
7
+ lineHeight: "34px",
8
+ fontWeight: 700,
9
+ color: colors.one.b,
10
+ margin: "0px"
11
+ },
12
+ tablet: {
13
+ fontSize: "34px",
14
+ lineHeight: "40px",
15
+ fontWeight: 700,
16
+ color: colors.one.b,
17
+ margin: "0px"
18
+ },
19
+ desktop: {
20
+ fontSize: "36px",
21
+ lineHeight: "40px",
22
+ fontWeight: 700,
23
+ color: colors.one.b,
24
+ margin: "0px"
25
+ }
26
+ },
27
+ "Heading-primary-h2": {
28
+ mobile: {
29
+ fontSize: "24px",
30
+ lineHeight: "30px",
31
+ fontWeight: 700,
32
+ color: colors.one.b,
33
+ margin: "0px"
34
+ },
35
+ tablet: {
36
+ fontSize: "28px",
37
+ lineHeight: "34px",
38
+ fontWeight: 700,
39
+ color: colors.one.b,
40
+ margin: "0px"
41
+ },
42
+ desktop: {
43
+ fontSize: "30px",
44
+ lineHeight: "34px",
45
+ fontWeight: 700,
46
+ color: colors.one.b,
47
+ margin: "0px"
48
+ }
49
+ },
50
+ "Heading-primary-h3": {
51
+ mobile: {
52
+ fontSize: "20px",
53
+ lineHeight: "25px",
54
+ fontWeight: 700,
55
+ color: colors.one.b,
56
+ margin: "0px"
57
+ },
58
+ tablet: {
59
+ fontSize: "20px",
60
+ lineHeight: "25px",
61
+ fontWeight: 700,
62
+ color: colors.one.b,
63
+ margin: "0px"
64
+ },
65
+ desktop: {
66
+ fontSize: "24px",
67
+ lineHeight: "30px",
68
+ fontWeight: 700,
69
+ color: colors.one.b,
70
+ margin: "0px"
71
+ }
72
+ },
73
+ "Heading-primary-h4": {
74
+ mobile: {
75
+ fontSize: "18px",
76
+ lineHeight: "23px",
77
+ fontWeight: 700,
78
+ color: colors.one.b,
79
+ margin: "0px"
80
+ },
81
+ tablet: {
82
+ fontSize: "18px",
83
+ lineHeight: "24px",
84
+ fontWeight: 700,
85
+ color: colors.one.b,
86
+ margin: "0px"
87
+ },
88
+ desktop: {
89
+ fontSize: "20px",
90
+ lineHeight: "25px",
91
+ fontWeight: 700,
92
+ color: colors.one.b,
93
+ margin: "0px"
94
+ }
95
+ },
96
+ "Heading-primary-h5": {
97
+ mobile: {
98
+ fontSize: "16px",
99
+ lineHeight: "20px",
100
+ fontWeight: 700,
101
+ color: colors.one.b,
102
+ margin: "0px"
103
+ },
104
+ tablet: {
105
+ fontSize: "16px",
106
+ lineHeight: "20px",
107
+ fontWeight: 700,
108
+ color: colors.one.b,
109
+ margin: "0px"
110
+ },
111
+ desktop: {
112
+ fontSize: "16px",
113
+ lineHeight: "20px",
114
+ fontWeight: 700,
115
+ color: colors.one.b,
116
+ margin: "0px"
117
+ }
118
+ },
119
+ "Heading-primary-h6": {
120
+ mobile: {
121
+ fontSize: "14px",
122
+ lineHeight: "20px",
123
+ fontWeight: 700,
124
+ color: colors.one.b,
125
+ margin: "0px"
126
+ },
127
+ tablet: {
128
+ fontSize: "14px",
129
+ lineHeight: "20px",
130
+ fontWeight: 700,
131
+ color: colors.one.b,
132
+ margin: "0px"
133
+ },
134
+ desktop: {
135
+ fontSize: "14px",
136
+ lineHeight: "20px",
137
+ fontWeight: 700,
138
+ color: colors.one.b,
139
+ margin: "0px"
140
+ }
141
+ },
142
+ "Heading-secondary-h1": {
3
143
  mobile: {
4
144
  fontSize: "30px",
5
145
  lineHeight: "34px",
6
146
  fontWeight: 700,
7
- color: "#3838aa",
147
+ color: colors.four.a,
8
148
  margin: "0px"
9
149
  },
10
150
  tablet: {
11
151
  fontSize: "34px",
12
152
  lineHeight: "40px",
13
153
  fontWeight: 700,
14
- color: "#3838aa",
154
+ color: colors.four.a,
15
155
  margin: "0px"
16
156
  },
17
157
  desktop: {
18
158
  fontSize: "36px",
19
159
  lineHeight: "40px",
20
160
  fontWeight: 700,
21
- color: "#3838aa",
161
+ color: colors.four.a,
22
162
  margin: "0px"
23
163
  }
24
164
  },
25
- "Heading-h2": {
165
+ "Heading-secondary-h2": {
26
166
  mobile: {
27
167
  fontSize: "24px",
28
168
  lineHeight: "30px",
29
169
  fontWeight: 700,
30
- color: "#3838aa",
170
+ color: colors.four.a,
31
171
  margin: "0px"
32
172
  },
33
173
  tablet: {
34
174
  fontSize: "28px",
35
175
  lineHeight: "34px",
36
176
  fontWeight: 700,
37
- color: "#3838aa",
177
+ color: colors.four.a,
38
178
  margin: "0px"
39
179
  },
40
180
  desktop: {
41
181
  fontSize: "30px",
42
182
  lineHeight: "34px",
43
183
  fontWeight: 700,
44
- color: "#3838aa",
184
+ color: colors.four.a,
45
185
  margin: "0px"
46
186
  }
47
187
  },
48
- "Heading-h3": {
188
+ "Heading-secondary-h3": {
49
189
  mobile: {
50
190
  fontSize: "20px",
51
191
  lineHeight: "25px",
52
192
  fontWeight: 700,
53
- color: "#3838aa",
193
+ color: colors.four.a,
54
194
  margin: "0px"
55
195
  },
56
196
  tablet: {
57
197
  fontSize: "20px",
58
198
  lineHeight: "25px",
59
199
  fontWeight: 700,
60
- color: "#3838aa",
200
+ color: colors.four.a,
61
201
  margin: "0px"
62
202
  },
63
203
  desktop: {
64
204
  fontSize: "24px",
65
205
  lineHeight: "30px",
66
206
  fontWeight: 700,
67
- color: "#3838aa",
207
+ color: colors.four.a,
68
208
  margin: "0px"
69
209
  }
70
210
  },
71
- "Heading-h4": {
211
+ "Heading-secondary-h4": {
72
212
  mobile: {
73
213
  fontSize: "18px",
74
214
  lineHeight: "23px",
75
215
  fontWeight: 700,
76
- color: "#3838aa",
216
+ color: colors.four.a,
77
217
  margin: "0px"
78
218
  },
79
219
  tablet: {
80
220
  fontSize: "18px",
81
221
  lineHeight: "24px",
82
222
  fontWeight: 700,
83
- color: "#3838aa",
223
+ color: colors.four.a,
84
224
  margin: "0px"
85
225
  },
86
226
  desktop: {
87
227
  fontSize: "20px",
88
228
  lineHeight: "25px",
89
229
  fontWeight: 700,
90
- color: "#3838aa",
230
+ color: colors.four.a,
91
231
  margin: "0px"
92
232
  }
93
233
  },
94
- "Heading-h5": {
234
+ "Heading-secondary-h5": {
95
235
  mobile: {
96
236
  fontSize: "16px",
97
237
  lineHeight: "20px",
98
238
  fontWeight: 700,
99
- color: "#3838aa",
239
+ color: colors.four.a,
100
240
  margin: "0px"
101
241
  },
102
242
  tablet: {
103
243
  fontSize: "16px",
104
244
  lineHeight: "20px",
105
245
  fontWeight: 700,
106
- color: "#3838aa",
246
+ color: colors.four.a,
107
247
  margin: "0px"
108
248
  },
109
249
  desktop: {
110
250
  fontSize: "16px",
111
251
  lineHeight: "20px",
112
252
  fontWeight: 700,
113
- color: "#3838aa",
253
+ color: colors.four.a,
114
254
  margin: "0px"
115
255
  }
116
256
  },
117
- "Heading-h6": {
257
+ "Heading-secondary-h6": {
118
258
  mobile: {
119
259
  fontSize: "14px",
120
260
  lineHeight: "20px",
121
261
  fontWeight: 700,
122
- color: "#3838aa",
262
+ color: colors.four.a,
123
263
  margin: "0px"
124
264
  },
125
265
  tablet: {
126
266
  fontSize: "14px",
127
267
  lineHeight: "20px",
128
268
  fontWeight: 700,
129
- color: "#3838aa",
269
+ color: colors.four.a,
130
270
  margin: "0px"
131
271
  },
132
272
  desktop: {
133
273
  fontSize: "14px",
134
274
  lineHeight: "20px",
135
275
  fontWeight: 700,
136
- color: "#3838aa",
276
+ color: colors.four.a,
137
277
  margin: "0px"
138
278
  }
139
279
  }
@@ -1,38 +1,64 @@
1
+ import colors from "../miscellaneous/colorpalette";
2
+ import fontsizes from "../miscellaneous/fontsizes";
3
+
1
4
  const text = {
2
- "Text-light": {
3
- fontSize: "13px",
5
+ "Text-primary-light": {
6
+ vFontSize: fontsizes.xs,
4
7
  lineHeight: "18px",
5
8
  fontWeight: 300,
6
- color: "#13021f",
7
- margin: "0px"
9
+ vColor: colors.one.b,
10
+ margin: "0px",
11
+ fontFamily: "ManamergeGilmer"
8
12
  },
9
- "Text-regular": {
10
- fontSize: "15px",
13
+ "Text-primary-regular": {
14
+ vFontSize: fontsizes.sm,
11
15
  lineHeight: "25px",
12
16
  fontWeight: 400,
13
- color: "#13021f",
14
- margin: "0px"
17
+ vColor: colors.one.b,
18
+ margin: "0px",
19
+ fontFamily: "ManamergeGilmer"
15
20
  },
16
- "Text-medium": {
17
- fontSize: "17px",
21
+ "Text-primary-medium": {
22
+ vFontSize: fontsizes.md,
18
23
  lineHeight: "28px",
19
24
  fontWeight: 500,
20
- color: "#13021f",
21
- margin: "0px"
25
+ vColor: colors.one.b,
26
+ margin: "0px",
27
+ fontFamily: "ManamergeGilmer"
22
28
  },
23
- "Text-bold": {
24
- fontSize: "17px",
29
+ "Text-primary-bold": {
30
+ vFontSize: fontsizes.lg,
25
31
  lineHeight: "28px",
26
32
  fontWeight: 700,
27
- color: "#13021f",
28
- margin: "0px"
33
+ vColor: colors.one.b,
34
+ margin: "0px",
35
+ fontFamily: "ManamergeGilmer"
29
36
  },
30
- "Text-heavy": {
31
- fontSize: "17px",
37
+ "Text-primary-heavy": {
38
+ vFontSize: fontsizes.xl,
32
39
  lineHeight: "28px",
33
40
  fontWeight: 900,
34
- color: "#13021f",
35
- margin: "0px"
41
+ vColor: colors.one.b,
42
+ margin: "0px",
43
+ fontFamily: "ManamergeGilmer"
44
+ },
45
+
46
+ "Text-secondary-regular": {
47
+ vFontSize: fontsizes.sm,
48
+ lineHeight: "25px",
49
+ fontWeight: 400,
50
+ vColor: colors.one.h,
51
+ margin: "0px",
52
+ fontFamily: "Springwood"
53
+ },
54
+ "Text-secondary-italic": {
55
+ vFontSize: fontsizes.lg,
56
+ lineHeight: "25px",
57
+ fontWeight: 400,
58
+ fontStyle: "italic",
59
+ vColor: colors.one.h,
60
+ margin: "0px",
61
+ fontFamily: "Springwood"
36
62
  }
37
63
  };
38
64
 
@@ -5,12 +5,15 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.DavidWebStyles = void 0;
7
7
  var _styledComponents = require("styled-components");
8
- var _GilmerRegular = _interopRequireDefault(require("./Gilmer-Regular.woff2"));
9
- var _GilmerBold = _interopRequireDefault(require("./Gilmer-Bold.woff2"));
10
- var _GilmerHeavy = _interopRequireDefault(require("./Gilmer-Heavy.woff2"));
11
- var _GilmerLight = _interopRequireDefault(require("./Gilmer-Light.woff2"));
12
- var _GilmerMedium = _interopRequireDefault(require("./Gilmer-Medium.woff2"));
13
- var _templateObject; // Fonts
8
+ var _GilmerRegular = _interopRequireDefault(require("./Gilmer/Gilmer-Regular.woff2"));
9
+ var _GilmerBold = _interopRequireDefault(require("./Gilmer/Gilmer-Bold.woff2"));
10
+ var _GilmerHeavy = _interopRequireDefault(require("./Gilmer/Gilmer-Heavy.woff2"));
11
+ var _GilmerLight = _interopRequireDefault(require("./Gilmer/Gilmer-Light.woff2"));
12
+ var _GilmerMedium = _interopRequireDefault(require("./Gilmer/Gilmer-Medium.woff2"));
13
+ var _SpringwoodBrushItalic = _interopRequireDefault(require("./Springwood/SpringwoodBrush-Italic.woff2"));
14
+ var _SpringwoodBrushRegular = _interopRequireDefault(require("./Springwood/SpringwoodBrush-Regular.woff2"));
15
+ var _templateObject; // Fonts Manamerge Gilmer
16
+ // Fonts SpringWood
14
17
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
15
18
  function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
16
- var DavidWebStyles = exports.DavidWebStyles = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 300;\n }\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 400;\n }\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 500;\n }\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 700;\n }\n\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 900;\n }\n * {\n font-family: ManamergeGilmer, sans-serif;\n }\n"])), _GilmerLight["default"], _GilmerRegular["default"], _GilmerMedium["default"], _GilmerBold["default"], _GilmerHeavy["default"]);
19
+ var DavidWebStyles = exports.DavidWebStyles = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 300;\n }\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 400;\n }\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 500;\n }\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 700;\n }\n\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 900;\n }\n @font-face {\n font-family: Springwood;\n src: url(", ") format('woff2');\n font-style: italic;\n font-weight: 400;\n }\n @font-face {\n font-family: Springwood;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 400;\n }\n"])), _GilmerLight["default"], _GilmerRegular["default"], _GilmerMedium["default"], _GilmerBold["default"], _GilmerHeavy["default"], _SpringwoodBrushItalic["default"], _SpringwoodBrushRegular["default"]);
@@ -1,21 +1,17 @@
1
- import colors from "../miscellaneous/colorpalette";
2
- import vFontSizes from "../miscellaneous/fontsizes";
3
-
4
1
  const breakerTape = {
5
2
  "BreakerTape-primary": {
6
3
  icon: {
7
4
  variant: "medium",
8
- fill: colors.one.g,
9
- stroke: colors.one.g,
5
+ fill: "gold",
6
+ stroke: "gold",
10
7
  hover: {
11
- fill: colors.one.g,
12
- stroke: colors.one.g
8
+ stroke: "gold",
9
+ fill: "gold"
13
10
  }
14
11
  },
15
12
  text: {
16
- variant: "primary-medium",
17
- color: colors.one.h,
18
- fontSize: vFontSizes.sm
13
+ variant: "secondary-bold",
14
+ color: "#111"
19
15
  },
20
16
  tapeContent: {
21
17
  alignItems: "center",
@@ -25,7 +21,7 @@ const breakerTape = {
25
21
  tapeContainer: {
26
22
  width: "100%",
27
23
  transform: "rotate(-3deg)",
28
- background: `linear-gradient(to right,#c6fba6,#80c3ba)`,
24
+ background: `linear-gradient(to right,rgb(255, 120, 120),rgb(255, 101, 247))`,
29
25
  padding: "10px 0",
30
26
  margin: "45px 0 0 0"
31
27
  }
@@ -29,7 +29,7 @@ const header = {
29
29
  variant: "secondary-h1"
30
30
  },
31
31
  atomTextTitle: {
32
- variant: "secondary-medium"
32
+ variant: "primary-medium"
33
33
  },
34
34
  atomButtonLeft: {
35
35
  variant: "primary",
@@ -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;