@manamerge/mana-atomic-ui 1.0.43 → 1.0.45

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.
Files changed (74) hide show
  1. package/dist/index.d.ts +4 -3
  2. package/dist/index.js +5 -3
  3. package/dist/index.js.map +1 -1
  4. package/dist/themes/{themes/DavidWebTheme.ts → DavidWebTheme.js} +1 -27
  5. package/dist/themes/{themes/ManamergeTheme.ts → ManamergeTheme.js} +5 -32
  6. package/dist/themes/davidWeb/atoms/button.js +107 -0
  7. package/dist/themes/davidWeb/atoms/checkbox.js +72 -0
  8. package/dist/themes/davidWeb/atoms/divider.js +24 -0
  9. package/dist/themes/davidWeb/atoms/gradient.js +18 -0
  10. package/dist/themes/davidWeb/atoms/heading.js +141 -0
  11. package/dist/themes/davidWeb/atoms/icon.js +30 -0
  12. package/dist/themes/davidWeb/atoms/link.js +78 -0
  13. package/dist/themes/davidWeb/atoms/text.js +38 -0
  14. package/dist/themes/davidWeb/layouts/pint3.js +13 -0
  15. package/dist/themes/davidWeb/miscellaneous/breakpoints.js +14 -0
  16. package/dist/themes/davidWeb/molecules/accordion.js +29 -0
  17. package/dist/themes/davidWeb/molecules/breakerTape.js +30 -0
  18. package/dist/themes/davidWeb/molecules/cardBanner.js +26 -0
  19. package/dist/themes/davidWeb/molecules/cardSimpleRender.js +34 -0
  20. package/dist/themes/davidWeb/molecules/cardTeaser.js +69 -0
  21. package/dist/themes/davidWeb/molecules/footer.js +26 -0
  22. package/dist/themes/davidWeb/molecules/header.js +94 -0
  23. package/dist/themes/davidWeb/molecules/navigation.js +53 -0
  24. package/dist/themes/manamerge/atoms/button.js +108 -0
  25. package/dist/themes/manamerge/atoms/checkbox.js +72 -0
  26. package/dist/themes/manamerge/atoms/divider.js +25 -0
  27. package/dist/themes/manamerge/atoms/gradient.js +19 -0
  28. package/dist/themes/manamerge/atoms/heading.js +280 -0
  29. package/dist/themes/manamerge/atoms/icon.js +30 -0
  30. package/dist/themes/manamerge/atoms/link.js +124 -0
  31. package/dist/themes/manamerge/atoms/text.js +62 -0
  32. package/dist/themes/manamerge/layouts/pint3.js +13 -0
  33. package/dist/themes/manamerge/miscellaneous/breakpoints.js +14 -0
  34. package/dist/themes/manamerge/miscellaneous/colorpalette.js +31 -0
  35. package/dist/themes/manamerge/miscellaneous/fontsizes.js +11 -0
  36. package/dist/themes/manamerge/molecules/accordion.js +29 -0
  37. package/dist/themes/manamerge/molecules/breakerTape.js +30 -0
  38. package/dist/themes/manamerge/molecules/cardBanner.js +26 -0
  39. package/dist/themes/manamerge/molecules/cardSimpleRender.js +35 -0
  40. package/dist/themes/manamerge/molecules/cardTeaser.js +69 -0
  41. package/dist/themes/manamerge/molecules/footer.js +26 -0
  42. package/dist/themes/manamerge/molecules/header.js +86 -0
  43. package/dist/themes/manamerge/molecules/navigation.js +53 -0
  44. package/dist/themes/themes/davidWeb/fonts/index.js +44 -15
  45. package/dist/themes/themes/davidWeb/images/icons/modal/closeicon.svg.js +37 -42
  46. package/dist/themes/themes/davidWeb/images/icons/navigation/notification.svg.js +48 -49
  47. package/dist/themes/themes/davidWeb/images/icons/navigation/profile.svg.js +27 -31
  48. package/dist/themes/themes/davidWeb/images/icons/navigation/user.svg.js +29 -33
  49. package/dist/themes/themes/davidWeb/styling/chat-theme.css.js +80 -14
  50. package/dist/themes/themes/davidWeb/styling/filter-list-theme.css.js +47 -12
  51. package/dist/themes/themes/davidWeb/styling/notification-theme.css.js +166 -22
  52. package/dist/themes/themes/manamerge/fonts/index.js +55 -17
  53. package/dist/themes/themes/manamerge/images/icons/modal/closeicon.svg.js +37 -42
  54. package/dist/themes/themes/manamerge/images/icons/navigation/notification.svg.js +48 -49
  55. package/dist/themes/themes/manamerge/images/icons/navigation/profile.svg.js +27 -31
  56. package/dist/themes/themes/manamerge/images/icons/navigation/user.svg.js +29 -33
  57. package/dist/themes/themes/manamerge/miscellaneous/colorpalette.ts +6 -6
  58. package/dist/themes/themes/manamerge/miscellaneous/fontsizes.ts +2 -2
  59. package/dist/themes/themes/manamerge/styling/chat-theme.css.js +80 -14
  60. package/dist/themes/themes/manamerge/styling/filter-list-theme.css.js +47 -12
  61. package/dist/themes/themes/manamerge/styling/notification-theme.css.js +166 -22
  62. package/dist/types/components/Atoms/Heading/Heading.d.ts +1 -1
  63. package/dist/types/components/Atoms/Text/Text.d.ts +3 -2
  64. package/dist/types/themes/ManamergeTheme.d.ts +155 -145
  65. package/dist/types/themes/manamerge/atoms/button.d.ts +18 -18
  66. package/dist/types/themes/manamerge/atoms/divider.d.ts +3 -3
  67. package/dist/types/themes/manamerge/atoms/gradient.d.ts +6 -6
  68. package/dist/types/themes/manamerge/atoms/heading.d.ts +36 -36
  69. package/dist/types/themes/manamerge/atoms/link.d.ts +30 -30
  70. package/dist/types/themes/manamerge/atoms/text.d.ts +14 -14
  71. package/dist/types/themes/manamerge/miscellaneous/colorpalette.d.ts +29 -24
  72. package/dist/types/themes/manamerge/miscellaneous/fontsizes.d.ts +9 -8
  73. package/dist/types/themes/manamerge/molecules/cardBanner.d.ts +2 -2
  74. package/package.json +3 -2
