datastake-daf 0.6.577 → 0.6.578

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.
@@ -0,0 +1,423 @@
1
+ import styled from "styled-components";
2
+ import { MOBILE_WIDTH, TABLET_WIDTH } from "datastake-daf/src/constants/Style";
3
+
4
+ const Style = styled.div`
5
+ .errors-cont {
6
+ margin-top: var(--size-lg);
7
+
8
+ &.no-pt {
9
+ margin-top: 0px;
10
+ }
11
+ }
12
+
13
+ &.popup {
14
+ h2 {
15
+ font-size: 36px;
16
+ line-height: 44px;
17
+ color: #101828;
18
+ margin-bottom: 8px;
19
+ }
20
+
21
+ p {
22
+ color: #667085;
23
+ font-size: var(--font-size-lg);
24
+ line-height: var(--size-lg);
25
+ margin-bottom: 0;
26
+ }
27
+
28
+ .ant-btn-primary {
29
+ background-color: var(--color-primary-70) !important;
30
+ }
31
+ }
32
+
33
+ display: flex;
34
+ flex-direction: column;
35
+ font-family: Outfit;
36
+
37
+ @media(${TABLET_WIDTH}) {
38
+ max-height: 100dvh;
39
+ overflow-y: auto;
40
+ }
41
+
42
+ .category-understood {
43
+ margin-top: -4px;
44
+ background: #F9FAFB;
45
+ border-radius: 8px;
46
+ padding: 12px;
47
+
48
+ svg {
49
+ margin-bottom: 12px;
50
+ }
51
+
52
+ .paragraph {
53
+ display: flex;
54
+ gap: 13px;
55
+
56
+ svg {
57
+ color: #F79009;
58
+ }
59
+ }
60
+
61
+ p {
62
+ font-size: 14px;
63
+ line-height: 20px;
64
+ color: #6C737F;
65
+ font-weight: 400;
66
+ margin-bottom: 8px;
67
+ text-align: left;
68
+ margin-bottom: 8px;
69
+ }
70
+
71
+ .btn {
72
+ padding: 0;
73
+
74
+ span {
75
+ color: var(--mmt-primary-70);
76
+ font-size: 14px;
77
+ font-weight: 500;
78
+ margin-left: 30px;
79
+ cursor: pointer;
80
+ }
81
+ }
82
+ }
83
+
84
+ .main-cont {
85
+ flex: 1;
86
+ display: flex;
87
+ flex-direction: row;
88
+ justify-content: center;
89
+
90
+ @media (${TABLET_WIDTH}) {
91
+ flex-direction: column;
92
+ justify-content: flex-start;
93
+ gap: 48px;
94
+ }
95
+
96
+ .dots {
97
+ display: flex;
98
+ gap: 8px;
99
+ margin-top: 32px;
100
+
101
+ @media (${TABLET_WIDTH}) {
102
+ justify-content: center;
103
+ }
104
+
105
+ .dot {
106
+ width: 12px;
107
+ height: 12px;
108
+ background: white;
109
+ border-radius: 6px;
110
+ transition: .4s width, .4s background;
111
+
112
+ &.active {
113
+ width: 35px;
114
+ background: var(--mmt-primary-60);
115
+ }
116
+ }
117
+ }
118
+
119
+ .d-cont {
120
+ flex: 1;
121
+ display: flex;
122
+ flex-direction: column;
123
+
124
+ a {
125
+ color: var(--mmt-primary-70);
126
+ }
127
+
128
+ .main {
129
+ flex: 1;
130
+ width: 380px;
131
+ display: flex;
132
+ flex-direction: column;
133
+ justify-content: center;
134
+ margin-right: auto;
135
+
136
+ span {
137
+ font-size: 14px;
138
+ }
139
+
140
+ @media(${TABLET_WIDTH}) {
141
+ width: 100%;
142
+ margin-right: unset;
143
+ padding: 0px 10px;
144
+ }
145
+ }
146
+
147
+ &.left {
148
+ animation: .7s slideRight forwards;
149
+ height: 100dvh;
150
+ overflow-y: auto;
151
+ padding: 6rem 0;
152
+ padding-top: calc(6rem + 80px);
153
+
154
+ .left-logo img {
155
+ height: 46px;
156
+ margin-bottom: 40px;
157
+ }
158
+
159
+ @media (${TABLET_WIDTH}) {
160
+ padding-top: calc(72px + 3rem);
161
+ padding-bottom: 3rem;
162
+ padding-left: 2.3rem;
163
+ padding-right: 2.3rem;
164
+ width: 100%;
165
+ }
166
+
167
+ @media (${MOBILE_WIDTH}) {
168
+ padding-top: 8.12rem;
169
+ padding-bottom: 3rem;
170
+ }
171
+
172
+ .left-header {
173
+ margin-bottom: 32px;
174
+
175
+ h2 {
176
+ font-size: 36px;
177
+ line-height: 44px;
178
+ color: #101828;
179
+ margin-bottom: 8px;
180
+ }
181
+
182
+ p {
183
+ color: #667085;
184
+ font-size: var(--font-size-lg);
185
+ line-height: var(--size-lg);
186
+ margin-bottom: 0;
187
+ }
188
+
189
+ img {
190
+ margin-bottom: 32px;
191
+ width: 136px;
192
+ }
193
+ }
194
+
195
+ .main {
196
+ margin-left: auto;
197
+ margin-right: auto;
198
+
199
+ @media(${TABLET_WIDTH}) {
200
+ width: unset;
201
+ margin-left: unset;
202
+ margin-right: unset;
203
+ padding: 0px;
204
+ }
205
+ }
206
+
207
+ @media(${TABLET_WIDTH}) {
208
+ height: unset;
209
+ overflow-y: hidden;
210
+ }
211
+ }
212
+
213
+ @media (${TABLET_WIDTH}) {
214
+ margin-left: auto;
215
+ margin-right: auto;
216
+ width: 100%;
217
+ flex: unset;
218
+ }
219
+
220
+ @media (max-width: 575px) {
221
+ .ant-form-item {
222
+ flex-direction: row !important;
223
+ }
224
+ }
225
+
226
+ @media (max-width: 500px) {
227
+ width: 100%;
228
+ }
229
+
230
+ &.right {
231
+ animation: .7s slideLeft forwards;
232
+ background-image: url('/assets/images/auth-bg-2.svg');
233
+ background-size: contain;
234
+ display: flex;
235
+ flex-direction: column;
236
+ justify-content: center;
237
+ padding-top: 80px;
238
+
239
+ @media (${TABLET_WIDTH}) {
240
+ padding-top: 72px;
241
+ }
242
+
243
+ @media (${MOBILE_WIDTH}) {
244
+ padding-top: 5.12rem;
245
+ }
246
+
247
+ .right-img {
248
+ flex: 1;
249
+ background-position: center right;
250
+ background-repeat: no-repeat;
251
+ margin-left: 96px;
252
+ background-size: contain;
253
+ max-height: 700px;
254
+
255
+ &.default {
256
+ background-image: url('/assets/images/auth-bg.svg');
257
+ }
258
+ }
259
+
260
+ &.verified-user {
261
+ .right-img {
262
+ background-image: url('/assets/images/verified-user.svg');
263
+ }
264
+ }
265
+
266
+ @media (${TABLET_WIDTH}) {
267
+ display: none;
268
+ }
269
+ }
270
+
271
+ &.left {
272
+ .ant-form-item-required {
273
+ ::before {
274
+ content: unset;
275
+ }
276
+ }
277
+
278
+ .ant-input {
279
+ padding: 10px 12px;
280
+ font-size: 14px;
281
+ font-weight: 400;
282
+ border: 1px solid #E5E7EB;
283
+ border-radius: 6px;
284
+ }
285
+
286
+ .ant-checkbox-wrapper + .ant-checkbox-wrapper {
287
+ margin-left: 0px;
288
+ }
289
+
290
+ .ant-checkbox-wrapper {
291
+ color: #344054;
292
+ font-size: 14px;
293
+ font-weight: 400;
294
+ }
295
+
296
+ .ant-select-selector {
297
+ padding: 4px 12px;
298
+ border-radius: 6px;
299
+ height: fit-content;
300
+ font-size: 14px;
301
+ border: 1px solid #E5E7EB;
302
+ font-weight: 400;
303
+ transition: 0s;
304
+
305
+ .ant-select-selection-item {
306
+ transition: 0s;
307
+ }
308
+
309
+ .ant-select-selection-search {
310
+ display: flex;
311
+ flex-direction: column;
312
+ justify-content: center;
313
+ }
314
+ }
315
+
316
+ .ant-input-affix-wrapper {
317
+ padding: 11px 14px;
318
+ border: 2px solid #F2FAFF;
319
+ border-radius: 8px;
320
+
321
+ .ant-input {
322
+ padding: 0;
323
+ border: unset;
324
+ border-radius: unset;
325
+ }
326
+
327
+ .ant-input-prefix {
328
+ margin-right: 10px;
329
+ color: #A4A4A4;
330
+ }
331
+ }
332
+
333
+ .buttons {
334
+ display: flex;
335
+ flex-direction: column;
336
+ margin-top: var(--size-lg);
337
+ gap: 12px;
338
+
339
+ .d-btn-cont {
340
+ flex: 1;
341
+ }
342
+ }
343
+
344
+ .bottom {
345
+ margin-top: 10px;
346
+ display: flex;
347
+ flex-direction: column;
348
+ gap: 4px;
349
+
350
+ p {
351
+ color: #667085;
352
+ font-size: 14px;
353
+ line-height: 20px;
354
+ margin-bottom: 0px;
355
+ }
356
+ }
357
+
358
+ form {
359
+ display: flex;
360
+ flex-direction: column;
361
+ gap: 10px;
362
+ }
363
+
364
+ .ant-row.ant-form-item {
365
+ margin-bottom: 0px;
366
+ }
367
+
368
+ .ant-form-item-label {
369
+ label {
370
+ color: #1F2A37;
371
+ font-size: 14px;
372
+ font-weight: 500;
373
+ line-height: 20px;
374
+ }
375
+ }
376
+
377
+ }
378
+ }
379
+ }
380
+
381
+ @keyframes slideLeft {
382
+ 0% {transform: translate(-10%, 0%); opacity: 0;}
383
+ 100% {transform: translate(0%, 0%); opacity: 1;}
384
+ }
385
+
386
+ @keyframes slideRight {
387
+ 0% {transform: translate(10%, 0%); opacity: 0;}
388
+ 100% {transform: translate(0%, 0%); opacity: 1;}
389
+ }
390
+
391
+ &.tif-layout {
392
+ .ant-btn {
393
+ &.ant-btn-primary {
394
+ background: #1E4F7C;
395
+ border-color: #1E4F7C;
396
+ }
397
+ }
398
+
399
+ .app-logo {
400
+ width: 230px !important;
401
+ }
402
+ }
403
+
404
+ &.sbg-layout {
405
+ .right-img {
406
+ background-position: center !important;
407
+ background-size: cover !important;
408
+ background-image: url('/assets/sbg-images/sbg-bg.png') !important;
409
+ max-height: 100% !important;
410
+ margin-left: 0 !important;
411
+ }
412
+
413
+ .ant-btn {
414
+ &.ant-btn-primary {
415
+ background: var(--color-primary-70);
416
+ border-color: var(--color-primary-70);
417
+ }
418
+ }
419
+ }
420
+ `;
421
+
422
+ export default Style;
423
+
package/src/layouts.js CHANGED
@@ -1 +1,3 @@
1
- export { default as AppLayout } from './@daf/layouts/AppLayout/index.jsx';
1
+ export { default as AppLayout } from './@daf/layouts/AppLayout/index.jsx';
2
+ export { default as AuthLayout } from './@daf/layouts/AuthLayout/index.jsx';
3
+ export { default as AuthNavbar } from './@daf/layouts/AuthLayout/components/Navbar/index.jsx';
package/build/favicon.ico DELETED
Binary file
package/build/logo192.png DELETED
Binary file
package/build/logo512.png DELETED
Binary file
@@ -1,25 +0,0 @@
1
- {
2
- "short_name": "React App",
3
- "name": "Create React App Sample",
4
- "icons": [
5
- {
6
- "src": "favicon.ico",
7
- "sizes": "64x64 32x32 24x24 16x16",
8
- "type": "image/x-icon"
9
- },
10
- {
11
- "src": "logo192.png",
12
- "type": "image/png",
13
- "sizes": "192x192"
14
- },
15
- {
16
- "src": "logo512.png",
17
- "type": "image/png",
18
- "sizes": "512x512"
19
- }
20
- ],
21
- "start_url": ".",
22
- "display": "standalone",
23
- "theme_color": "#000000",
24
- "background_color": "#ffffff"
25
- }
package/build/robots.txt DELETED
@@ -1,3 +0,0 @@
1
- # https://www.robotstxt.org/robotstxt.html
2
- User-agent: *
3
- Disallow: