@enki-tek/fms-web-components 0.0.14 → 0.0.15

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