@risalabs_frontend_org/oasis-ui-kit 0.1.0

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 (65) hide show
  1. package/README.md +25 -0
  2. package/dist/index.d.ts +31 -0
  3. package/dist/index.js +2 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/library/colors.scss +136 -0
  6. package/dist/library/globalStyles.scss +22 -0
  7. package/dist/library/globalVarialbes.scss +16 -0
  8. package/dist/library/library.scss +2 -0
  9. package/dist/library/mixins.scss +895 -0
  10. package/dist/src/SVG/ChevronDown.d.ts +6 -0
  11. package/dist/src/SVG/arrow-upward.d.ts +2 -0
  12. package/dist/src/SVG/black-eye-stroke.d.ts +2 -0
  13. package/dist/src/SVG/black-eye.d.ts +3 -0
  14. package/dist/src/SVG/calendar-icon.d.ts +3 -0
  15. package/dist/src/SVG/close-red.d.ts +2 -0
  16. package/dist/src/SVG/close.d.ts +3 -0
  17. package/dist/src/SVG/dashed-vertical-line.d.ts +2 -0
  18. package/dist/src/SVG/delete-bin.d.ts +2 -0
  19. package/dist/src/SVG/down-arrow.d.ts +3 -0
  20. package/dist/src/SVG/error-for-toast.d.ts +2 -0
  21. package/dist/src/SVG/green-cross.d.ts +2 -0
  22. package/dist/src/SVG/infoIcon.d.ts +8 -0
  23. package/dist/src/SVG/left-chevron.d.ts +8 -0
  24. package/dist/src/SVG/red-bin.d.ts +2 -0
  25. package/dist/src/SVG/red-cross.d.ts +2 -0
  26. package/dist/src/SVG/right-chevron.d.ts +8 -0
  27. package/dist/src/SVG/tick-for-toast.d.ts +2 -0
  28. package/dist/src/SVG/tick-with-green-bg.d.ts +2 -0
  29. package/dist/src/SVG/tick.d.ts +3 -0
  30. package/dist/src/SVG/up-arrow.d.ts +3 -0
  31. package/dist/src/SVG/uploaded-doc.d.ts +2 -0
  32. package/dist/src/SVG/warning-icon.d.ts +3 -0
  33. package/dist/src/components/ButtonWithDropdown/ButtonWithDropdown.d.ts +16 -0
  34. package/dist/src/components/ButtonWithDropdown/MenuItem.d.ts +15 -0
  35. package/dist/src/components/DatePicker/DatePicker.d.ts +8 -0
  36. package/dist/src/components/DateRangeCalendar/DateRangeCalendar.d.ts +10 -0
  37. package/dist/src/components/button/button.d.ts +11 -0
  38. package/dist/src/components/check-box/check-box.d.ts +14 -0
  39. package/dist/src/components/date-input/date-input.d.ts +25 -0
  40. package/dist/src/components/file-upload/file-upload.d.ts +11 -0
  41. package/dist/src/components/footer/footer.d.ts +13 -0
  42. package/dist/src/components/header-card/header-card.d.ts +10 -0
  43. package/dist/src/components/info-icon/info-icon.d.ts +12 -0
  44. package/dist/src/components/modal/modal.d.ts +21 -0
  45. package/dist/src/components/notification-card/notification-card.d.ts +15 -0
  46. package/dist/src/components/pagination/index.d.ts +1 -0
  47. package/dist/src/components/pagination/pagination.d.ts +12 -0
  48. package/dist/src/components/progress-loader-with-text/progress-loader-with-text.d.ts +8 -0
  49. package/dist/src/components/search/search.d.ts +9 -0
  50. package/dist/src/components/select/select.d.ts +26 -0
  51. package/dist/src/components/side-navigation/side-navigation.d.ts +10 -0
  52. package/dist/src/components/side-navigation/single-side-nav.d.ts +8 -0
  53. package/dist/src/components/spinning-loader/spinning-loader.d.ts +3 -0
  54. package/dist/src/components/status-text/status-text.d.ts +7 -0
  55. package/dist/src/components/stepper/stepper.d.ts +11 -0
  56. package/dist/src/components/tab/single-tab.d.ts +9 -0
  57. package/dist/src/components/tab/tab-container.d.ts +10 -0
  58. package/dist/src/components/text-input/text-input.d.ts +36 -0
  59. package/dist/src/components/time-due/time-due.d.ts +6 -0
  60. package/dist/src/components/toast/toast.d.ts +12 -0
  61. package/dist/src/components/toggle/toggle.d.ts +14 -0
  62. package/dist/src/components/toggle-switch/toggle-switch.d.ts +13 -0
  63. package/dist/src/components/uploaded-file-banner/uploaded-file-banner.d.ts +9 -0
  64. package/dist/src/shared/types.d.ts +160 -0
  65. package/package.json +82 -0
