@anas_hameed/edly-saas-widget 0.1.6 → 0.1.8

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 (33) hide show
  1. package/dist/EdlyLogistrationInfo/EdlyLogistrationInfo.js +54 -0
  2. package/dist/EdlyLogistrationInfo/EdlyLogistrationInfo.js.map +1 -0
  3. package/dist/EdlyLogistrationInfo/index.js +14 -0
  4. package/dist/EdlyLogistrationInfo/index.js.map +1 -0
  5. package/dist/EdlyLogistrationInfo/messages.js +26 -0
  6. package/dist/EdlyLogistrationInfo/messages.js.map +1 -0
  7. package/dist/EmailCheckWidget/EmailCheckWidget.js +130 -0
  8. package/dist/EmailCheckWidget/EmailCheckWidget.js.map +1 -0
  9. package/dist/EmailCheckWidget/data/actions.js +40 -0
  10. package/dist/EmailCheckWidget/data/actions.js.map +1 -0
  11. package/dist/EmailCheckWidget/data/constants.js +20 -0
  12. package/dist/EmailCheckWidget/data/constants.js.map +1 -0
  13. package/dist/EmailCheckWidget/data/index.js +56 -0
  14. package/dist/EmailCheckWidget/data/index.js.map +1 -0
  15. package/dist/EmailCheckWidget/data/reducers.js +62 -0
  16. package/dist/EmailCheckWidget/data/reducers.js.map +1 -0
  17. package/dist/EmailCheckWidget/data/sagas.js +31 -0
  18. package/dist/EmailCheckWidget/data/sagas.js.map +1 -0
  19. package/dist/EmailCheckWidget/data/service.js +29 -0
  20. package/dist/EmailCheckWidget/data/service.js.map +1 -0
  21. package/dist/EmailCheckWidget/index.js +37 -0
  22. package/dist/EmailCheckWidget/index.js.map +1 -0
  23. package/dist/EmailCheckWidget/messages.js +36 -0
  24. package/dist/EmailCheckWidget/messages.js.map +1 -0
  25. package/dist/FooterWidget/index.js +31 -18
  26. package/dist/FooterWidget/index.js.map +1 -1
  27. package/dist/FooterWidget/main.scss +49 -4
  28. package/dist/HeaderWidget/index.js +42 -63
  29. package/dist/HeaderWidget/index.js.map +1 -1
  30. package/dist/HeaderWidget/main.scss +190 -89
  31. package/dist/index.js +38 -0
  32. package/dist/index.js.map +1 -1
  33. package/package.json +3 -1
@@ -1,14 +1,20 @@
1
1
  @use "sass:color";
2
+
3
+ @import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
4
+
2
5
  $primary-color: var(--primary-color);
3
6
  $text-color: #0d1321;
4
7
  $background-color: #ffffff;
5
8
  $submenu-bg: #ffffff;
6
9
  $submenu-border: #d1d5db;
10
+ $light-gray: #dfdfdf;
7
11
  $submenu-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
8
12
  $hover-bg: color-mix(in srgb, var(--primary-color) 5%, white 94%);
9
13
  $transition-speed: 0.25s;
10
14
  $font-family: "Inter", sans-serif;
15
+ $font-family-secondary: "Open Sans", sans-serif;
11
16
  $mobile-breakpoint: 1230px;
17
+ $mobile-breakpoint-xl: 1280px;
12
18
  $icon-size: 0.95em;
13
19
 
14
20
  /* Header and logo */
@@ -19,56 +25,20 @@ $icon-size: 0.95em;
19
25
  flex-direction: row;
20
26
  }
21
27
 
22
- // .loader {
23
- // width: 60px;
24
- // aspect-ratio: 2;
25
- // --_g: no-repeat radial-gradient(circle closest-side, #000 90%, #0000);
26
- // background:
27
- // var(--_g) 0% 50%,
28
- // var(--_g) 50% 50%,
29
- // var(--_g) 100% 50%;
30
- // background-size: calc(100% / 3) 50%;
31
- // animation: l3 1s infinite linear;
32
- // }
33
-
34
- // @keyframes l3 {
35
- // 20% {
36
- // background-position:
37
- // 0% 0%,
38
- // 50% 50%,
39
- // 100% 50%;
40
- // }
41
- // 40% {
42
- // background-position:
43
- // 0% 100%,
44
- // 50% 0%,
45
- // 100% 50%;
46
- // }
47
- // 60% {
48
- // background-position:
49
- // 0% 50%,
50
- // 50% 100%,
51
- // 100% 0%;
52
- // }
53
- // 80% {
54
- // background-position:
55
- // 0% 50%,
56
- // 50% 50%,
57
- // 100% 100%;
58
- // }
59
- // }
60
-
61
28
  .site-header {
62
29
  width: 100%;
63
30
  flex: inherit !important;
64
31
  }
