@enki-tek/fms-web-components 0.0.1 → 0.0.3

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