@@ -0,0 +1,895 @@
1
+ @use "./colors.scss" as *;
2
+ $REGULAR: 400;
3
+ $SEMIBOLD: 600;
4
+ $BOLD: 700;
5
+ $EXTRABOLD: 900;
6
+
7
+ @mixin h1-regular($color) {
8
+ font-family: inherit;
9
+ font-size: 6rem;
10
+ line-height: 6rem;
11
+ font-weight: $REGULAR;
12
+ color: $color;
13
+ }
14
+
15
+ @mixin h1-semiBold($color) {
16
+ font-family: inherit;
17
+ font-size: 6rem;
18
+ line-height: 6rem;
19
+ font-weight: $SEMIBOLD;
20
+ color: $color;
21
+ }
22
+
23
+ @mixin h1-bold($color) {
24
+ font-family: inherit;
25
+ font-size: 6rem;
26
+ line-height: 6rem;
27
+ font-weight: $BOLD;
28
+ color: $color;
29
+ }
30
+
31
+ @mixin h1-extraBold($color) {
32
+ font-family: inherit;
33
+ font-size: 6rem;
34
+ line-height: 6rem;
35
+ font-weight: $EXTRABOLD;
36
+ color: $color;
37
+ }
38
+
39
+ @mixin h2-regular($color) {
40
+ font-family: inherit;
41
+ font-size: 5rem;
42
+ line-height: 5rem;
43
+ font-weight: $REGULAR;
44
+ color: $color;
45
+ }
46
+
47
+ @mixin h2-semiBold($color) {
48
+ font-family: inherit;
49
+ font-size: 5rem;
50
+ line-height: 5rem;
51
+ font-weight: $SEMIBOLD;
52
+ color: $color;
53
+ }
54
+
55
+ @mixin h2-bold($color) {
56
+ font-family: inherit;
57
+ font-size: 5rem;
58
+ line-height: 5rem;
59
+ font-weight: $BOLD;
60
+ color: $color;
61
+ }
62
+
63
+ @mixin h2-extraBold($color) {
64
+ font-family: inherit;
65
+ font-size: 5rem;
66
+ line-height: 5rem;
67
+ font-weight: $EXTRABOLD;
68
+ color: $color;
69
+ }
70
+
71
+ @mixin h3-regular($color) {
72
+ font-family: inherit;
73
+ font-size: 4rem;
74
+ line-height: 4rem;
75
+ font-weight: $REGULAR;
76
+ color: $color;
77
+ }
78
+
79
+ @mixin h3-semiBold($color) {
80
+ font-family: inherit;
81
+ font-size: 4rem;
82
+ line-height: 4rem;
83
+ font-weight: $SEMIBOLD;
84
+ color: $color;
85
+ }
86
+
87
+ @mixin h3-bold($color) {
88
+ font-family: inherit;
89
+ font-size: 4rem;
90
+ line-height: 4rem;
91
+ font-weight: $BOLD;
92
+ color: $color;
93
+ }
94
+
95
+ @mixin h3-extraBold($color) {
96
+ font-family: inherit;
97
+ font-size: 4rem;
98
+ line-height: 4rem;
99
+ font-weight: $EXTRABOLD;
100
+ color: $color;
101
+ }
102
+
103
+ @mixin h4-regular($color) {
104
+ font-family: inherit;
105
+ font-size: 3.25rem;
106
+ line-height: 3.25rem;
107
+ font-weight: $REGULAR;
108
+ color: $color;
109
+ }
110
+
111
+ @mixin h4-semiBold($color) {
112
+ font-family: inherit;
113
+ font-size: 3.25rem;
114
+ line-height: 3.25rem;
115
+ font-weight: $SEMIBOLD;
116
+ color: $color;
117
+ }
118
+
119
+ @mixin h4-bold($color) {
120
+ font-family: inherit;
121
+ font-size: 3.25rem;
122
+ line-height: 3.25rem;
123
+ font-weight: $BOLD;
124
+ color: $color;
125
+ }
126
+
127
+ @mixin h4-extraBold($color) {
128
+ font-family: inherit;
129
+ font-size: 3.25rem;
130
+ line-height: 3.25rem;
131
+ font-weight: $EXTRABOLD;
132
+ color: $color;
133
+ }
134
+
135
+ @mixin h5-regular($color) {
136
+ font-family: inherit;
137
+ font-size: 2.625rem;
138
+ line-height: 3rem;
139
+ font-weight: $REGULAR;
140
+ color: $color;
141
+ }
142
+
143
+ @mixin h5-semiBold($color) {
144
+ font-family: inherit;
145
+ font-size: 2.625rem;
146
+ line-height: 3rem;
147
+ font-weight: $SEMIBOLD;
148
+ color: $color;
149
+ }
150
+
151
+ @mixin h5-bold($color) {
152
+ font-family: inherit;
153
+ font-size: 2.625rem;
154
+ line-height: 3rem;
155
+ font-weight: $BOLD;
156
+ color: $color;
157
+ }
158
+
159
+ @mixin h5-extraBold($color) {
160
+ font-family: inherit;
161
+ font-size: 2.625rem;
162
+ line-height: 3rem;
163
+ font-weight: $EXTRABOLD;
164
+ color: $color;
165
+ }
166
+
167
+ @mixin h6-regular($color) {
168
+ font-family: inherit;
169
+ font-size: 2rem;
170
+ line-height: 2.375rem;
171
+ font-weight: $REGULAR;
172
+ color: $color;
173
+ }
174
+
175
+ @mixin h6-semiBold($color) {
176
+ font-family: inherit;
177
+ font-size: 2rem;
178
+ line-height: 2.375rem;
179
+ font-weight: $SEMIBOLD;
180
+ color: $color;
181
+ }
182
+
183
+ @mixin h6-bold($color) {
184
+ font-family: inherit;
185
+ font-size: 2rem;
186
+ line-height: 2.375rem;
187
+ font-weight: $BOLD;
188
+ color: $color;
189
+ }
190
+
191
+ @mixin h6-extraBold($color) {
192
+ font-family: inherit;
193
+ font-size: 2rem;
194
+ line-height: 2.375rem;
195
+ font-weight: $EXTRABOLD;
196
+ color: $color;
197
+ }
198
+
199
+ @mixin h7-regular($color) {
200
+ font-family: inherit;
201
+ font-size: 1.75rem;
202
+ line-height: 2.125rem;
203
+ font-weight: $REGULAR;
204
+ color: $color;
205
+ }
206
+
207
+ @mixin h7-semiBold($color) {
208
+ font-family: inherit;
209
+ font-size: 1.75rem;
210
+ line-height: 2.125rem;
211
+ font-weight: $SEMIBOLD;
212
+ color: $color;
213
+ }
214
+
215
+ @mixin h7-bold($color) {
216
+ font-family: inherit;
217
+ font-size: 1.75rem;
218
+ line-height: 2.125rem;
219
+ font-weight: $BOLD;
220
+ color: $color;
221
+ }
222
+
223
+ @mixin h7-extraBold($color) {
224
+ font-family: inherit;
225
+ font-size: 1.75rem;
226
+ line-height: 2.125rem;
227
+ font-weight: $EXTRABOLD;
228
+ color: $color;
229
+ }
230
+
231
+ @mixin h8-regular($color) {
232
+ font-family: inherit;
233
+ font-size: 1.3125rem;
234
+ line-height: 1.875rem;
235
+ font-weight: $REGULAR;
236
+ color: $color;
237
+ }
238
+
239
+ @mixin h8-semiBold($color) {
240
+ font-family: inherit;
241
+ font-size: 1.3125rem;
242
+ line-height: 1.875rem;
243
+ font-weight: $SEMIBOLD;
244
+ color: $color;
245
+ }
246
+
247
+ @mixin h8-bold($color) {
248
+ font-family: inherit;
249
+ font-size: 1.3125rem;
250
+ line-height: 1.875rem;
251
+ font-weight: $BOLD;
252
+ color: $color;
253
+ }
254
+
255
+ @mixin h8-extraBold($color) {
256
+ font-family: inherit;
257
+ font-size: 1.3125rem;
258
+ line-height: 1.875rem;
259
+ font-weight: $EXTRABOLD;
260
+ color: $color;
261
+ }
262
+
263
+ @mixin h9-regular($color) {
264
+ font-family: inherit;
265
+ font-size: 1.3125rem;
266
+ line-height: 1.5rem;
267
+ font-weight: $REGULAR;
268
+ color: $color;
269
+ }
270
+
271
+ @mixin h9-semiBold($color) {
272
+ font-family: inherit;
273
+ font-size: 1.3125rem;
274
+ line-height: 1.5rem;
275
+ font-weight: $SEMIBOLD;
276
+ color: $color;
277
+ }
278
+
279
+ @mixin h9-bold($color) {
280
+ font-family: inherit;
281
+ font-size: 1.3125rem;
282
+ line-height: 1.5rem;
283
+ font-weight: $BOLD;
284
+ color: $color;
285
+ }
286
+
287
+ @mixin h9-extraBold($color) {
288
+ font-family: inherit;
289
+ font-size: 1.3125rem;
290
+ line-height: 1.5rem;
291
+ font-weight: $EXTRABOLD;
292
+ color: $color;
293
+ }
294
+
295
+ @mixin h10-regular($color) {
296
+ font-family: inherit;
297
+ font-size: 1.125rem;
298
+ line-height: 1.375rem;
299
+ font-weight: $REGULAR;
300
+ color: $color;
301
+ }
302
+
303
+ @mixin h10-semiBold($color) {
304
+ font-family: inherit;
305
+ font-size: 1.125rem;
306
+ line-height: 1.375rem;
307
+ font-weight: $SEMIBOLD;
308
+ color: $color;
309
+ }
310
+
311
+ @mixin h10-bold($color) {
312
+ font-family: inherit;
313
+ font-size: 1.125rem;
314
+ line-height: 1.375rem;
315
+ font-weight: $BOLD;
316
+ color: $color;
317
+ }
318
+
319
+ @mixin h10-extraBold($color) {
320
+ font-family: inherit;
321
+ font-size: 1.125rem;
322
+ line-height: 1.375rem;
323
+ font-weight: $EXTRABOLD;
324
+ color: $color;
325
+ }
326
+
327
+ @mixin h11-regular($color) {
328
+ font-family: inherit;
329
+ font-size: 1rem;
330
+ line-height: 1.25rem;
331
+ font-weight: $REGULAR;
332
+ color: $color;
333
+ }
334
+
335
+ @mixin h11-semiBold($color) {
336
+ font-family: inherit;
337
+ font-size: 1rem;
338
+ line-height: 1.25rem;
339
+ font-weight: $SEMIBOLD;
340
+ color: $color;
341
+ }
342
+
343
+ @mixin h11-bold($color) {
344
+ font-family: inherit;
345
+ font-size: 1rem;
346
+ line-height: 1.25rem;
347
+ font-weight: $BOLD;
348
+ color: $color;
349
+ }
350
+
351
+ @mixin h11-extra-tiny-bold($color) {
352
+ font-family: inherit;
353
+ font-size: 1rem;
354
+ line-height: 1.25rem;
355
+ font-weight: $BOLD;
356
+ color: $color;
357
+ }
358
+
359
+ @mixin h11-extraBold($color) {
360
+ font-family: inherit;
361
+ font-size: 1rem;
362
+ line-height: 1.25rem;
363
+ font-weight: $EXTRABOLD;
364
+ color: $color;
365
+ }
366
+
367
+ @mixin h12-regular($color) {
368
+ font-family: inherit;
369
+ font-size: 0.875rem;
370
+ line-height: 1.125rem;
371
+ font-weight: $REGULAR;
372
+ color: $color;
373
+ }
374
+
375
+ @mixin h12-semiBold($color) {
376
+ font-family: inherit;
377
+ font-size: 0.875rem;
378
+ line-height: 1.125rem;
379
+ font-weight: $SEMIBOLD;
380
+ color: $color;
381
+ }
382
+
383
+ @mixin h12-bold($color) {
384
+ font-family: inherit;
385
+ font-size: 0.875rem;
386
+ line-height: 1.125rem;
387
+ font-weight: $BOLD;
388
+ color: $color;
389
+ }
390
+
391
+ @mixin h12-extraBold($color) {
392
+ font-family: inherit;
393
+ font-size: 0.875rem;
394
+ line-height: 1.125rem;
395
+ font-weight: $EXTRABOLD;
396
+ color: $color;
397
+ }
398
+
399
+ @mixin tiny-regular($color) {
400
+ font-family: inherit;
401
+ font-size: 0.75rem;
402
+ line-height: 1.125rem;
403
+ font-weight: $REGULAR;
404
+ color: $color;
405
+ }
406
+
407
+ @mixin tiny-semiBold($color) {
408
+ font-family: inherit;
409
+ font-size: 0.75rem;
410
+ line-height: 1.125rem;
411
+ font-weight: $SEMIBOLD;
412
+ color: $color;
413
+ }
414
+
415
+ @mixin tiny-bold($color) {
416
+ font-family: inherit;
417
+ font-size: 0.75rem;
418
+ line-height: 1.125rem;
419
+ font-weight: $BOLD;
420
+ color: $color;
421
+ }
422
+
423
+ @mixin tiny-extraBold($color) {
424
+ font-family: inherit;
425
+ font-size: 0.75rem;
426
+ line-height: 1.125rem;
427
+ font-weight: $EXTRABOLD;
428
+ color: $color;
429
+ }
430
+
431
+ @mixin x-large-regular($color) {
432
+ font-family: inherit;
433
+ font-size: 1.3125rem;
434
+ line-height: 1.875rem;
435
+ font-weight: $REGULAR;
436
+ color: $color;
437
+ }
438
+
439
+ @mixin x-large-semiBold($color) {
440
+ font-family: inherit;
441
+ font-size: 1.3125rem;
442
+ line-height: 1.875rem;
443
+ font-weight: $SEMIBOLD;
444
+ color: $color;
445
+ }
446
+
447
+ @mixin x-large-bold($color) {
448
+ font-family: inherit;
449
+ font-size: 1.3125rem;
450
+ line-height: 1.875rem;
451
+ font-weight: $BOLD;
452
+ color: $color;
453
+ }
454
+
455
+ @mixin x-large-extraBold($color) {
456
+ font-family: inherit;
457
+ font-size: 1.3125rem;
458
+ line-height: 1.875rem;
459
+ font-weight: $EXTRABOLD;
460
+ color: $color;
461
+ }
462
+
463
+ @mixin large-regular($color) {
464
+ font-family: inherit;
465
+ font-size: 1.125rem;
466
+ line-height: 1.625rem;
467
+ font-weight: $REGULAR;
468
+ color: $color;
469
+ }
470
+
471
+ @mixin large-semiBold($color) {
472
+ font-family: inherit;
473
+ font-size: 1.125rem;
474
+ line-height: 1.625rem;
475
+ font-weight: $SEMIBOLD;
476
+ color: $color;
477
+ }
478
+
479
+ @mixin large-bold($color) {
480
+ font-family: inherit;
481
+ font-size: 1.125rem;
482
+ line-height: 1.625rem;
483
+ font-weight: $BOLD;
484
+ color: $color;
485
+ }
486
+
487
+ @mixin large-extraBold($color) {
488
+ font-family: inherit;
489
+ font-size: 1.125rem;
490
+ line-height: 1.625rem;
491
+ font-weight: $EXTRABOLD;
492
+ color: $color;
493
+ }
494
+
495
+ @mixin small-regular($color) {
496
+ font-family: inherit;
497
+ font-size: 0.875rem;
498
+ line-height: 1.375rem;
499
+ font-weight: $REGULAR;
500
+ color: $color;
501
+ }
502
+
503
+ @mixin small-semiBold($color) {
504
+ font-family: inherit;
505
+ font-size: 0.875rem;
506
+ line-height: 1.375rem;
507
+ font-weight: $SEMIBOLD;
508
+ color: $color;
509
+ }
510
+
511
+ @mixin small-bold($color) {
512
+ font-family: inherit;
513
+ font-size: 0.875rem;
514
+ line-height: 1.375rem;
515
+ font-weight: $BOLD;
516
+ color: $color;
517
+ }
518
+
519
+ @mixin small-extraBold($color) {
520
+ font-family: inherit;
521
+ font-size: 0.875rem;
522
+ line-height: 1.375rem;
523
+ font-weight: $EXTRABOLD;
524
+ color: $color;
525
+ }
526
+
527
+ @mixin body-regular($color) {
528
+ font-family: inherit;
529
+ font-size: 1rem;
530
+ line-height: 1.5rem;
531
+ font-weight: $REGULAR;
532
+ color: $color;
533
+ }
534
+
535
+ @mixin body-semiBold($color) {
536
+ font-family: inherit;
537
+ font-size: 1rem;
538
+ line-height: 1.5rem;
539
+ font-weight: $SEMIBOLD;
540
+ color: $color;
541
+ }
542
+
543
+ @mixin body-bold($color) {
544
+ font-family: inherit;
545
+ font-size: 1rem;
546
+ line-height: 1.5rem;
547
+ font-weight: $BOLD;
548
+ color: $color;
549
+ }
550
+
551
+ @mixin body-extraBold($color) {
552
+ font-family: inherit;
553
+ font-size: 1rem;
554
+ line-height: 1.5rem;
555
+ font-weight: $EXTRABOLD;
556
+ color: $color;
557
+ }
558
+
559
+ @mixin x-tiny-regular($color) {
560
+ font-family: inherit;
561
+ font-size: 0.6875rem;
562
+ line-height: 1.125rem;
563
+ font-weight: $REGULAR;
564
+ color: $color;
565
+ }
566
+
567
+ @mixin x-tiny-semiBold($color) {
568
+ font-family: inherit;
569
+ font-size: 0.6875rem;
570
+ line-height: 1.125rem;
571
+ font-weight: $SEMIBOLD;
572
+ color: $color;
573
+ }
574
+
575
+ @mixin x-tiny-bold($color) {
576
+ font-family: inherit;
577
+ font-size: 0.6875rem;
578
+ line-height: 1.125rem;
579
+ font-weight: $BOLD;
580
+ color: $color;
581
+ }
582
+
583
+ @mixin x-tiny-extraBold($color) {
584
+ font-family: inherit;
585
+ font-size: 0.6875rem;
586
+ line-height: 1.125rem;
587
+ font-weight: $EXTRABOLD;
588
+ color: $color;
589
+ }
590
+
591
+ @mixin overline-regular($color) {
592
+ font-family: inherit;
593
+ font-size: 0.625rem;
594
+ line-height: 1rem;
595
+ font-weight: $REGULAR;
596
+ color: $color;
597
+ }
598
+
599
+ @mixin overline-semiBold($color) {
600
+ font-family: inherit;
601
+ font-size: 0.625rem;
602
+ line-height: 1rem;
603
+ font-weight: $SEMIBOLD;
604
+ color: $color;
605
+ }
606
+
607
+ @mixin overline-bold($color) {
608
+ font-family: inherit;
609
+ font-size: 0.625rem;
610
+ line-height: 1rem;
611
+ font-weight: $BOLD;
612
+ color: $color;
613
+ }
614
+
615
+ @mixin overline-extraBold($color) {
616
+ font-family: inherit;
617
+ font-size: 0.625rem;
618
+ line-height: 1rem;
619
+ font-weight: $EXTRABOLD;
620
+ color: $color;
621
+ }
622
+
623
+ @mixin row-flex($justify-content, $align-items, $gap: 0px) {
624
+ display: flex;
625
+ justify-content: $justify-content;
626
+ align-items: $align-items;
627
+ gap: $gap;
628
+ flex-direction: row;
629
+ }
630
+
631
+ @mixin column-flex($justify-content, $align-items, $gap: 0px) {
632
+ display: flex;
633
+ justify-content: $justify-content;
634
+ align-items: $align-items;
635
+ gap: $gap;
636
+ flex-direction: column;
637
+ }
638
+
639
+ @mixin btn-primary($size: "S") {
640
+ font-family: inherit;
641
+ display: flex;
642
+ gap: 0.5rem;
643
+ justify-content: center;
644
+ align-items: center;
645
+ border-radius: 0.25rem;
646
+ background-color: $primaryGray1;
647
+ border: 1px solid $primaryGray1;
648
+ box-shadow: none;
649
+ text-shadow: none;
650
+ padding: 0 1rem 0 1rem;
651
+ @include small-bold($white);
652
+
653
+ @if $size == "L" {
654
+ height: 3rem;
655
+ } @else if $size == "M" {
656
+ height: 2.5rem;
657
+ } @else {
658
+ height: 2rem;
659
+ }
660
+
661
+ &:hover {
662
+ background-color: $primaryGray4;
663
+ border: 1px solid $primaryGray4;
664
+ cursor: pointer;
665
+ }
666
+
667
+ &[disabled] {
668
+ cursor: not-allowed;
669
+ opacity: 0.6;
670
+ pointer-events: none;
671
+ background-color: $primaryGray4;
672
+ padding: 0 1rem 0 1rem;
673
+ @include small-bold($white);
674
+ }
675
+ }
676
+
677
+ @mixin btn-secondary($size: "S") {
678
+ font-family: inherit;
679
+ display: flex;
680
+ gap: 0.5rem;
681
+ justify-content: center;
682
+ align-items: center;
683
+ border-radius: 0.25rem;
684
+ background-color: $white;
685
+ border: 1px solid $primaryGray1;
686
+ padding: 0 1rem 0 1rem;
687
+ box-shadow: none;
688
+ text-shadow: none;
689
+ @include small-bold($primaryGray1);
690
+
691
+ @if $size == "L" {
692
+ height: 3rem;
693
+ } @else if $size == "M" {
694
+ height: 2.5rem;
695
+ } @else {
696
+ height: 2rem;
697
+ }
698
+
699
+ &:hover {
700
+ background-color: $primaryGray15;
701
+ border: 1px solid $primaryGray15;
702
+ cursor: pointer;
703
+
704
+ @include small-bold($primaryGray1);
705
+ }
706
+
707
+ &[disabled] {
708
+ cursor: not-allowed;
709
+ opacity: 0.6;
710
+ pointer-events: none;
711
+ background-color: $white;
712
+ @include small-bold($primaryGray1);
713
+ }
714
+ }
715
+
716
+ @mixin btn-danger($size: "S") {
717
+ font-family: inherit;
718
+ display: flex;
719
+ gap: 0.5rem;
720
+ justify-content: center;
721
+ align-items: center;
722
+ border-radius: 0.25rem;
723
+ background-color: $white;
724
+ border: 1px solid #cd0202;
725
+ padding: 0 1rem 0 1rem;
726
+ box-shadow: none;
727
+ text-shadow: none;
728
+ @include small-bold(#cd0202);
729
+
730
+ @if $size == "L" {
731
+ height: 3rem;
732
+ } @else if $size == "M" {
733
+ height: 2.5rem;
734
+ } @else {
735
+ height: 2rem;
736
+ }
737
+
738
+ &:hover {
739
+ background-color: $primaryGray15;
740
+ border: 1px solid $primaryGray15;
741
+ cursor: pointer;
742
+ }
743
+
744
+ &[disabled] {
745
+ cursor: not-allowed;
746
+ opacity: 0.6;
747
+ pointer-events: none;
748
+ background-color: $white;
749
+ border: 1px solid $primaryGray15;
750
+ @include small-bold($primaryGray1);
751
+ }
752
+ }
753
+
754
+ @mixin btn-tertiary($size: "S") {
755
+ font-family: inherit;
756
+ display: flex;
757
+ gap: 0.5rem;
758
+ justify-content: center;
759
+ align-items: center;
760
+ border-radius: 0.25rem;
761
+ background-color: transparent;
762
+ padding: 0 1rem 0 1rem;
763
+ border: none;
764
+ box-shadow: none;
765
+ text-shadow: none;
766
+ @include small-bold($primaryGray1);
767
+
768
+ @if $size == "L" {
769
+ height: 3rem;
770
+ } @else if $size == "M" {
771
+ height: 2.5rem;
772
+ } @else {
773
+ height: 2rem;
774
+ }
775
+
776
+ &:hover {
777
+ background-color: transparent;
778
+ cursor: pointer;
779
+ @include small-bold($primaryGray1);
780
+ }
781
+
782
+ &[disabled] {
783
+ cursor: not-allowed;
784
+ opacity: 0.6;
785
+ pointer-events: none;
786
+ background-color: transparent;
787
+ @include small-bold($primaryGray1);
788
+ }
789
+ }
790
+
791
+ @mixin btn-link-text($color: $tertiaryBlue5) {
792
+ font-family: inherit;
793
+ display: flex;
794
+ justify-content: space-between;
795
+ align-items: center;
796
+ border: none;
797
+ box-shadow: none;
798
+ background-color: transparent;
799
+ text-shadow: none;
800
+ @include small-bold($color);
801
+
802
+ &:hover {
803
+ background-color: transparent;
804
+ cursor: pointer;
805
+ @include small-bold($color);
806
+ }
807
+
808
+ &[disabled] {
809
+ cursor: not-allowed;
810
+ opacity: 0.6;
811
+ pointer-events: none;
812
+ background-color: transparent;
813
+ @include small-bold($primaryGray11);
814
+ }
815
+ }
816
+
817
+ @mixin custom-input-field($size: "S") {
818
+ input[type="text"],
819
+ input[type="number"],
820
+ input[type="password"] {
821
+ font-family: inherit;
822
+ width: 100%;
823
+ padding: 0.5rem 1rem;
824
+ border: 1px solid $primaryGray15;
825
+ border-radius: 0.25rem;
826
+ outline: none;
827
+ @include small-regular($primaryGray1);
828
+
829
+ &::placeholder {
830
+ @include tiny-regular($primaryGray7);
831
+ }
832
+
833
+ &:focus {
834
+ border: 1px solid $primaryGray2;
835
+ }
836
+
837
+ &[readOnly] {
838
+ border: 1px solid $primaryGray14 !important;
839
+ background-color: $primaryGray16;
840
+ }
841
+
842
+ @if $size == "L" {
843
+ min-height: 3rem;
844
+ } @else if $size == "M" {
845
+ min-height: 2.5rem;
846
+ } @else {
847
+ min-height: 2rem;
848
+ }
849
+ }
850
+
851
+ label {
852
+ @include tiny-regular($primaryGray2);
853
+ }
854
+ }
855
+
856
+ @mixin sticky($position: sticky, $top: 0, $z-index: 100) {
857
+ position: $position;
858
+ top: $top;
859
+ z-index: $z-index;
860
+ }
861
+
862
+ @mixin calendar-cell {
863
+ width: 2.5rem;
864
+ height: 2.5rem;
865
+ display: flex;
866
+ align-items: center;
867
+ justify-content: center;
868
+ }
869
+
870
+ @mixin calendar-dot {
871
+ content: "";
872
+ position: absolute;
873
+ bottom: 0.25rem;
874
+ left: 50%;
875
+ transform: translateX(-50%);
876
+ width: 0.25rem;
877
+ height: 0.25rem;
878
+ border-radius: 50%;
879
+ }
880
+
881
+ @mixin calendar-container {
882
+ width: 100%;
883
+ min-width: 17.5rem;
884
+ height: 21.5rem;
885
+ background-color: $white;
886
+ border-radius: 0.5rem;
887
+ padding: 1rem;
888
+ font-family: "Lato", sans-serif;
889
+ }
890
+
891
+ @mixin calendar-grid {
892
+ display: grid;
893
+ grid-template-columns: repeat(7, 2.5rem);
894
+ width: 100%;
895
+ }