65
32
 
66
- .custom-logo-link img {
67
- margin: auto;
68
- max-width: 200px;
69
- max-height: 70px;
70
- height: auto;
71
- width: auto;
33
+ .custom-logo-link {
34
+ margin-right: 30px;
35
+ img {
36
+ margin: auto;
37
+ max-width: 200px;
38
+ max-height: 70px;
39
+ height: auto;
40
+ width: auto;
41
+ }
72
42
  }
73
43
 
74
44
  li.menu-item-object-menu_openedx {
@@ -76,7 +46,6 @@ li.menu-item-object-menu_openedx {
76
46
  }
77
47
 
78
48
  #menu-primary-menu > li > .sub-menu {
79
- left: auto !important;
80
49
  right: 0 !important;
81
50
  }
82
51
 
@@ -90,7 +59,122 @@ li.menu-item-object-menu_openedx {
90
59
 
91
60
  > li {
92
61
  position: relative;
93
- padding: 10px;
62
+ padding: 10px 16px;
63
+
64
+ &.menu-item-object-menu_openedx {
65
+ ul.sub-menu {
66
+ width: 241px;
67
+ left: auto;
68
+ right: 0;
69
+ li {
70
+ margin: 4px 0;
71
+ &.user-info-item,
72
+ &.menu-item-object-user_info_openedx {
73
+ padding: 0;
74
+ margin: 0;
75
+ .user-info-box {
76
+ padding: 15px 16px;
77
+ border-bottom: 1px solid $submenu-border;
78
+ margin-bottom: 5px;
79
+ display: flex;
80
+ align-items: center;
81
+ gap: 10px;
82
+ .menu_openedx {
83
+ img {
84
+ margin-right: 10px;
85
+ width: 40px;
86
+ height: 40px;
87
+ object-fit: cover;
88
+ border-radius: 50%;
89
+ background: $light-gray;
90
+ }
91
+ }
92
+ .info-avatar {
93
+ img {
94
+ border-radius: 100%;
95
+ overflow: hidden;
96
+ width: 40px;
97
+ height: 40px;
98
+ }
99
+ }
100
+ .info-details {
101
+ display: flex;
102
+ flex-direction: column;
103
+ color: #111827;
104
+ .info-fullname {
105
+ font-size: 16px;
106
+ font-family: $font-family-secondary;
107
+ }
108
+ .info-username {
109
+ font-size: 12px;
110
+ font-family: $font-family-secondary;
111
+ }
112
+ }
113
+ }
114
+ }
115
+ a {
116
+ font-family: $font-family-secondary;
117
+ font-size: 14px;
118
+ font-weight: 600;
119
+ padding-left: 50px;
120
+ border-radius: 6px;
121
+ position: relative;
122
+ &:after {
123
+ content: "";
124
+ position: absolute;
125
+ top: 10px;
126
+ left: 16px;
127
+ width: 24px;
128
+ height: 24px;
129
+ display: block !important;
130
+ }
131
+ &:hover {
132
+ color: $text-color;
133
+ }
134
+ }
135
+ &.dashboard_openedx {
136
+ a {
137
+ &:after {
138
+ background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><g clip-path='url(%23clip0_1026_1768)'><path d='M10 13C10 13.5304 10.2107 14.0391 10.5858 14.4142C10.9609 14.7893 11.4696 15 12 15C12.5304 15 13.0391 14.7893 13.4142 14.4142C13.7893 14.0391 14 13.5304 14 13C14 12.4696 13.7893 11.9609 13.4142 11.5858C13.0391 11.2107 12.5304 11 12 11C11.4696 11 10.9609 11.2107 10.5858 11.5858C10.2107 11.9609 10 12.4696 10 13Z' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M13.4502 11.55L15.5002 9.5' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M6.4 20C4.93815 18.8381 3.87391 17.2502 3.35478 15.4565C2.83564 13.6627 2.88732 11.7519 3.50265 9.98881C4.11797 8.22573 5.26647 6.69771 6.78899 5.6165C8.3115 4.53529 10.1326 3.95444 12 3.95444C13.8674 3.95444 15.6885 4.53529 17.211 5.6165C18.7335 6.69771 19.882 8.22573 20.4974 9.98881C21.1127 11.7519 21.1644 13.6627 20.6452 15.4565C20.1261 17.2502 19.0619 18.8381 17.6 20H6.4Z' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></g><defs><clipPath id='clip0_1026_1768'><rect width='24' height='24' fill='white'/></clipPath></defs></svg>")
139
+ no-repeat center/contain;
140
+ }
141
+ }
142
+ }
143
+ &.programs_dashboard_openedx {
144
+ a {
145
+ &:after {
146
+ background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><g clip-path='url(%23clip0_1026_1809)'><path d='M3 19C4.36817 18.2101 5.92017 17.7942 7.5 17.7942C9.07983 17.7942 10.6318 18.2101 12 19C13.3682 18.2101 14.9202 17.7942 16.5 17.7942C18.0798 17.7942 19.6318 18.2101 21 19' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M3 6.00001C4.36817 5.21009 5.92017 4.79424 7.5 4.79424C9.07983 4.79424 10.6318 5.21009 12 6.00001C13.3682 5.21009 14.9202 4.79424 16.5 4.79424C18.0798 4.79424 19.6318 5.21009 21 6.00001' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M3 6V19' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M12 6V19' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M21 6V19' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></g><defs><clipPath id='clip0_1026_1809'><rect width='24' height='24' fill='white'/></clipPath></defs></svg>")
147
+ no-repeat center/contain;
148
+ }
149
+ }
150
+ }
151
+ &.profile_openedx {
152
+ a {
153
+ &:after {
154
+ background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><g clip-path='url(%23clip0_1026_664)'><path d='M8 7C8 8.06087 8.42143 9.07828 9.17157 9.82843C9.92172 10.5786 10.9391 11 12 11C13.0609 11 14.0783 10.5786 14.8284 9.82843C15.5786 9.07828 16 8.06087 16 7C16 5.93913 15.5786 4.92172 14.8284 4.17157C14.0783 3.42143 13.0609 3 12 3C10.9391 3 9.92172 3.42143 9.17157 4.17157C8.42143 4.92172 8 5.93913 8 7Z' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M6 21V19C6 17.9391 6.42143 16.9217 7.17157 16.1716C7.92172 15.4214 8.93913 15 10 15H14C15.0609 15 16.0783 15.4214 16.8284 16.1716C17.5786 16.9217 18 17.9391 18 19V21' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></g><defs><clipPath id='clip0_1026_664'><rect width='24' height='24' fill='white'/></clipPath></defs></svg>")
155
+ no-repeat center/contain;
156
+ }
157
+ }
158
+ }
159
+ &.account_openedx {
160
+ a {
161
+ &:after {
162
+ background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><g clip-path='url(%23clip0_1026_1026)'><path d='M10.325 4.317C10.751 2.561 13.249 2.561 13.675 4.317C13.7389 4.5808 13.8642 4.82578 14.0407 5.032C14.2172 5.23822 14.4399 5.39985 14.6907 5.50375C14.9414 5.60764 15.2132 5.65085 15.4838 5.62987C15.7544 5.60889 16.0162 5.5243 16.248 5.383C17.791 4.443 19.558 6.209 18.618 7.753C18.4769 7.98466 18.3924 8.24634 18.3715 8.51677C18.3506 8.78721 18.3938 9.05877 18.4975 9.30938C18.6013 9.55999 18.7627 9.78258 18.9687 9.95905C19.1747 10.1355 19.4194 10.2609 19.683 10.325C21.439 10.751 21.439 13.249 19.683 13.675C19.4192 13.7389 19.1742 13.8642 18.968 14.0407C18.7618 14.2172 18.6001 14.4399 18.4963 14.6907C18.3924 14.9414 18.3491 15.2132 18.3701 15.4838C18.3911 15.7544 18.4757 16.0162 18.617 16.248C19.557 17.791 17.791 19.558 16.247 18.618C16.0153 18.4769 15.7537 18.3924 15.4832 18.3715C15.2128 18.3506 14.9412 18.3938 14.6906 18.4975C14.44 18.6013 14.2174 18.7627 14.0409 18.9687C13.8645 19.1747 13.7391 19.4194 13.675 19.683C13.249 21.439 10.751 21.439 10.325 19.683C10.2611 19.4192 10.1358 19.1742 9.95929 18.968C9.7828 18.7618 9.56011 18.6001 9.30935 18.4963C9.05859 18.3924 8.78683 18.3491 8.51621 18.3701C8.24559 18.3911 7.98375 18.4757 7.752 18.617C6.209 19.557 4.442 17.791 5.382 16.247C5.5231 16.0153 5.60755 15.7537 5.62848 15.4832C5.64942 15.2128 5.60624 14.9412 5.50247 14.6906C5.3987 14.44 5.23726 14.2174 5.03127 14.0409C4.82529 13.8645 4.58056 13.7391 4.317 13.675C2.561 13.249 2.561 10.751 4.317 10.325C4.5808 10.2611 4.82578 10.1358 5.032 9.95929C5.23822 9.7828 5.39985 9.56011 5.50375 9.30935C5.60764 9.05859 5.65085 8.78683 5.62987 8.51621C5.60889 8.24559 5.5243 7.98375 5.383 7.752C4.443 6.209 6.209 4.442 7.753 5.382C8.753 5.99 10.049 5.452 10.325 4.317Z' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M9 12C9 12.7956 9.31607 13.5587 9.87868 14.1213C10.4413 14.6839 11.2044 15 12 15C12.7956 15 13.5587 14.6839 14.1213 14.1213C14.6839 13.5587 15 12.7956 15 12C15 11.2044 14.6839 10.4413 14.1213 9.87868C13.5587 9.31607 12.7956 9 12 9C11.2044 9 10.4413 9.31607 9.87868 9.87868C9.31607 10.4413 9 11.2044 9 12Z' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></g><defs><clipPath id='clip0_1026_1026'><rect width='24' height='24' fill='white'/></clipPath></defs></svg>")
163
+ no-repeat center/contain;
164
+ }
165
+ }
166
+ }
167
+ &.signout_openedx {
168
+ a {
169
+ &:after {
170
+ background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><g clip-path='url(%23clip0_1026_750)'><path d='M7 6C5.78639 7.02477 4.91697 8.39771 4.50943 9.93294C4.10189 11.4682 4.17592 13.0915 4.7215 14.5833C5.26708 16.0751 6.25786 17.3632 7.55971 18.2732C8.86156 19.1833 10.4116 19.6714 12 19.6714C13.5884 19.6714 15.1384 19.1833 16.4403 18.2732C17.7421 17.3632 18.7329 16.0751 19.2785 14.5833C19.8241 13.0915 19.8981 11.4682 19.4906 9.93294C19.083 8.39771 18.2136 7.02477 17 6' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M12 4V12' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></g><defs><clipPath id='clip0_1026_750'><rect width='24' height='24' fill='white'/></clipPath></defs></svg>")
171
+ no-repeat center/contain;
172
+ }
173
+ }
174
+ }
175
+ }
176
+ }
177
+ }
94
178
 
95
179
  &.menu-item-has-children {
96
180
  a {
@@ -100,25 +184,6 @@ li.menu-item-object-menu_openedx {
100
184
  }
101
185
  }
102
186
 
103
- .user-profile-wrap {
104
- &:hover {
105
- text-decoration: none;
106
- }
107
- &::before {
108
- display: none;
109
- }
110
-
111
- img {
112
- width: 40px;
113
- border-radius: 100%;
114
- overflow: hidden;
115
- }
116
-
117
- span {
118
- display: none;
119
- }
120
- }
121
-
122
187
  a {
123
188
  color: $text-color;
124
189
  text-decoration: none;
@@ -126,13 +191,15 @@ li.menu-item-object-menu_openedx {
126
191
  display: block;
127
192
  border-bottom: 1px solid transparent;
128
193
  transition:
129
- color $transition-speed ease,
130
- border-color $transition-speed ease;
194
+ color $transition-speed ease,
195
+ border-color $transition-speed ease;
131
196
  position: relative;
132
197
  display: block;
133
198
  padding-bottom: 0px;
134
199
  border: 0px;
135
200
  text-decoration: none;
201
+ font-family: $font-family-secondary;
202
+ font-weight: 600;
136
203
  &:before {
137
204
  content: "";
138
205
  background-color: $primary-color;
@@ -161,12 +228,15 @@ li.menu-item-object-menu_openedx {
161
228
  &.menu-item-has-children > a::after,
162
229
  &.menu-item-object-custom_link_filter > a::after,
163
230
  &.submenu-item-class > a::after {
164
- content: "";
231
+ content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 6l6 6l-6 6'/></svg>");
165
232
  font-size: $icon-size;
166
233
  margin-left: 0.4em;
167
234
  display: inline-block;
168
235
  transform: rotate(90deg);
169
236
  transition: transform $transition-speed ease;
237
+ @media (max-width: $mobile-breakpoint) {
238
+ display: none;
239
+ }
170
240
  }
171
241
 
172
242
  &:hover > a::after {
@@ -183,8 +253,8 @@ li.menu-item-object-menu_openedx {
183
253
  border-radius: 6px;
184
254
  box-shadow: $submenu-shadow;
185
255
  list-style: none;
186
- min-width: 230px;
187
- padding: 0.5rem 0;
256
+ min-width: 270px;
257
+ padding: 8px;
188
258
  z-index: 10;
189
259
 
190
260
  > li {
@@ -193,11 +263,12 @@ li.menu-item-object-menu_openedx {
193
263
 
194
264
  a {
195
265
  display: block;
196
- padding: 0.6rem 1rem;
197
266
  color: $text-color;
267
+ border-radius: 6px;
268
+ padding: 0.6rem 1rem;
198
269
  transition:
199
- background $transition-speed ease,
200
- color $transition-speed ease;
270
+ background $transition-speed ease,
271
+ color $transition-speed ease;
201
272
 
202
273
  &:hover {
203
274
  background: $hover-bg;
@@ -209,9 +280,13 @@ li.menu-item-object-menu_openedx {
209
280
  }
210
281
 
211
282
  &.submenu-item-class > a::after {
212
- content: "";
283
+ content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 6l6 6l-6 6'/></svg>");
213
284
  float: right;
285
+ margin-top: 4px;
214
286
  font-size: $icon-size;
287
+ @media (max-width: $mobile-breakpoint) {
288
+ display: none;
289
+ }
215
290
  }
216
291
 
217
292
  .sub-menu {
@@ -225,8 +300,8 @@ li.menu-item-object-menu_openedx {
225
300
  box-shadow: $submenu-shadow;
226
301
  background: $submenu-bg;
227
302
  min-width: 200px;
228
- padding: 0.5rem 0;
229
303
  list-style: none;
304
+ padding: 8px;
230
305
  }
231
306
 
232
307
  &:hover > .sub-menu {
@@ -239,6 +314,26 @@ li.menu-item-object-menu_openedx {
239
314
  display: block;
240
315
  }
241
316
  }
317
+
318
+ .user-profile-wrap {
319
+ &:hover {
320
+ text-decoration: none;
321
+ }
322
+ &::before {
323
+ display: none;
324
+ }
325
+
326
+ img {
327
+ width: 40px;
328
+ border-radius: 100%;
329
+ overflow: hidden;
330
+ border: 1px solid $primary-color;
331
+ }
332
+
333
+ span {
334
+ display: none;
335
+ }
336
+ }
242
337
  }
243
338
 
244
339
  .mobile-menu {
@@ -257,9 +352,8 @@ li.menu-item-object-menu_openedx {
257
352
  .site-header {
258
353
  opacity: 1;
259
354
  visibility: visible;
260
- max-height: 4000px;
261
355
  transition: all 0.3s ease;
262
- max-height: 200px;
356
+ max-height: calc(100vh - 130px);
263
357
  overflow-y: auto;
264
358
  overflow-x: hidden;
265
359
  }
@@ -267,7 +361,6 @@ li.menu-item-object-menu_openedx {
267
361
  .site-header {
268
362
  opacity: 0;
269
363
  visibility: hidden;
270
- max-height: 0;
271
364
  }
272
365
  }
273
366
  }
@@ -275,7 +368,7 @@ li.menu-item-object-menu_openedx {
275
368
  .menuOpner {
276
369
  position: absolute;
277
370
  top: 50%;
278
- right: 20px;
371
+ left: 20px;
279
372
  transform: translateY(-50%);
280
373
  }
281
374
 
@@ -309,8 +402,23 @@ li.menu-item-object-menu_openedx {
309
402
  }
310
403
  }
311
404
 
405
+ @media (max-width: $mobile-breakpoint-xl) {
406
+ .custom-logo-link {
407
+ margin-right: 10px;
408
+ }
409
+ #menu-primary-menu {
410
+ > li {
411
+ padding: 10px 12px;
412
+ }
413
+ }
414
+
415
+ }
416
+
312
417
  /* Mobile Menu */
313
418
  @media (max-width: $mobile-breakpoint) {
419
+ .header-holder {
420
+ justify-content: center;
421
+ }
314
422
  .custom-logo-link img {
315
423
  max-width: 160px;
316
424
  max-height: 50px;
@@ -318,7 +426,7 @@ li.menu-item-object-menu_openedx {
318
426
  .mobile-menu {
319
427
  .site-header {
320
428
  top: 70px;
321
- padding: 0 30px;
429
+ padding: 0;
322
430
  }
323
431
  }
324
432
  #menu-primary-menu {
@@ -326,9 +434,7 @@ li.menu-item-object-menu_openedx {
326
434
  display: block;
327
435
  width: 100%;
328
436
  border-top: 1px solid #ccc;
329
- &:first-child {
330
- border-top: none;
331
- }
437
+ padding: 10px 20px;
332
438
  > .sub-menu {
333
439
  position: static;
334
440
  display: block;
@@ -336,11 +442,6 @@ li.menu-item-object-menu_openedx {
336
442
  border-radius: 0;
337
443
  border: 0;
338
444
  box-shadow: none;
339
- li {
340
- a {
341
- font-size: 12px;
342
- }
343
- }
344
445
  }
345
446
  }
346
447
  }
package/dist/index.js CHANGED
@@ -3,6 +3,18 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ Object.defineProperty(exports, "EdlyLogistrationInfo", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _EdlyLogistrationInfo.EdlyLogistrationInfo;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "EmailCheckWidget", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _EmailCheckWidget.EmailCheckWidget;
16
+ }
17
+ });
6
18
  Object.defineProperty(exports, "FooterWidget", {
7
19
  enumerable: true,
8
20
  get: function () {
@@ -15,7 +27,33 @@ Object.defineProperty(exports, "HeaderWidget", {
15
27
  return _HeaderWidget.default;
16
28
  }
17
29
  });
30
+ Object.defineProperty(exports, "emailCheckComplete", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _EmailCheckWidget.emailCheckComplete;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "emailCheckReducer", {
37
+ enumerable: true,
38
+ get: function () {
39
+ return _EmailCheckWidget.reducer;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "emailCheckSaga", {
43
+ enumerable: true,
44
+ get: function () {
45
+ return _EmailCheckWidget.saga;
46
+ }
47
+ });
48
+ Object.defineProperty(exports, "emailCheckStoreName", {
49
+ enumerable: true,
50
+ get: function () {
51
+ return _EmailCheckWidget.storeName;
52
+ }
53
+ });
18
54
  var _HeaderWidget = _interopRequireDefault(require("./HeaderWidget"));
19
55
  var _FooterWidget = _interopRequireDefault(require("./FooterWidget"));
56
+ var _EmailCheckWidget = require("./EmailCheckWidget");
57
+ var _EdlyLogistrationInfo = require("./EdlyLogistrationInfo");
20
58
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
21
59
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_HeaderWidget","_interopRequireDefault","require","_FooterWidget","e","__esModule","default"],"sources":["../src/index.js"],"sourcesContent":["import HeaderWidget from \"./HeaderWidget\";\nimport FooterWidget from \"./FooterWidget\";\n\n\nexport { HeaderWidget, FooterWidget };\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAF,sBAAA,CAAAC,OAAA;AAA0C,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_HeaderWidget","_interopRequireDefault","require","_FooterWidget","_EmailCheckWidget","_EdlyLogistrationInfo","e","__esModule","default"],"sources":["../src/index.js"],"sourcesContent":["import HeaderWidget from './HeaderWidget';\nimport FooterWidget from './FooterWidget';\n\nexport { HeaderWidget, FooterWidget };\nexport {\n EmailCheckWidget,\n reducer as emailCheckReducer,\n saga as emailCheckSaga,\n storeName as emailCheckStoreName,\n emailCheckComplete,\n} from './EmailCheckWidget';\nexport { EdlyLogistrationInfo } from './EdlyLogistrationInfo';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAF,sBAAA,CAAAC,OAAA;AAGA,IAAAE,iBAAA,GAAAF,OAAA;AAOA,IAAAG,qBAAA,GAAAH,OAAA;AAA8D,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anas_hameed/edly-saas-widget",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Frontend application template",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -44,6 +44,8 @@
44
44
  "prop-types": "^15.5.10",
45
45
  "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
46
46
  "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
47
+ "react-redux": "^7.2.9",
48
+ "redux-saga": "^1.3.0",
47
49
  "react-router-dom": "^6.14.2"
48
50
  },
49
51
  "devDependencies": {