@enki-tek/fms-web-components 0.0.64 → 0.0.65

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