@manamerge/mana-atomic-ui 1.0.45 → 1.0.47
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.
- package/dist/index.d.ts +3 -5
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/themes/{DavidWebTheme.js → themes/DavidWebTheme.ts} +27 -1
- package/dist/themes/{ManamergeTheme.js → themes/ManamergeTheme.ts} +40 -7
- package/dist/themes/themes/davidWeb/fonts/index.js +15 -44
- package/dist/themes/themes/davidWeb/images/icons/modal/closeicon.svg.js +42 -37
- package/dist/themes/themes/davidWeb/images/icons/navigation/notification.svg.js +49 -48
- package/dist/themes/themes/davidWeb/images/icons/navigation/profile.svg.js +31 -27
- package/dist/themes/themes/davidWeb/images/icons/navigation/user.svg.js +33 -29
- package/dist/themes/themes/davidWeb/styling/chat-theme.css.js +14 -80
- package/dist/themes/themes/davidWeb/styling/filter-list-theme.css.js +12 -47
- package/dist/themes/themes/davidWeb/styling/notification-theme.css.js +22 -166
- package/dist/themes/themes/manamerge/fonts/index.js +17 -55
- package/dist/themes/themes/manamerge/images/icons/modal/closeicon.svg.js +42 -37
- package/dist/themes/themes/manamerge/images/icons/navigation/notification.svg.js +49 -48
- package/dist/themes/themes/manamerge/images/icons/navigation/profile.svg.js +31 -27
- package/dist/themes/themes/manamerge/images/icons/navigation/user.svg.js +33 -29
- package/dist/themes/themes/manamerge/miscellaneous/colorpalette.ts +7 -6
- package/dist/themes/themes/manamerge/miscellaneous/fontsizes.ts +4 -2
- package/dist/themes/themes/manamerge/styling/chat-theme.css.js +14 -80
- package/dist/themes/themes/manamerge/styling/filter-list-theme.css.js +12 -47
- package/dist/themes/themes/manamerge/styling/notification-theme.css.js +22 -166
- package/dist/types/components/Atoms/Heading/Heading.d.ts +1 -1
- package/dist/types/components/Atoms/Text/Text.d.ts +2 -4
- package/dist/types/themes/ManamergeTheme.d.ts +167 -167
- package/dist/types/themes/manamerge/atoms/button.d.ts +18 -18
- package/dist/types/themes/manamerge/atoms/divider.d.ts +3 -3
- package/dist/types/themes/manamerge/atoms/gradient.d.ts +6 -6
- package/dist/types/themes/manamerge/atoms/heading.d.ts +36 -36
- package/dist/types/themes/manamerge/atoms/link.d.ts +30 -30
- package/dist/types/themes/manamerge/atoms/text.d.ts +14 -14
- package/dist/types/themes/manamerge/miscellaneous/colorpalette.d.ts +24 -29
- package/dist/types/themes/manamerge/miscellaneous/fontsizes.d.ts +8 -9
- package/dist/types/themes/manamerge/molecules/cardBanner.d.ts +2 -2
- package/package.json +2 -3
- package/dist/themes/davidWeb/atoms/button.js +0 -107
- package/dist/themes/davidWeb/atoms/checkbox.js +0 -72
- package/dist/themes/davidWeb/atoms/divider.js +0 -24
- package/dist/themes/davidWeb/atoms/gradient.js +0 -18
- package/dist/themes/davidWeb/atoms/heading.js +0 -141
- package/dist/themes/davidWeb/atoms/icon.js +0 -30
- package/dist/themes/davidWeb/atoms/link.js +0 -78
- package/dist/themes/davidWeb/atoms/text.js +0 -38
- package/dist/themes/davidWeb/layouts/pint3.js +0 -13
- package/dist/themes/davidWeb/miscellaneous/breakpoints.js +0 -14
- package/dist/themes/davidWeb/molecules/accordion.js +0 -29
- package/dist/themes/davidWeb/molecules/breakerTape.js +0 -30
- package/dist/themes/davidWeb/molecules/cardBanner.js +0 -26
- package/dist/themes/davidWeb/molecules/cardSimpleRender.js +0 -34
- package/dist/themes/davidWeb/molecules/cardTeaser.js +0 -69
- package/dist/themes/davidWeb/molecules/footer.js +0 -26
- package/dist/themes/davidWeb/molecules/header.js +0 -94
- package/dist/themes/davidWeb/molecules/navigation.js +0 -53
- package/dist/themes/manamerge/atoms/button.js +0 -108
- package/dist/themes/manamerge/atoms/checkbox.js +0 -72
- package/dist/themes/manamerge/atoms/divider.js +0 -25
- package/dist/themes/manamerge/atoms/gradient.js +0 -19
- package/dist/themes/manamerge/atoms/heading.js +0 -280
- package/dist/themes/manamerge/atoms/icon.js +0 -30
- package/dist/themes/manamerge/atoms/link.js +0 -124
- package/dist/themes/manamerge/atoms/text.js +0 -62
- package/dist/themes/manamerge/layouts/pint3.js +0 -13
- package/dist/themes/manamerge/miscellaneous/breakpoints.js +0 -14
- package/dist/themes/manamerge/miscellaneous/colorpalette.js +0 -31
- package/dist/themes/manamerge/miscellaneous/fontsizes.js +0 -11
- package/dist/themes/manamerge/molecules/accordion.js +0 -29
- package/dist/themes/manamerge/molecules/breakerTape.js +0 -30
- package/dist/themes/manamerge/molecules/cardBanner.js +0 -26
- package/dist/themes/manamerge/molecules/cardSimpleRender.js +0 -35
- package/dist/themes/manamerge/molecules/cardTeaser.js +0 -69
- package/dist/themes/manamerge/molecules/footer.js +0 -26
- package/dist/themes/manamerge/molecules/header.js +0 -86
- package/dist/themes/manamerge/molecules/navigation.js +0 -53
|
@@ -1,30 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
// eslint-disable-next-line react/prop-types
|
|
3
|
-
const UserIcon = ({ color }) => (
|
|
4
|
-
<svg
|
|
5
|
-
width="24"
|
|
6
|
-
height="25"
|
|
7
|
-
viewBox="0 0 24 25"
|
|
8
|
-
fill="none"
|
|
9
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
-
>
|
|
11
|
-
<path
|
|
12
|
-
d="M20 21.5V19.5C20 17.2909 18.2091 15.5 16 15.5L8 15.5C5.79086 15.5 4 17.2909 4 19.5V21.5"
|
|
13
|
-
stroke={color}
|
|
14
|
-
strokeWidth="1.5"
|
|
15
|
-
strokeLinecap="round"
|
|
16
|
-
strokeLinejoin="round"
|
|
17
|
-
/>
|
|
18
|
-
<path
|
|
19
|
-
fillRule="evenodd"
|
|
20
|
-
clipRule="evenodd"
|
|
21
|
-
d="M12 11.5C14.2091 11.5 16 9.70914 16 7.5C16 5.29086 14.2091 3.5 12 3.5C9.79086 3.5 8 5.29086 8 7.5C8 9.70914 9.79086 11.5 12 11.5Z"
|
|
22
|
-
stroke={color}
|
|
23
|
-
strokeWidth="1.5"
|
|
24
|
-
strokeLinecap="round"
|
|
25
|
-
strokeLinejoin="round"
|
|
26
|
-
/>
|
|
27
|
-
</svg>
|
|
28
|
-
);
|
|
1
|
+
"use strict";
|
|
29
2
|
|
|
30
|
-
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
// eslint-disable-next-line react/prop-types
|
|
10
|
+
var UserIcon = function UserIcon(_ref) {
|
|
11
|
+
var color = _ref.color;
|
|
12
|
+
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
13
|
+
width: "24",
|
|
14
|
+
height: "25",
|
|
15
|
+
viewBox: "0 0 24 25",
|
|
16
|
+
fill: "none",
|
|
17
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
18
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
19
|
+
d: "M20 21.5V19.5C20 17.2909 18.2091 15.5 16 15.5L8 15.5C5.79086 15.5 4 17.2909 4 19.5V21.5",
|
|
20
|
+
stroke: color,
|
|
21
|
+
strokeWidth: "1.5",
|
|
22
|
+
strokeLinecap: "round",
|
|
23
|
+
strokeLinejoin: "round"
|
|
24
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
25
|
+
fillRule: "evenodd",
|
|
26
|
+
clipRule: "evenodd",
|
|
27
|
+
d: "M12 11.5C14.2091 11.5 16 9.70914 16 7.5C16 5.29086 14.2091 3.5 12 3.5C9.79086 3.5 8 5.29086 8 7.5C8 9.70914 9.79086 11.5 12 11.5Z",
|
|
28
|
+
stroke: color,
|
|
29
|
+
strokeWidth: "1.5",
|
|
30
|
+
strokeLinecap: "round",
|
|
31
|
+
strokeLinejoin: "round"
|
|
32
|
+
}));
|
|
33
|
+
};
|
|
34
|
+
var _default = exports["default"] = UserIcon;
|
|
@@ -27,12 +27,13 @@ const colors = {
|
|
|
27
27
|
a: "#FF1A1A",
|
|
28
28
|
b: "#590E0E"
|
|
29
29
|
}
|
|
30
|
-
}
|
|
30
|
+
};
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
// ? WIP - see card 158
|
|
33
|
+
// type NestedValues<T> = {
|
|
34
|
+
// [K in keyof T]: T[K] extends object ? NestedValues<T[K]> : T[K];
|
|
35
|
+
// }[keyof T];
|
|
35
36
|
|
|
36
|
-
type PaletteColor = NestedValues<typeof colors>;
|
|
37
|
-
export type { PaletteColor };
|
|
37
|
+
// type PaletteColor = NestedValues<typeof colors>;
|
|
38
|
+
// export type { PaletteColor };
|
|
38
39
|
export default colors;
|
|
@@ -1,80 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.ChatRow-message {
|
|
15
|
-
font-family:
|
|
16
|
-
Metro Sans,
|
|
17
|
-
Verdana,
|
|
18
|
-
Geneva,
|
|
19
|
-
Tahoma,
|
|
20
|
-
sans-serif;
|
|
21
|
-
font-style: normal;
|
|
22
|
-
font-weight: normal;
|
|
23
|
-
font-size: 13px;
|
|
24
|
-
line-height: 18px;
|
|
25
|
-
letter-spacing: 0.0125em;
|
|
26
|
-
color: #f2f2f3;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.ChatRow {
|
|
30
|
-
padding: 8px 0px 15px;
|
|
31
|
-
border-bottom: 1px solid #232323;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.ChatRow-author {
|
|
35
|
-
font-family: Gilmer, Verdana, Geneva, Tahoma, sans-serif;
|
|
36
|
-
font-weight: bold;
|
|
37
|
-
font-size: 14px;
|
|
38
|
-
line-height: 20px;
|
|
39
|
-
color: #ffffff;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.ChatRow-moderator,
|
|
43
|
-
.ChatRow-time {
|
|
44
|
-
color: #9d9d9e;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.ChatRow-moderator {
|
|
48
|
-
height: 16px;
|
|
49
|
-
background-image: url(${manaLogo});
|
|
50
|
-
padding-left: 20px;
|
|
51
|
-
margin-top: 1px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.ChatRow--pinned {
|
|
55
|
-
background-color: #212324;
|
|
56
|
-
|
|
57
|
-
.ChatRow-pinnedIcon {
|
|
58
|
-
background-image: url(${bookMark});
|
|
59
|
-
width: 20px;
|
|
60
|
-
height: 20px;
|
|
61
|
-
margin: 0;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.ChatRow-message a {
|
|
66
|
-
color: #7642bc;
|
|
67
|
-
&:hover {
|
|
68
|
-
color: #7642bc;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.InputChat-input {
|
|
73
|
-
background: #131414;
|
|
74
|
-
}
|
|
75
|
-
.InputChat-iconSend,
|
|
76
|
-
.InputChat-iconSend:hover {
|
|
77
|
-
margin: auto 0;
|
|
78
|
-
background-image: url(${sendIcon});
|
|
79
|
-
}
|
|
80
|
-
`;
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _styledComponents = require("styled-components");
|
|
8
|
+
var _sectionLogo_gray = _interopRequireDefault(require("../images/icons/sectionLogo_gray.svg"));
|
|
9
|
+
var _bookmark = _interopRequireDefault(require("../images/icons/bookmark.svg"));
|
|
10
|
+
var _send = _interopRequireDefault(require("../images/icons/send.svg"));
|
|
11
|
+
var _templateObject;
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
14
|
+
var _default = exports["default"] = (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background-color: #131414;\n color: #ffffff;\n padding: 14px;\n\n .ChatRow-author,\n .ChatRow-moderator,\n .ChatRow-time,\n .ChatRow-message {\n font-family:\n Metro Sans,\n Verdana,\n Geneva,\n Tahoma,\n sans-serif;\n font-style: normal;\n font-weight: normal;\n font-size: 13px;\n line-height: 18px;\n letter-spacing: 0.0125em;\n color: #f2f2f3;\n }\n\n .ChatRow {\n padding: 8px 0px 15px;\n border-bottom: 1px solid #232323;\n }\n\n .ChatRow-author {\n font-family: Gilmer, Verdana, Geneva, Tahoma, sans-serif;\n font-weight: bold;\n font-size: 14px;\n line-height: 20px;\n color: #ffffff;\n }\n\n .ChatRow-moderator,\n .ChatRow-time {\n color: #9d9d9e;\n }\n\n .ChatRow-moderator {\n height: 16px;\n background-image: url(", ");\n padding-left: 20px;\n margin-top: 1px;\n }\n\n .ChatRow--pinned {\n background-color: #212324;\n\n .ChatRow-pinnedIcon {\n background-image: url(", ");\n width: 20px;\n height: 20px;\n margin: 0;\n }\n }\n\n .ChatRow-message a {\n color: #7642bc;\n &:hover {\n color: #7642bc;\n }\n }\n\n .InputChat-input {\n background: #131414;\n }\n .InputChat-iconSend,\n .InputChat-iconSend:hover {\n margin: auto 0;\n background-image: url(", ");\n }\n"])), _sectionLogo_gray["default"], _bookmark["default"], _send["default"]);
|
|
@@ -1,47 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.FilterList-btnGroup {
|
|
15
|
-
border-top: 1px solid #1d1e23;
|
|
16
|
-
button {
|
|
17
|
-
text-transform: capitalize;
|
|
18
|
-
color: inherit;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.FilterList-btnReset,
|
|
23
|
-
.FilterList-btnReset:hover {
|
|
24
|
-
background: transparent;
|
|
25
|
-
border: none;
|
|
26
|
-
color: inherit;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.FilterList {
|
|
30
|
-
padding: 30px 35px 56px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&.FilterListRow .FilterList-listItem[data-shape="manamerge"] {
|
|
34
|
-
&:before {
|
|
35
|
-
content: "";
|
|
36
|
-
background: 0 0 url(${manaLogo}) no-repeat;
|
|
37
|
-
width: 22px;
|
|
38
|
-
height: 22px;
|
|
39
|
-
margin: 0px 32px;
|
|
40
|
-
display: inline-block;
|
|
41
|
-
position: absolute;
|
|
42
|
-
}
|
|
43
|
-
label {
|
|
44
|
-
padding-left: 64px;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
`;
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _styledComponents = require("styled-components");
|
|
8
|
+
var _sectionlogo = _interopRequireDefault(require("../images/icons/sectionlogo.svg"));
|
|
9
|
+
var _templateObject;
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
12
|
+
var _default = exports["default"] = (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background-color: #000;\n color: #f2f2f3;\n h3,\n .FilterListRow-title,\n .FilterList-groupTitle,\n .FilterList-listItem > label {\n color: inherit;\n }\n\n .FilterList-btnGroup {\n border-top: 1px solid #1d1e23;\n button {\n text-transform: capitalize;\n color: inherit;\n }\n }\n\n .FilterList-btnReset,\n .FilterList-btnReset:hover {\n background: transparent;\n border: none;\n color: inherit;\n }\n\n &.FilterList {\n padding: 30px 35px 56px;\n }\n\n &.FilterListRow .FilterList-listItem[data-shape=\"manamerge\"] {\n &:before {\n content: \"\";\n background: 0 0 url(", ") no-repeat;\n width: 22px;\n height: 22px;\n margin: 0px 32px;\n display: inline-block;\n position: absolute;\n }\n label {\n padding-left: 64px;\n }\n }\n"])), _sectionlogo["default"]);
|
|
@@ -1,166 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
.NotificationsList {
|
|
24
|
-
padding: 16px;
|
|
25
|
-
${({ theme }) => theme.media.largeMobileUp} {
|
|
26
|
-
padding: 32px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
h2 {
|
|
30
|
-
font-style: normal;
|
|
31
|
-
font-weight: bold;
|
|
32
|
-
font-size: 28px;
|
|
33
|
-
line-height: 34px;
|
|
34
|
-
margin-bottom: 32px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.NotificationsList-items {
|
|
38
|
-
background: #000;
|
|
39
|
-
padding-right: 16px;
|
|
40
|
-
${({ theme }) => theme.media.largeMobileUp} {
|
|
41
|
-
padding-right: 32px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/* < SCROLLBAR definitions */
|
|
46
|
-
.NotificationsList-items::-webkit-scrollbar {
|
|
47
|
-
width: 2px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.NotificationsList-items::-webkit-scrollbar-track {
|
|
51
|
-
background-color: #373942;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.NotificationsList-items::-webkit-scrollbar-thumb {
|
|
55
|
-
background-color: #858687;
|
|
56
|
-
}
|
|
57
|
-
/* SCROLLBAR definitions /> */
|
|
58
|
-
|
|
59
|
-
/* __ LIST ROW SPECIFICS __ */
|
|
60
|
-
.NotificationItem-cta {
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
transition: 0.3s;
|
|
63
|
-
|
|
64
|
-
&:hover {
|
|
65
|
-
opacity: 0.7;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.NotificationItem--unread,
|
|
70
|
-
.NotificationItem--read {
|
|
71
|
-
margin: 0;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.NotificationItem--unread {
|
|
75
|
-
border: none;
|
|
76
|
-
box-shadow: 0px 4px 10px 1px #000 19%;
|
|
77
|
-
.NotificationItem-cta {
|
|
78
|
-
border-color: #373942;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
.NotificationItem--unread + .NotificationItem--unread {
|
|
82
|
-
margin-top: 15px;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.NotificationItem--read + .NotificationItem--read {
|
|
86
|
-
border-top: 1px solid #373942;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.NotificationItem-title h5,
|
|
90
|
-
.NotificationItem-description,
|
|
91
|
-
.TimeAgo {
|
|
92
|
-
color: #bdbec2;
|
|
93
|
-
font-family: var(--font-family-gilmer);
|
|
94
|
-
font-weight: 400;
|
|
95
|
-
font-size: 12px;
|
|
96
|
-
line-height: 16px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.TimeAgo {
|
|
100
|
-
text-transform: uppercase;
|
|
101
|
-
color: #76767d;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.NotificationItem-title h5 {
|
|
105
|
-
text-transform: uppercase;
|
|
106
|
-
letter-spacing: 0.05em;
|
|
107
|
-
color: white;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/* __ TOAST SPECIFICS __ */
|
|
112
|
-
.NotificationToasts {
|
|
113
|
-
bottom: 50%;
|
|
114
|
-
${({ theme }) => theme.media.largeMobileUp} {
|
|
115
|
-
bottom: 0;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.NotificationToast {
|
|
120
|
-
.NotificationToast-title h6 {
|
|
121
|
-
font-family: var(--font-family-gilmer);
|
|
122
|
-
font-weight: bold;
|
|
123
|
-
display: inline-block;
|
|
124
|
-
font-size: 18px;
|
|
125
|
-
line-height: 26px;
|
|
126
|
-
color: #000;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.NotificationToast-description p {
|
|
130
|
-
font-family: var(--font-family-metro);
|
|
131
|
-
font-size: 15px;
|
|
132
|
-
line-height: 25px;
|
|
133
|
-
letter-spacing: 0.0125em;
|
|
134
|
-
color: #343536;
|
|
135
|
-
margin: 16px 0px;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.NotificationToast-link {
|
|
139
|
-
border-top: 1px solid #d4d4d4;
|
|
140
|
-
font-family: var(--font-family-gilmer);
|
|
141
|
-
font-weight: bold;
|
|
142
|
-
font-size: 14px;
|
|
143
|
-
line-height: 20px;
|
|
144
|
-
color: #3a9ef8;
|
|
145
|
-
transition: 0.3s;
|
|
146
|
-
}
|
|
147
|
-
.NotificationToast-link:hover {
|
|
148
|
-
opacity: 0.7;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.NotificationToast-cta,
|
|
152
|
-
.NotificationToast-cta:hover {
|
|
153
|
-
font-family: var(--font-family-metro);
|
|
154
|
-
text-transform: none;
|
|
155
|
-
font-size: 16px;
|
|
156
|
-
color: rgba(0, 0, 0, 0.8);
|
|
157
|
-
border-color: rgba(0, 0, 0, 0.8);
|
|
158
|
-
min-width: 118px;
|
|
159
|
-
height: 52px;
|
|
160
|
-
transition: 0.3s;
|
|
161
|
-
}
|
|
162
|
-
.NotificationToast-cta:hover {
|
|
163
|
-
opacity: 0.7;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
`;
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _styledComponents = require("styled-components");
|
|
8
|
+
var _templateObject;
|
|
9
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
10
|
+
var _default = exports["default"] = (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n /* ____ GENERAL DEFINITIONS ____ */\n --font-family-gilmer: Gilmer, Verdana, Geneva, Tahoma, sans-serif;\n --font-family-metro: Metro Sans, ManamergeMetro, Gilmer, Verdana, Geneva,\n Tahoma, sans-serif;\n --modal-z-index: 9;\n /* --notification-toasts-z-index: 99 is the default */\n\n .SidePanel {\n top: 0;\n ", " {\n top: 50px;\n }\n }\n .SidePanel-container {\n background-color: #000;\n overflow-y: hidden;\n }\n\n /* __ LIST SPECIFICS __ */\n .NotificationsList {\n padding: 16px;\n ", " {\n padding: 32px;\n }\n\n h2 {\n font-style: normal;\n font-weight: bold;\n font-size: 28px;\n line-height: 34px;\n margin-bottom: 32px;\n }\n\n .NotificationsList-items {\n background: #000;\n padding-right: 16px;\n ", " {\n padding-right: 32px;\n }\n }\n\n /* < SCROLLBAR definitions */\n .NotificationsList-items::-webkit-scrollbar {\n width: 2px;\n }\n\n .NotificationsList-items::-webkit-scrollbar-track {\n background-color: #373942;\n }\n\n .NotificationsList-items::-webkit-scrollbar-thumb {\n background-color: #858687;\n }\n /* SCROLLBAR definitions /> */\n\n /* __ LIST ROW SPECIFICS __ */\n .NotificationItem-cta {\n cursor: pointer;\n transition: 0.3s;\n\n &:hover {\n opacity: 0.7;\n }\n }\n\n .NotificationItem--unread,\n .NotificationItem--read {\n margin: 0;\n }\n\n .NotificationItem--unread {\n border: none;\n box-shadow: 0px 4px 10px 1px #000 19%;\n .NotificationItem-cta {\n border-color: #373942;\n }\n }\n .NotificationItem--unread + .NotificationItem--unread {\n margin-top: 15px;\n }\n\n .NotificationItem--read + .NotificationItem--read {\n border-top: 1px solid #373942;\n }\n\n .NotificationItem-title h5,\n .NotificationItem-description,\n .TimeAgo {\n color: #bdbec2;\n font-family: var(--font-family-gilmer);\n font-weight: 400;\n font-size: 12px;\n line-height: 16px;\n }\n\n .TimeAgo {\n text-transform: uppercase;\n color: #76767d;\n }\n\n .NotificationItem-title h5 {\n text-transform: uppercase;\n letter-spacing: 0.05em;\n color: white;\n }\n }\n\n /* __ TOAST SPECIFICS __ */\n .NotificationToasts {\n bottom: 50%;\n ", " {\n bottom: 0;\n }\n }\n\n .NotificationToast {\n .NotificationToast-title h6 {\n font-family: var(--font-family-gilmer);\n font-weight: bold;\n display: inline-block;\n font-size: 18px;\n line-height: 26px;\n color: #000;\n }\n\n .NotificationToast-description p {\n font-family: var(--font-family-metro);\n font-size: 15px;\n line-height: 25px;\n letter-spacing: 0.0125em;\n color: #343536;\n margin: 16px 0px;\n }\n\n .NotificationToast-link {\n border-top: 1px solid #d4d4d4;\n font-family: var(--font-family-gilmer);\n font-weight: bold;\n font-size: 14px;\n line-height: 20px;\n color: #3a9ef8;\n transition: 0.3s;\n }\n .NotificationToast-link:hover {\n opacity: 0.7;\n }\n\n .NotificationToast-cta,\n .NotificationToast-cta:hover {\n font-family: var(--font-family-metro);\n text-transform: none;\n font-size: 16px;\n color: rgba(0, 0, 0, 0.8);\n border-color: rgba(0, 0, 0, 0.8);\n min-width: 118px;\n height: 52px;\n transition: 0.3s;\n }\n .NotificationToast-cta:hover {\n opacity: 0.7;\n }\n }\n"])), function (_ref) {
|
|
11
|
+
var theme = _ref.theme;
|
|
12
|
+
return theme.media.largeMobileUp;
|
|
13
|
+
}, function (_ref2) {
|
|
14
|
+
var theme = _ref2.theme;
|
|
15
|
+
return theme.media.largeMobileUp;
|
|
16
|
+
}, function (_ref3) {
|
|
17
|
+
var theme = _ref3.theme;
|
|
18
|
+
return theme.media.largeMobileUp;
|
|
19
|
+
}, function (_ref4) {
|
|
20
|
+
var theme = _ref4.theme;
|
|
21
|
+
return theme.media.largeMobileUp;
|
|
22
|
+
});
|
|
@@ -2,6 +2,6 @@ import React, { ReactNode } from "react";
|
|
|
2
2
|
export interface HeadingTypes {
|
|
3
3
|
variant?: string;
|
|
4
4
|
children: ReactNode;
|
|
5
|
-
as
|
|
5
|
+
as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
6
6
|
}
|
|
7
7
|
export declare const Heading: React.FC<HeadingTypes>;
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { PaletteColor } from "themes/manamerge/miscellaneous/colorpalette";
|
|
3
2
|
export interface TextTypes {
|
|
4
3
|
variant?: string;
|
|
5
4
|
children?: string;
|
|
6
5
|
htmlFor?: string;
|
|
7
6
|
margin?: string;
|
|
8
7
|
color?: string;
|
|
9
|
-
fontSize?: string;
|
|
10
8
|
lineHeight?: string;
|
|
11
9
|
fontWeight?: string | number;
|
|
12
10
|
tag?: keyof JSX.IntrinsicElements;
|
|
13
|
-
vColor?:
|
|
14
|
-
vFontSize?: "sm" | "md" | "lg" | "xl" | "xxl" | "
|
|
11
|
+
vColor?: string;
|
|
12
|
+
vFontSize?: "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxxl";
|
|
15
13
|
onClick?: React.MouseEventHandler<HTMLElement>;
|
|
16
14
|
}
|
|
17
15
|
export declare const Text: React.FC<TextTypes>;
|