@manamerge/mana-atomic-ui 1.0.153 → 1.0.155

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,26 +21,7 @@ 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
- // 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";
24
+ // Images icons
44
25
  import notificationArrow from "./davidWeb/images/icons/notificationArrow.svg";
45
26
  import navBarLogoDark from "./davidWeb/images/logo/icon-manaconf.svg";
46
27
  import navigationBackIcon from "./davidWeb/images/icons/navigation/back.svg";
@@ -107,6 +88,7 @@ export const DavidWebTheme = {
107
88
  heading,
108
89
  button,
109
90
  text,
91
+ breakpoints,
110
92
  icon,
111
93
  headingStyles: heading,
112
94
  gradient,
@@ -122,10 +104,7 @@ export const DavidWebTheme = {
122
104
  cardBanner,
123
105
  accordion,
124
106
 
125
- // Layouts
126
- pint3,
127
-
128
- // Media queries
107
+ // Breakpoints
129
108
  media: {
130
109
  tinyMobileUp: `@media only screen and (min-width: ${tinyMobileUp}px)`,
131
110
  smallMobileUp: `@media only screen and (min-width: ${smallMobileUp}px)`,
@@ -138,11 +117,46 @@ export const DavidWebTheme = {
138
117
  largeDesktopUp: `@media only screen and (min-width: ${largeDesktopUp}px)`,
139
118
  superLargeDesktopUp: `@media only screen and (min-width: ${superLargeDesktopUp}px)`
140
119
  },
141
- // breakpoints,
142
- breakpoints,
143
- // vSizes
144
- fontsizes,
145
120
 
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
+ },
146
160
  pages: {
147
161
  vod: {
148
162
  top: {
@@ -1,279 +1,139 @@
1
- import colors from "../miscellaneous/colorpalette";
2
-
3
1
  const heading = {
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": {
2
+ "Heading-h1": {
143
3
  mobile: {
144
4
  fontSize: "30px",
145
5
  lineHeight: "34px",
146
6
  fontWeight: 700,
147
- color: colors.four.a,
7
+ color: "#3838aa",
148
8
  margin: "0px"
149
9
  },
150
10
  tablet: {
151
11
  fontSize: "34px",
152
12
  lineHeight: "40px",
153
13
  fontWeight: 700,
154
- color: colors.four.a,
14
+ color: "#3838aa",
155
15
  margin: "0px"
156
16
  },
157
17
  desktop: {
158
18
  fontSize: "36px",
159
19
  lineHeight: "40px",
160
20
  fontWeight: 700,
161
- color: colors.four.a,
21
+ color: "#3838aa",
162
22
  margin: "0px"
163
23
  }
164
24
  },
165
- "Heading-secondary-h2": {
25
+ "Heading-h2": {
166
26
  mobile: {
167
27
  fontSize: "24px",
168
28
  lineHeight: "30px",
169
29
  fontWeight: 700,
170
- color: colors.four.a,
30
+ color: "#3838aa",
171
31
  margin: "0px"
172
32
  },
173
33
  tablet: {
174
34
  fontSize: "28px",
175
35
  lineHeight: "34px",
176
36
  fontWeight: 700,
177
- color: colors.four.a,
37
+ color: "#3838aa",
178
38
  margin: "0px"
179
39
  },
180
40
  desktop: {
181
41
  fontSize: "30px",
182
42
  lineHeight: "34px",
183
43
  fontWeight: 700,
184
- color: colors.four.a,
44
+ color: "#3838aa",
185
45
  margin: "0px"
186
46
  }
187
47
  },
188
- "Heading-secondary-h3": {
48
+ "Heading-h3": {
189
49
  mobile: {
190
50
  fontSize: "20px",
191
51
  lineHeight: "25px",
192
52
  fontWeight: 700,
193
- color: colors.four.a,
53
+ color: "#3838aa",
194
54
  margin: "0px"
195
55
  },
196
56
  tablet: {
197
57
  fontSize: "20px",
198
58
  lineHeight: "25px",
199
59
  fontWeight: 700,
200
- color: colors.four.a,
60
+ color: "#3838aa",
201
61
  margin: "0px"
202
62
  },
203
63
  desktop: {
204
64
  fontSize: "24px",
205
65
  lineHeight: "30px",
206
66
  fontWeight: 700,
207
- color: colors.four.a,
67
+ color: "#3838aa",
208
68
  margin: "0px"
209
69
  }
210
70
  },
211
- "Heading-secondary-h4": {
71
+ "Heading-h4": {
212
72
  mobile: {
213
73
  fontSize: "18px",
214
74
  lineHeight: "23px",
215
75
  fontWeight: 700,
216
- color: colors.four.a,
76
+ color: "#3838aa",
217
77
  margin: "0px"
218
78
  },
219
79
  tablet: {
220
80
  fontSize: "18px",
221
81
  lineHeight: "24px",
222
82
  fontWeight: 700,
223
- color: colors.four.a,
83
+ color: "#3838aa",
224
84
  margin: "0px"
225
85
  },
226
86
  desktop: {
227
87
  fontSize: "20px",
228
88
  lineHeight: "25px",
229
89
  fontWeight: 700,
230
- color: colors.four.a,
90
+ color: "#3838aa",
231
91
  margin: "0px"
232
92
  }
233
93
  },
234
- "Heading-secondary-h5": {
94
+ "Heading-h5": {
235
95
  mobile: {
236
96
  fontSize: "16px",
237
97
  lineHeight: "20px",
238
98
  fontWeight: 700,
239
- color: colors.four.a,
99
+ color: "#3838aa",
240
100
  margin: "0px"
241
101
  },
242
102
  tablet: {
243
103
  fontSize: "16px",
244
104
  lineHeight: "20px",
245
105
  fontWeight: 700,
246
- color: colors.four.a,
106
+ color: "#3838aa",
247
107
  margin: "0px"
248
108
  },
249
109
  desktop: {
250
110
  fontSize: "16px",
251
111
  lineHeight: "20px",
252
112
  fontWeight: 700,
253
- color: colors.four.a,
113
+ color: "#3838aa",
254
114
  margin: "0px"
255
115
  }
256
116
  },
257
- "Heading-secondary-h6": {
117
+ "Heading-h6": {
258
118
  mobile: {
259
119
  fontSize: "14px",
260
120
  lineHeight: "20px",
261
121
  fontWeight: 700,
262
- color: colors.four.a,
122
+ color: "#3838aa",
263
123
  margin: "0px"
264
124
  },
265
125
  tablet: {
266
126
  fontSize: "14px",
267
127
  lineHeight: "20px",
268
128
  fontWeight: 700,
269
- color: colors.four.a,
129
+ color: "#3838aa",
270
130
  margin: "0px"
271
131
  },
272
132
  desktop: {
273
133
  fontSize: "14px",
274
134
  lineHeight: "20px",
275
135
  fontWeight: 700,
276
- color: colors.four.a,
136
+ color: "#3838aa",
277
137
  margin: "0px"
278
138
  }
279
139
  }
@@ -1,64 +1,38 @@
1
- import colors from "../miscellaneous/colorpalette";
2
- import fontsizes from "../miscellaneous/fontsizes";
3
-
4
1
  const text = {
5
- "Text-primary-light": {
6
- vFontSize: fontsizes.xs,
2
+ "Text-light": {
3
+ fontSize: "13px",
7
4
  lineHeight: "18px",
8
5
  fontWeight: 300,
9
- vColor: colors.one.b,
10
- margin: "0px",
11
- fontFamily: "ManamergeGilmer"
6
+ color: "#13021f",
7
+ margin: "0px"
12
8
  },
13
- "Text-primary-regular": {
14
- vFontSize: fontsizes.sm,
9
+ "Text-regular": {
10
+ fontSize: "15px",
15
11
  lineHeight: "25px",
16
12
  fontWeight: 400,
17
- vColor: colors.one.b,
18
- margin: "0px",
19
- fontFamily: "ManamergeGilmer"
13
+ color: "#13021f",
14
+ margin: "0px"
20
15
  },
21
- "Text-primary-medium": {
22
- vFontSize: fontsizes.md,
16
+ "Text-medium": {
17
+ fontSize: "17px",
23
18
  lineHeight: "28px",
24
19
  fontWeight: 500,
25
- vColor: colors.one.b,
26
- margin: "0px",
27
- fontFamily: "ManamergeGilmer"
20
+ color: "#13021f",
21
+ margin: "0px"
28
22
  },
29
- "Text-primary-bold": {
30
- vFontSize: fontsizes.lg,
23
+ "Text-bold": {
24
+ fontSize: "17px",
31
25
  lineHeight: "28px",
32
26
  fontWeight: 700,
33
- vColor: colors.one.b,
34
- margin: "0px",
35
- fontFamily: "ManamergeGilmer"
27
+ color: "#13021f",
28
+ margin: "0px"
36
29
  },
37
- "Text-primary-heavy": {
38
- vFontSize: fontsizes.xl,
30
+ "Text-heavy": {
31
+ fontSize: "17px",
39
32
  lineHeight: "28px",
40
33
  fontWeight: 900,
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"
34
+ color: "#13021f",
35
+ margin: "0px"
62
36
  }
63
37
  };
64
38
 
@@ -5,15 +5,12 @@ 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/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
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
17
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
18
15
  function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
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"]);
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"]);
@@ -1,17 +1,21 @@
1
+ import colors from "../miscellaneous/colorpalette";
2
+ import vFontSizes from "../miscellaneous/fontsizes";
3
+
1
4
  const breakerTape = {
2
5
  "BreakerTape-primary": {
3
6
  icon: {
4
7
  variant: "medium",
5
- fill: "gold",
6
- stroke: "gold",
8
+ fill: colors.one.g,
9
+ stroke: colors.one.g,
7
10
  hover: {
8
- stroke: "gold",
9
- fill: "gold"
11
+ fill: colors.one.g,
12
+ stroke: colors.one.g
10
13
  }
11
14
  },
12
15
  text: {
13
- variant: "secondary-bold",
14
- color: "#111"
16
+ variant: "primary-medium",
17
+ color: colors.one.h,
18
+ fontSize: vFontSizes.sm
15
19
  },
16
20
  tapeContent: {
17
21
  alignItems: "center",
@@ -21,7 +25,7 @@ const breakerTape = {
21
25
  tapeContainer: {
22
26
  width: "100%",
23
27
  transform: "rotate(-3deg)",
24
- background: `linear-gradient(to right,rgb(255, 120, 120),rgb(255, 101, 247))`,
28
+ background: `linear-gradient(to right,#c6fba6,#80c3ba)`,
25
29
  padding: "10px 0",
26
30
  margin: "45px 0 0 0"
27
31
  }
@@ -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>;