@@ -1,14 +1,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
+ import { css } from "styled-components";
2
+ import manaLogo from "../images/icons/sectionLogo_gray.svg";
3
+ import bookMark from "../images/icons/bookmark.svg";
4
+ import sendIcon from "../images/icons/send.svg";
5
+
6
+ export default css`
7
+ background-color: #131414;
8
+ color: #ffffff;
9
+ padding: 14px;
10
+
11
+ .ChatRow-author,
12
+ .ChatRow-moderator,
13
+ .ChatRow-time,
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,12 +1,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
+ import { css } from "styled-components";
2
+ import manaLogo from "../images/icons/sectionlogo.svg";
3
+
4
+ export default css`
5
+ background-color: #000;
6
+ color: #f2f2f3;
7
+ h3,
8
+ .FilterListRow-title,
9
+ .FilterList-groupTitle,
10
+ .FilterList-listItem > label {
11
+ color: inherit;
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,22 +1,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:\n Metro Sans, ManamergeMetro, Gilmer, Verdana, Geneva, 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
- });
1
+ import { css } from "styled-components";
2
+
3
+ export default css`
4
+ /* ____ GENERAL DEFINITIONS ____ */
5
+ --font-family-gilmer: Gilmer, Verdana, Geneva, Tahoma, sans-serif;
6
+ --font-family-metro:
7
+ Metro Sans, ManamergeMetro, Gilmer, Verdana, Geneva, Tahoma, sans-serif;
8
+ --modal-z-index: 9;
9
+ /* --notification-toasts-z-index: 99 is the default */
10
+
11
+ .SidePanel {
12
+ top: 0;
13
+ ${({ theme }) => theme.media.largeMobileUp} {
14
+ top: 50px;
15
+ }
16
+ }
17
+ .SidePanel-container {
18
+ background-color: #000;
19
+ overflow-y: hidden;
20
+ }
21
+
22
+ /* __ LIST SPECIFICS __ */
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,19 +1,57 @@
1
- "use strict";
1
+ import { createGlobalStyle } from "styled-components";
2
2
 
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.ManamergeStyles = void 0;
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
3
+ // Fonts Manamerge Gilmer
4
+ import ManamergeGilmerRegular from "./Gilmer/Gilmer-Regular.woff2";
5
+ import ManamergeGilmerBold from "./Gilmer/Gilmer-Bold.woff2";
6
+ import ManamergeGilmerHeavy from "./Gilmer/Gilmer-Heavy.woff2";
7
+ import ManamergeGilmerLight from "./Gilmer/Gilmer-Light.woff2";
8
+ import ManamergeGilmerMedium from "./Gilmer/Gilmer-Medium.woff2";
16
9
  // Fonts SpringWood
17
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
18
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
19
- var ManamergeStyles = exports.ManamergeStyles = (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"]);
10
+ import SpringwoodBrushItalic from "./Springwood/SpringwoodBrush-Italic.woff2";
11
+ import SpringwoodBrushRegular from "./Springwood/SpringwoodBrush-Regular.woff2";
12
+
13
+ export const ManamergeStyles = createGlobalStyle`
14
+ @font-face {
15
+ font-family: ManamergeGilmer;
16
+ src: url(${ManamergeGilmerLight}) format('woff2');
17
+ font-style: normal;
18
+ font-weight: 300;
19
+ }
20
+ @font-face {
21
+ font-family: ManamergeGilmer;
22
+ src: url(${ManamergeGilmerRegular}) format('woff2');
23
+ font-style: normal;
24
+ font-weight: 400;
25
+ }
26
+ @font-face {
27
+ font-family: ManamergeGilmer;
28
+ src: url(${ManamergeGilmerMedium}) format('woff2');
29
+ font-style: normal;
30
+ font-weight: 500;
31
+ }
32
+ @font-face {
33
+ font-family: ManamergeGilmer;
34
+ src: url(${ManamergeGilmerBold}) format('woff2');
35
+ font-style: normal;
36
+ font-weight: 700;
37
+ }
38
+
39
+ @font-face {
40
+ font-family: ManamergeGilmer;
41
+ src: url(${ManamergeGilmerHeavy}) format('woff2');
42
+ font-style: normal;
43
+ font-weight: 900;
44
+ }
45
+ @font-face {
46
+ font-family: Springwood;
47
+ src: url(${SpringwoodBrushItalic}) format('woff2');
48
+ font-style: italic;
49
+ font-weight: 400;
50
+ }
51
+ @font-face {
52
+ font-family: Springwood;
53
+ src: url(${SpringwoodBrushRegular}) format('woff2');
54
+ font-style: normal;
55
+ font-weight: 400;
56
+ }
57
+ `;
@@ -1,43 +1,38 @@
1
- "use strict";
2
-
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 }; }
1
+ import React from "react";
9
2
  // eslint-disable-next-line react/prop-types
10
- var CheckIcon = function CheckIcon(_ref) {
11
- var color = _ref.color,
12
- _ref$className = _ref.className,
13
- className = _ref$className === void 0 ? "" : _ref$className;
14
- return /*#__PURE__*/_react["default"].createElement("svg", {
15
- width: "24",
16
- height: "24",
17
- viewBox: "0 0 24 24",
18
- fill: "none",
19
- xmlns: "http://www.w3.org/2000/svg",
20
- className: className
21
- }, /*#__PURE__*/_react["default"].createElement("path", {
22
- fillRule: "evenodd",
23
- clipRule: "evenodd",
24
- d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",
25
- stroke: color,
26
- strokeWidth: "1.5",
27
- strokeLinecap: "round",
28
- strokeLinejoin: "round"
29
- }), /*#__PURE__*/_react["default"].createElement("path", {
30
- d: "M15 9L9 15",
31
- stroke: color,
32
- strokeWidth: "1.5",
33
- strokeLinecap: "round",
34
- strokeLinejoin: "round"
35
- }), /*#__PURE__*/_react["default"].createElement("path", {
36
- d: "M9 9L15 15",
37
- stroke: color,
38
- strokeWidth: "1.5",
39
- strokeLinecap: "round",
40
- strokeLinejoin: "round"
41
- }));
42
- };
43
- var _default = exports["default"] = CheckIcon;
3
+ const CheckIcon = ({ color, className = "" }) => (
4
+ <svg
5
+ width="24"
6
+ height="24"
7
+ viewBox="0 0 24 24"
8
+ fill="none"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ className={className}
11
+ >
12
+ <path
13
+ fillRule="evenodd"
14
+ clipRule="evenodd"
15
+ d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"
16
+ stroke={color}
17
+ strokeWidth="1.5"
18
+ strokeLinecap="round"
19
+ strokeLinejoin="round"
20
+ />
21
+ <path
22
+ d="M15 9L9 15"
23
+ stroke={color}
24
+ strokeWidth="1.5"
25
+ strokeLinecap="round"
26
+ strokeLinejoin="round"
27
+ />
28
+ <path
29
+ d="M9 9L15 15"
30
+ stroke={color}
31
+ strokeWidth="1.5"
32
+ strokeLinecap="round"
33
+ strokeLinejoin="round"
34
+ />
35
+ </svg>
36
+ );
37
+
38
+ export default CheckIcon;
@@ -1,50 +1,49 @@
1
- "use strict";
2
-
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 }; }
1
+ import React from "react";
9
2
  // eslint-disable-next-line react/prop-types
10
- var NotificationIcon = function NotificationIcon(_ref) {
11
- var color = _ref.color;
12
- return /*#__PURE__*/_react["default"].createElement("svg", {
13
- width: "25",
14
- height: "25",
15
- viewBox: "0 0 25 25",
16
- fill: "none",
17
- xmlns: "http://www.w3.org/2000/svg"
18
- }, /*#__PURE__*/_react["default"].createElement("path", {
19
- d: "M10.5467 4.6875C8.42301 5.29427 7.2915 7.44792 7.2915 9.67448V16.7253H7.28499C7.28499 18.0807 6.34229 18.582 4.95947 18.582V20.3255H20.0441V18.5859C18.6613 18.5859 17.7108 18.0859 17.7108 16.7292H17.7173V9.67969C17.7173 7.44792 16.7108 5.29167 14.5832 4.6888L10.5467 4.6875Z",
20
- stroke: color,
21
- strokeWidth: "1.5",
22
- strokeLinecap: "round",
23
- strokeLinejoin: "round"
24
- }), /*#__PURE__*/_react["default"].createElement("path", {
25
- d: "M10.9375 2.604H14.0625",
26
- stroke: color,
27
- strokeWidth: "1.5",
28
- strokeLinecap: "round",
29
- strokeLinejoin: "round"
30
- }), /*#__PURE__*/_react["default"].createElement("path", {
31
- d: "M12.5002 22.3958C12.8597 22.3958 13.1512 22.1044 13.1512 21.7448C13.1512 21.3852 12.8597 21.0938 12.5002 21.0938C12.1406 21.0938 11.8491 21.3852 11.8491 21.7448C11.8491 22.1044 12.1406 22.3958 12.5002 22.3958Z",
32
- stroke: color,
33
- strokeWidth: "1.5",
34
- strokeLinecap: "round",
35
- strokeLinejoin: "round"
36
- }), /*#__PURE__*/_react["default"].createElement("path", {
37
- d: "M12.4998 22.1525C12.7249 22.1525 12.9074 21.97 12.9074 21.745C12.9074 21.5199 12.7249 21.3374 12.4998 21.3374C12.2748 21.3374 12.0923 21.5199 12.0923 21.745C12.0923 21.97 12.2748 22.1525 12.4998 22.1525Z",
38
- stroke: color,
39
- strokeWidth: "1.5",
40
- strokeLinecap: "round",
41
- strokeLinejoin: "round"
42
- }), /*#__PURE__*/_react["default"].createElement("path", {
43
- d: "M12.5002 21.9076C12.5901 21.9076 12.6629 21.8347 12.6629 21.7448C12.6629 21.6549 12.5901 21.582 12.5002 21.582C12.4103 21.582 12.3374 21.6549 12.3374 21.7448C12.3374 21.8347 12.4103 21.9076 12.5002 21.9076Z",
44
- stroke: color,
45
- strokeWidth: "1.5",
46
- strokeLinecap: "round",
47
- strokeLinejoin: "round"
48
- }));
49
- };
50
- var _default = exports["default"] = NotificationIcon;
3
+ const NotificationIcon = ({ color }) => (
4
+ <svg
5
+ width="25"
6
+ height="25"
7
+ viewBox="0 0 25 25"
8
+ fill="none"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ >
11
+ <path
12
+ d="M10.5467 4.6875C8.42301 5.29427 7.2915 7.44792 7.2915 9.67448V16.7253H7.28499C7.28499 18.0807 6.34229 18.582 4.95947 18.582V20.3255H20.0441V18.5859C18.6613 18.5859 17.7108 18.0859 17.7108 16.7292H17.7173V9.67969C17.7173 7.44792 16.7108 5.29167 14.5832 4.6888L10.5467 4.6875Z"
13
+ stroke={color}
14
+ strokeWidth="1.5"
15
+ strokeLinecap="round"
16
+ strokeLinejoin="round"
17
+ />
18
+ <path
19
+ d="M10.9375 2.604H14.0625"
20
+ stroke={color}
21
+ strokeWidth="1.5"
22
+ strokeLinecap="round"
23
+ strokeLinejoin="round"
24
+ />
25
+ <path
26
+ d="M12.5002 22.3958C12.8597 22.3958 13.1512 22.1044 13.1512 21.7448C13.1512 21.3852 12.8597 21.0938 12.5002 21.0938C12.1406 21.0938 11.8491 21.3852 11.8491 21.7448C11.8491 22.1044 12.1406 22.3958 12.5002 22.3958Z"
27
+ stroke={color}
28
+ strokeWidth="1.5"
29
+ strokeLinecap="round"
30
+ strokeLinejoin="round"
31
+ />
32
+ <path
33
+ d="M12.4998 22.1525C12.7249 22.1525 12.9074 21.97 12.9074 21.745C12.9074 21.5199 12.7249 21.3374 12.4998 21.3374C12.2748 21.3374 12.0923 21.5199 12.0923 21.745C12.0923 21.97 12.2748 22.1525 12.4998 22.1525Z"
34
+ stroke={color}
35
+ strokeWidth="1.5"
36
+ strokeLinecap="round"
37
+ strokeLinejoin="round"
38
+ />
39
+ <path
40
+ d="M12.5002 21.9076C12.5901 21.9076 12.6629 21.8347 12.6629 21.7448C12.6629 21.6549 12.5901 21.582 12.5002 21.582C12.4103 21.582 12.3374 21.6549 12.3374 21.7448C12.3374 21.8347 12.4103 21.9076 12.5002 21.9076Z"
41
+ stroke={color}
42
+ strokeWidth="1.5"
43
+ strokeLinecap="round"
44
+ strokeLinejoin="round"
45
+ />
46
+ </svg>
47
+ );
48
+
49
+ export default NotificationIcon;