@enki-tek/fms-web-components 0.0.37 → 0.0.38

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,657 @@
1
+ <script>
2
+ import Icon from '../Icon/Icon.svelte';
3
+ export let iconName = '';
4
+ </script>
5
+
6
+ <li on:click>
7
+ <div class="nav-item">
8
+ <div><Icon {iconName} /></div>
9
+ <div class="item-name efs-normal">
10
+ <slot />
11
+ </div>
12
+ </div>
13
+ </li>
14
+
15
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
16
+ @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
17
+ @import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
18
+ @import url(https://fonts.googleapis.com/icon?family=Material+Icons);
19
+ @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
20
+ @import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
21
+ .nav-item, .sidebar-open-ul, :global(.flex-column), .icons, .icon-sidebar-content .toggle-button {
22
+ color: #ffffff;
23
+ }
24
+ .line-open, .line {
25
+ background: #ffffff;
26
+ }
27
+ :global(.offcanvas-body) {
28
+ background: #007FD8;
29
+ }
30
+ .nav .nav-item.active, .icon-sidebar-content ul .active {
31
+ border-left: 2px solid #ffffff;
32
+ background: #084298;
33
+ }
34
+ .nav-item, .icons {
35
+ display: flex;
36
+ padding: 15px 32px;
37
+ align-items: center;
38
+ gap: 8px;
39
+ }
40
+ .row {
41
+ --bs-gutter-x: 0rem;
42
+ }
43
+ .icon-sidebar {
44
+ position: fixed;
45
+ top: 0;
46
+ left: 0;
47
+ height: 100%;
48
+ width: 88px;
49
+ background: #007FD8;
50
+ }
51
+ .line {
52
+ width: 88px;
53
+ height: 1px;
54
+ }
55
+ .icon-btn {
56
+ padding: 20px 27px;
57
+ }
58
+ .icons {
59
+ padding: 16px 32px;
60
+ flex-direction: column;
61
+ gap: 37px;
62
+ }
63
+ :global(.offcanvas-body) {
64
+ padding: 0rem 0rem;
65
+ }
66
+ .offcanvas-title {
67
+ color: #ffffff;
68
+ font-size: 28px;
69
+ }
70
+ .nav-item {
71
+ padding: 18px 32px;
72
+ }
73
+ .nav-item .item-name {
74
+ line-height: 22px;
75
+ }
76
+ .toggle-button {
77
+ background-color: transparent;
78
+ border: #ffffff;
79
+ cursor: pointer;
80
+ }
81
+ .material-icons {
82
+ font-size: 16px;
83
+ color: #ffffff;
84
+ }
85
+ :global(.offcanvas.offcanvas-start) {
86
+ width: 274px;
87
+ border-right: none;
88
+ }
89
+ .offcanvas-header {
90
+ padding: 1.5rem 1.5rem;
91
+ }
92
+ .line-open {
93
+ width: 274px;
94
+ height: 1px;
95
+ }
96
+ :global(.ebg-none) {
97
+ background-color: #ffffff !important;
98
+ }
99
+ :global(.ebg-white) {
100
+ background-color: #ffffff;
101
+ }
102
+ :global(.ebg-secondary, .eactive-secondary:active, .ehover-secondary:hover) {
103
+ background-color: #3AC82E;
104
+ }
105
+ :global(.ebg-secondaryDark, .eactive-secondaryDark:active, .ehover-secondaryDark:hover) {
106
+ background-color: #00A855;
107
+ }
108
+ :global(.ebg-secondaryLight, .eactive-secondaryLight:active, .ehover-secondaryLight:hover) {
109
+ background-color: #CBFFC7;
110
+ }
111
+ :global(.ebg-primary) {
112
+ background-color: #00AEE5;
113
+ }
114
+ :global(.ebg-primaryDark) {
115
+ background-color: #007FD8;
116
+ }
117
+ :global(.ebg-primaryLight) {
118
+ background-color: #CEF3FF;
119
+ }
120
+ :global(.ebg-danger) {
121
+ background-color: #FE4747;
122
+ }
123
+ :global(.ebg-dangerDark) {
124
+ background-color: #B02A37;
125
+ }
126
+ :global(.ebg-dangerLight) {
127
+ background-color: #FE4747;
128
+ }
129
+ :global(.ebg-warning) {
130
+ background-color: #FFBA3A;
131
+ }
132
+ :global(.ebg-warningDark) {
133
+ background-color: #997404;
134
+ color: #ffffff !important;
135
+ }
136
+ :global(.ebg-warningLight) {
137
+ background-color: #FFF3CD;
138
+ }
139
+ :global(.ebg-info) {
140
+ background-color: #0DCAF0;
141
+ }
142
+ :global(.ebg-infoDark) {
143
+ background-color: #087990;
144
+ }
145
+ :global(.ebg-infoLight) {
146
+ background-color: #9EEAF9;
147
+ }
148
+ :global(.ebg-success) {
149
+ background-color: #00A96B;
150
+ }
151
+ :global(.ebg-successDark) {
152
+ background-color: #146C43;
153
+ }
154
+ :global(.ebg-successLight) {
155
+ background-color: #D1E7DD;
156
+ }
157
+ :global(.ebg-gray100) {
158
+ background-color: #F8F9FA;
159
+ }
160
+ :global(.ebg-gray200) {
161
+ background-color: #E9ECEF;
162
+ }
163
+ :global(.ebg-gray300) {
164
+ background-color: #DEE2E6;
165
+ }
166
+ :global(.ebg-gray400) {
167
+ background-color: #CED4DA;
168
+ }
169
+ :global(.ebg-gray500) {
170
+ background-color: #adb5bd;
171
+ }
172
+ :global(.ebg-gray600) {
173
+ background-color: #6C757D;
174
+ }
175
+ :global(.ebg-gray700) {
176
+ background-color: #495057;
177
+ }
178
+ :global(.ebg-gray800) {
179
+ background-color: #343A40;
180
+ }
181
+ :global(.ebg-gray900) {
182
+ background-color: #212529;
183
+ }
184
+ :global(.ebg-green100) {
185
+ background-color: #D1E7DD;
186
+ }
187
+ :global(.ebg-green200) {
188
+ background-color: #A3CFBB;
189
+ }
190
+ :global(.ebg-green300) {
191
+ background-color: #75B798;
192
+ }
193
+ :global(.ebg-green400) {
194
+ background-color: #479F76;
195
+ }
196
+ :global(.ebg-green500) {
197
+ background-color: #198754;
198
+ }
199
+ :global(.ebg-green600) {
200
+ background-color: #146C43;
201
+ }
202
+ :global(.ebg-green700) {
203
+ background-color: #0F5132;
204
+ }
205
+ :global(.ebg-green800) {
206
+ background-color: #0A3622;
207
+ }
208
+ :global(.ebg-green900) {
209
+ background-color: #051B11;
210
+ }
211
+ :global(.ebg-red100) {
212
+ background-color: #F8D7DA;
213
+ }
214
+ :global(.ebg-red200) {
215
+ background-color: #F1AEB5;
216
+ }
217
+ :global(.ebg-red300) {
218
+ background-color: #EA868F;
219
+ }
220
+ :global(.ebg-red400) {
221
+ background-color: #E35D6A;
222
+ }
223
+ :global(.ebg-red500) {
224
+ background-color: #DC3545;
225
+ }
226
+ :global(.ebg-red600) {
227
+ background-color: #B02A37;
228
+ }
229
+ :global(.ebg-red700) {
230
+ background-color: #842029;
231
+ }
232
+ :global(.ebg-red800) {
233
+ background-color: #58151C;
234
+ }
235
+ :global(.ebg-red900) {
236
+ background-color: #2C0B0E;
237
+ }
238
+ :global(.ebg-yellow100) {
239
+ background-color: #FFF3CD;
240
+ }
241
+ :global(.ebg-yellow200) {
242
+ background-color: #FFE69C;
243
+ }
244
+ :global(.ebg-yellow300) {
245
+ background-color: #FFDA6A;
246
+ }
247
+ :global(.ebg-yellow400) {
248
+ background-color: #FFCD39;
249
+ }
250
+ :global(.ebg-yellow500) {
251
+ background-color: #FFC107;
252
+ }
253
+ :global(.ebg-yellow600) {
254
+ background-color: #CC9A06;
255
+ }
256
+ :global(.ebg-yellow700) {
257
+ background-color: #997404;
258
+ }
259
+ :global(.ebg-yellow800) {
260
+ background-color: #664D03;
261
+ }
262
+ :global(.ebg-yellow900) {
263
+ background-color: #332701;
264
+ }
265
+ :global(.ebg-cyan100) {
266
+ background-color: #CFF4FC;
267
+ }
268
+ :global(.ebg-cyan200) {
269
+ background-color: #9EEAF9;
270
+ }
271
+ :global(.ebg-cyan300) {
272
+ background-color: #6EDFF6;
273
+ }
274
+ :global(.ebg-cyan400) {
275
+ background-color: #3DD5F3;
276
+ }
277
+ :global(.ebg-cyan500) {
278
+ background-color: #0DCAF0;
279
+ }
280
+ :global(.ebg-cyan600) {
281
+ background-color: #0AA2C0;
282
+ }
283
+ :global(.ebg-cyan700) {
284
+ background-color: #087990;
285
+ }
286
+ :global(.ebg-cyan800) {
287
+ background-color: #055160;
288
+ }
289
+ :global(.ebg-cyan900) {
290
+ background-color: #032830;
291
+ }
292
+ .etext-white {
293
+ color: #ffffff;
294
+ }
295
+ :global(.etext-dark) {
296
+ color: #000000;
297
+ }
298
+ :global(.etext-secondary) {
299
+ color: #3AC82E;
300
+ }
301
+ :global(.etext-secondaryDark) {
302
+ color: #00A855;
303
+ }
304
+ :global(.etext-secondaryLight) {
305
+ color: #CBFFC7;
306
+ }
307
+ :global(.etext-primary) {
308
+ color: #00AEE5;
309
+ }
310
+ :global(.etext-primaryDark) {
311
+ color: #007FD8;
312
+ }
313
+ :global(.etext-primaryLight) {
314
+ color: #CEF3FF;
315
+ }
316
+ :global(.etext-danger) {
317
+ color: #FE4747;
318
+ }
319
+ :global(.etext-dangerDark) {
320
+ color: #B02A37;
321
+ }
322
+ :global(.etext-dangerLight) {
323
+ color: #FE4747;
324
+ }
325
+ :global(.etext-info) {
326
+ color: #0DCAF0;
327
+ }
328
+ :global(.etext-infoDark) {
329
+ color: #087990;
330
+ }
331
+ :global(.etext-infoLight) {
332
+ color: #9EEAF9;
333
+ }
334
+ :global(.etext-success) {
335
+ color: #00A96B;
336
+ }
337
+ :global(.etext-successDark) {
338
+ color: #146C43;
339
+ }
340
+ :global(.etext-successLight) {
341
+ color: #D1E7DD;
342
+ }
343
+ :global(.etext-warning) {
344
+ color: #FFBA3A;
345
+ }
346
+ :global(.etext-warningDark) {
347
+ color: #997404;
348
+ }
349
+ :global(.etext-warningLight) {
350
+ color: #FFF3CD;
351
+ }
352
+ :global(.etext-gray100) {
353
+ color: #F8F9FA;
354
+ }
355
+ :global(.etext-gray200) {
356
+ color: #E9ECEF;
357
+ }
358
+ :global(.etext-gray300) {
359
+ color: #DEE2E6;
360
+ }
361
+ :global(.etext-gray400) {
362
+ color: #CED4DA;
363
+ }
364
+ :global(.etext-gray500) {
365
+ color: #adb5bd;
366
+ }
367
+ :global(.etext-gray600) {
368
+ color: #6C757D;
369
+ }
370
+ :global(.etext-gray700) {
371
+ color: #495057;
372
+ }
373
+ :global(.etext-gray800) {
374
+ color: #343A40;
375
+ }
376
+ :global(.etext-gray900) {
377
+ color: #212529;
378
+ }
379
+ :global(.etext-green100) {
380
+ color: #D1E7DD;
381
+ }
382
+ :global(.etext-green200) {
383
+ color: #A3CFBB;
384
+ }
385
+ :global(.etext-green300) {
386
+ color: #75B798;
387
+ }
388
+ :global(.etext-green400) {
389
+ color: #479F76;
390
+ }
391
+ :global(.etext-green500) {
392
+ color: #198754;
393
+ }
394
+ :global(.etext-green600) {
395
+ color: #146C43;
396
+ }
397
+ :global(.etext-green700) {
398
+ color: #0F5132;
399
+ }
400
+ :global(.etext-green800) {
401
+ color: #0A3622;
402
+ }
403
+ :global(.etext-green900) {
404
+ color: #051B11;
405
+ }
406
+ :global(.etext-red100) {
407
+ color: #F8D7DA;
408
+ }
409
+ :global(.etext-red200) {
410
+ color: #F1AEB5;
411
+ }
412
+ :global(.etext-red300) {
413
+ color: #EA868F;
414
+ }
415
+ :global(.etext-red400) {
416
+ color: #E35D6A;
417
+ }
418
+ :global(.etext-red500) {
419
+ color: #DC3545;
420
+ }
421
+ :global(.etext-red600) {
422
+ color: #B02A37;
423
+ }
424
+ :global(.etext-red700) {
425
+ color: #842029;
426
+ }
427
+ :global(.etext-red800) {
428
+ color: #58151C;
429
+ }
430
+ :global(.etext-red900) {
431
+ color: #2C0B0E;
432
+ }
433
+ :global(.etext-yellow100) {
434
+ color: #FFF3CD;
435
+ }
436
+ :global(.etext-yellow200) {
437
+ color: #FFE69C;
438
+ }
439
+ :global(.etext-yellow300) {
440
+ color: #FFDA6A;
441
+ }
442
+ :global(.etext-yellow400) {
443
+ color: #FFCD39;
444
+ }
445
+ :global(.etext-yellow500) {
446
+ color: #FFC107;
447
+ }
448
+ :global(.etext-yellow600) {
449
+ color: #CC9A06;
450
+ }
451
+ :global(.etext-yellow700) {
452
+ color: #997404;
453
+ }
454
+ :global(.etext-yellow800) {
455
+ color: #664D03;
456
+ }
457
+ :global(.etext-yellow900) {
458
+ color: #332701;
459
+ }
460
+ :global(.etext-cyan100) {
461
+ color: #CFF4FC;
462
+ }
463
+ :global(.etext-cyan200) {
464
+ color: #9EEAF9;
465
+ }
466
+ :global(.etext-cyan300) {
467
+ color: #6EDFF6;
468
+ }
469
+ :global(.etext-cyan400) {
470
+ color: #3DD5F3;
471
+ }
472
+ :global(.etext-cyan500) {
473
+ color: #0DCAF0;
474
+ }
475
+ :global(.etext-cyan600) {
476
+ color: #0AA2C0;
477
+ }
478
+ :global(.etext-cyan700) {
479
+ color: #087990;
480
+ }
481
+ :global(.etext-cyan800) {
482
+ color: #055160;
483
+ }
484
+ :global(.etext-cyan900) {
485
+ color: #032830;
486
+ }
487
+ :global(.eoutline-secondary) {
488
+ outline: 1px solid #3AC82E;
489
+ }
490
+ :global(.eoutline-secondaryDark) {
491
+ outline: 1px solid #00A855;
492
+ }
493
+ :global(.eoutline-secondaryLight) {
494
+ outline: 1px solid #CBFFC7;
495
+ }
496
+ :global(.eoutline-primary) {
497
+ outline: 1px solid #00AEE5;
498
+ }
499
+ :global(.eoutline-primaryDark) {
500
+ outline: 1px solid #007FD8;
501
+ }
502
+ :global(.eoutline-primaryLight) {
503
+ outline: 1px solid #CEF3FF;
504
+ }
505
+ :global(.eoutline-danger) {
506
+ outline: 1px solid #FE4747;
507
+ }
508
+ :global(.eoutline-dangerDark) {
509
+ outline: 1px solid #B02A37;
510
+ }
511
+ :global(.eoutline-dangerLight) {
512
+ outline: 1px solid #FE4747;
513
+ }
514
+ :global(.eoutline-success) {
515
+ outline: 1px solid #00A96B;
516
+ }
517
+ :global(.eoutline-successDark) {
518
+ outline: 1px solid #146C43;
519
+ }
520
+ :global(.eoutline-successLight) {
521
+ outline: 1px solid #D1E7DD;
522
+ }
523
+ :global(.eoutline-info) {
524
+ outline: 1px solid #0DCAF0;
525
+ }
526
+ :global(.eoutline-infoDark) {
527
+ outline: 1px solid #087990;
528
+ }
529
+ :global(.eoutline-infoLight) {
530
+ outline: 1px solid #9EEAF9;
531
+ }
532
+ :global(.eoutline-warning) {
533
+ outline: 1px solid #FFBA3A;
534
+ }
535
+ :global(.eoutline-warningDark) {
536
+ outline: 1px solid #997404;
537
+ }
538
+ :global(.eoutline-warningLight) {
539
+ outline: 1px solid #FFF3CD;
540
+ }
541
+ :global(.eradius) {
542
+ border-radius: 4px;
543
+ }
544
+ :global(.eradius-low) {
545
+ border-radius: 8px;
546
+ }
547
+ :global(.eradius-medium) {
548
+ border-radius: 16px;
549
+ }
550
+ :global(.eradius-full) {
551
+ border-radius: 50%;
552
+ }
553
+ .eshadow-non {
554
+ box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
555
+ }
556
+ .eshadow-low {
557
+ box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
558
+ }
559
+ .eshadow-medium {
560
+ box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.1);
561
+ }
562
+ .eshadow-high {
563
+ box-shadow: 0px 1px 16px 0px rgba(0, 0, 0, 0.1);
564
+ }
565
+ :global(.efs-small) {
566
+ font-family: Roboto;
567
+ font-size: 12px;
568
+ font-style: normal;
569
+ font-weight: 400;
570
+ line-height: normal;
571
+ }
572
+ :global(.efs-normal) {
573
+ font-family: Roboto;
574
+ font-size: 16px;
575
+ font-style: normal;
576
+ font-weight: 400;
577
+ line-height: 28px;
578
+ }
579
+ :global(.efs-strong) {
580
+ font-family: Roboto;
581
+ font-size: 17px;
582
+ font-style: normal;
583
+ font-weight: 700;
584
+ line-height: 28px;
585
+ }
586
+ :global(.efs-h6) {
587
+ font-family: Roboto;
588
+ font-size: 16px;
589
+ font-style: normal;
590
+ font-weight: 700;
591
+ line-height: normal;
592
+ }
593
+ :global(.efs-h5) {
594
+ font-family: Roboto;
595
+ font-size: 20px;
596
+ font-style: normal;
597
+ font-weight: 700;
598
+ line-height: normal;
599
+ }
600
+ :global(.efs-h4) {
601
+ font-family: Roboto;
602
+ font-size: 24px;
603
+ font-style: normal;
604
+ font-weight: 700;
605
+ line-height: normal;
606
+ }
607
+ :global(.efs-h3) {
608
+ font-family: Roboto;
609
+ font-size: 28px;
610
+ font-style: normal;
611
+ font-weight: 700;
612
+ line-height: normal;
613
+ }
614
+ :global(.efs-h2) {
615
+ font-family: Roboto;
616
+ font-size: 32px;
617
+ font-style: normal;
618
+ font-weight: 700;
619
+ line-height: normal;
620
+ }
621
+ :global(.efs-h1) {
622
+ font-family: Roboto;
623
+ font-size: 40px;
624
+ font-style: normal;
625
+ font-weight: 700;
626
+ line-height: normal;
627
+ letter-spacing: -0.8px;
628
+ }
629
+ :global(.efs-h4D) {
630
+ font-family: Merriweather;
631
+ font-size: 52px;
632
+ font-style: normal;
633
+ font-weight: 400;
634
+ line-height: normal;
635
+ }
636
+ :global(.efs-h3D) {
637
+ font-family: Merriweather;
638
+ font-size: 58px;
639
+ font-style: normal;
640
+ font-weight: 400;
641
+ line-height: normal;
642
+ }
643
+ :global(.efs-h2D) {
644
+ font-family: Merriweather;
645
+ font-size: 64px;
646
+ font-style: normal;
647
+ font-weight: 400;
648
+ line-height: normal;
649
+ letter-spacing: -1.28px;
650
+ }
651
+ :global(.efs-h1D) {
652
+ font-family: Merriweather;
653
+ font-size: 72px;
654
+ font-style: normal;
655
+ font-weight: 400;
656
+ line-height: normal;
657
+ }</style>
@@ -0,0 +1,31 @@
1
+ /** @typedef {typeof __propDef.props} NavLinkProps */
2
+ /** @typedef {typeof __propDef.events} NavLinkEvents */
3
+ /** @typedef {typeof __propDef.slots} NavLinkSlots */
4
+ export default class NavLink extends SvelteComponentTyped<{
5
+ iconName?: string | undefined;
6
+ }, {
7
+ click: MouseEvent;
8
+ } & {
9
+ [evt: string]: CustomEvent<any>;
10
+ }, {
11
+ default: {};
12
+ }> {
13
+ }
14
+ export type NavLinkProps = typeof __propDef.props;
15
+ export type NavLinkEvents = typeof __propDef.events;
16
+ export type NavLinkSlots = typeof __propDef.slots;
17
+ import { SvelteComponentTyped } from "svelte";
18
+ declare const __propDef: {
19
+ props: {
20
+ iconName?: string | undefined;
21
+ };
22
+ events: {
23
+ click: MouseEvent;
24
+ } & {
25
+ [evt: string]: CustomEvent<any>;
26
+ };
27
+ slots: {
28
+ default: {};
29
+ };
30
+ };
31
+ export {};