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