@enki-tek/fms-web-components 0.0.2 → 0.0.4

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