@enki-tek/fms-web-components 0.0.58 → 0.0.60

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 (39) hide show
  1. package/components/Accordion/Accordion.svelte +3 -3
  2. package/components/Accordion/AccordionItem.svelte +3 -3
  3. package/components/Badge/Badge.svelte +3 -3
  4. package/components/Breadcrumb/Breadcrumb.svelte +3 -3
  5. package/components/Button/Button.scss +233 -14
  6. package/components/Button/Button.svelte +218 -17
  7. package/components/Button/Button.svelte.d.ts +2 -0
  8. package/components/Button/ButtonFilter.svelte +3 -3
  9. package/components/Button/FilterOption.svelte +3 -3
  10. package/components/Button/buttonConfig.js +0 -18
  11. package/components/CardIcon/CardIcon.svelte +3 -3
  12. package/components/CardIcon/CardiconBody.svelte +3 -3
  13. package/components/CardIcon/CardiconSubtitle.svelte +3 -3
  14. package/components/CardIcon/CardiconTitle.svelte +3 -3
  15. package/components/CheckBox/Checkbox.svelte +3 -3
  16. package/components/Dropdown/Dropdown.svelte +3 -3
  17. package/components/Dropdown/DropdownItem.svelte +3 -3
  18. package/components/EnkiSidbar/EnkiSidebar.svelte +3 -3
  19. package/components/EnkiSidbar/NavIcon.svelte +3 -3
  20. package/components/EnkiSidbar/NavItem.svelte +3 -3
  21. package/components/EnkiSidbar/NavLink.svelte +3 -3
  22. package/components/Header/Brand.svelte +3 -3
  23. package/components/Header/Header.svelte +3 -3
  24. package/components/Header/HeaderItem.svelte +3 -3
  25. package/components/Header/UserAvatar.svelte +3 -3
  26. package/components/ModalWindow/Modal.svelte +3 -3
  27. package/components/ModalWindow/ModalBody.svelte +3 -3
  28. package/components/ModalWindow/ModalFooter.svelte +3 -3
  29. package/components/ModalWindow/ModalHeader.svelte +3 -3
  30. package/components/Pagination/Pagination.svelte +3 -3
  31. package/components/RadioButton/RadioButton.svelte +3 -3
  32. package/components/Sidebar/Sidebar.svelte +3 -3
  33. package/components/Switches/Switch.svelte +3 -3
  34. package/components/Tab/Tab.svelte +3 -3
  35. package/components/TextField/TextField.scss +4 -3
  36. package/components/TextField/TextField.svelte +7 -5
  37. package/components/Tooltip/Tooltip.svelte +3 -3
  38. package/components/variable.scss +3 -15
  39. package/package.json +1 -1
@@ -53,7 +53,7 @@ export let stayOpen = true;
53
53
  background-color: #B02A37;
54
54
  }
55
55
  :global(.ebg-dangerLight) {
56
- background-color: #FE4747;
56
+ background-color: #f8d7da;
57
57
  }
58
58
  :global(.ebg-warning) {
59
59
  background-color: #FFBA3A;
@@ -249,7 +249,7 @@ export let stayOpen = true;
249
249
  color: #B02A37;
250
250
  }
251
251
  :global(.etext-dangerLight) {
252
- color: #FE4747;
252
+ color: #f8d7da;
253
253
  }
254
254
  :global(.etext-info) {
255
255
  color: #0DCAF0;
@@ -438,7 +438,7 @@ export let stayOpen = true;
438
438
  outline: 1px solid #B02A37;
439
439
  }
440
440
  :global(.eoutline-dangerLight) {
441
- outline: 1px solid #FE4747;
441
+ outline: 1px solid #f8d7da;
442
442
  }
443
443
  :global(.eoutline-success) {
444
444
  outline: 1px solid #00A96B;
@@ -54,7 +54,7 @@ export let header;
54
54
  background-color: #B02A37;
55
55
  }
56
56
  :global(.ebg-dangerLight) {
57
- background-color: #FE4747;
57
+ background-color: #f8d7da;
58
58
  }
59
59
  :global(.ebg-warning) {
60
60
  background-color: #FFBA3A;
@@ -250,7 +250,7 @@ export let header;
250
250
  color: #B02A37;
251
251
  }
252
252
  :global(.etext-dangerLight) {
253
- color: #FE4747;
253
+ color: #f8d7da;
254
254
  }
255
255
  :global(.etext-info) {
256
256
  color: #0DCAF0;
@@ -439,7 +439,7 @@ export let header;
439
439
  outline: 1px solid #B02A37;
440
440
  }
441
441
  :global(.eoutline-dangerLight) {
442
- outline: 1px solid #FE4747;
442
+ outline: 1px solid #f8d7da;
443
443
  }
444
444
  :global(.eoutline-success) {
445
445
  outline: 1px solid #00A96B;
@@ -59,7 +59,7 @@ if (badgeConfig.hasOwnProperty(config)) {
59
59
  background-color: #B02A37;
60
60
  }
61
61
  :global(.ebg-dangerLight) {
62
- background-color: #FE4747;
62
+ background-color: #f8d7da;
63
63
  }
64
64
  :global(.ebg-warning) {
65
65
  background-color: #FFBA3A;
@@ -255,7 +255,7 @@ if (badgeConfig.hasOwnProperty(config)) {
255
255
  color: #B02A37;
256
256
  }
257
257
  :global(.etext-dangerLight) {
258
- color: #FE4747;
258
+ color: #f8d7da;
259
259
  }
260
260
  :global(.etext-info) {
261
261
  color: #0DCAF0;
@@ -444,7 +444,7 @@ if (badgeConfig.hasOwnProperty(config)) {
444
444
  outline: 1px solid #B02A37;
445
445
  }
446
446
  :global(.eoutline-dangerLight) {
447
- outline: 1px solid #FE4747;
447
+ outline: 1px solid #f8d7da;
448
448
  }
449
449
  :global(.eoutline-success) {
450
450
  outline: 1px solid #00A96B;
@@ -69,7 +69,7 @@ let length = newBreadcrumbs.length;
69
69
  background-color: #B02A37;
70
70
  }
71
71
  :global(.ebg-dangerLight) {
72
- background-color: #FE4747;
72
+ background-color: #f8d7da;
73
73
  }
74
74
  :global(.ebg-warning) {
75
75
  background-color: #FFBA3A;
@@ -265,7 +265,7 @@ let length = newBreadcrumbs.length;
265
265
  color: #B02A37;
266
266
  }
267
267
  :global(.etext-dangerLight) {
268
- color: #FE4747;
268
+ color: #f8d7da;
269
269
  }
270
270
  :global(.etext-info) {
271
271
  color: #0DCAF0;
@@ -454,7 +454,7 @@ let length = newBreadcrumbs.length;
454
454
  outline: 1px solid #B02A37;
455
455
  }
456
456
  :global(.eoutline-dangerLight) {
457
- outline: 1px solid #FE4747;
457
+ outline: 1px solid #f8d7da;
458
458
  }
459
459
  :global(.eoutline-success) {
460
460
  outline: 1px solid #00A96B;
@@ -104,86 +104,173 @@
104
104
  color: $black !important;
105
105
  }
106
106
 
107
- .ebg-secondary,
108
- .eactive-secondary:active,
109
- .ehover-secondary:hover {
110
- background-color: $secondary !important;
107
+ // secondary color hover and acitve
108
+ .ebg-secondary{
109
+ background-color: $secondary;
110
+ }
111
+ .ebg-secondary:hover,.ebg-secondary:focus {
112
+ background-color: $secondary-dark;
113
+ transition: all $transitionTimeHover;
111
114
  }
112
115
 
113
- .ebg-secondaryDark,
114
- .eactive-secondaryDark:active,
115
- .ehover-secondaryDark:hover {
116
+ // secondaryDark color hover and acitve
117
+ .ebg-secondaryDark{
116
118
  background-color: $secondary-dark;
117
119
  }
120
+ .ebg-secondaryDark:hover,.ebg-secondaryDark:focus {
121
+ background-color: $secondary;
122
+ transition: all $transitionTimeHover;
123
+ }
118
124
 
119
- .ebg-secondaryLight,
120
- .eactive-secondaryLight:active,
121
- .ehover-secondaryLight:hover {
125
+ // secondaryLight color hover and acitve
126
+ .ebg-secondaryLight{
122
127
  background-color: $secondary-light;
123
128
  }
129
+ .ebg-secondaryLight:hover,.ebg-secondaryLight:focus {
130
+ background-color: $secondary;
131
+ transition: all $transitionTimeHover;
132
+ }
133
+
124
134
 
135
+ // primary color hover and acitve
125
136
  .ebg-primary {
126
137
  background-color: $primary;
127
138
  }
139
+ .ebg-primary:hover,.ebg-primary:focus {
140
+ background-color: $primary-dark;
141
+ transition: all $transitionTimeHover;
142
+ }
128
143
 
144
+ // primaryDark color hover and acitve
129
145
  .ebg-primaryDark {
130
146
  background-color: $primary-dark;
131
147
  }
148
+ .ebg-primaryDark:hover,.ebg-primaryDark:focus {
149
+ background-color: $primary;
150
+ transition: all $transitionTimeHover;
151
+ }
132
152
 
153
+ // primaryLight color hover and acitve
133
154
  .ebg-primaryLight {
134
155
  background-color: $primary-light;
135
156
  }
157
+ .ebg-primaryLight:hover,.ebg-primaryLight:focus {
158
+ transition: all $transitionTimeHover;
159
+ background-color: $primary;
160
+ transition: all $transitionTimeHover;
161
+ }
136
162
 
163
+ // danger color hover and acitve
137
164
  .ebg-danger {
138
165
  background-color: $danger ;
139
166
  }
167
+ .ebg-danger:hover,.ebg-danger:focus {
168
+ transition: all $transitionTimeHover;
169
+ background-color: $danger-dark ;
170
+ }
140
171
 
172
+ // dangerDark color hover and acitve
141
173
  .ebg-dangerDark {
142
174
  background-color: $danger-dark;
143
175
  }
176
+ .ebg-dangerDark:hover,.ebg-dangerDark:focus {
177
+ transition: all $transitionTimeHover;
178
+ background-color: $danger;
179
+ }
144
180
 
181
+ // dangerLight color hover and acitve
145
182
  .ebg-dangerLight {
146
183
  background-color: $danger-light;
147
184
  }
185
+ .ebg-dangerLight:hover,.ebg-dangerLight:focus {
186
+ transition: all $transitionTimeHover;
187
+ background-color: $danger;
188
+ }
148
189
 
190
+ // warning color hover and acitve
149
191
  .ebg-warning {
150
192
  background-color: $warning;
151
193
  }
194
+ .ebg-warning:hover,.ebg-warning:focus {
195
+ transition: all $transitionTimeHover;
196
+ background-color: $warning-dark;
197
+ }
152
198
 
199
+ // warningDark color hover and acitve
153
200
  .ebg-warningDark {
154
201
  background-color: $warning-dark;
155
202
  color: $white !important;
156
203
  }
204
+ .ebg-warningDark:hover,.ebg-warningDark:focus {
205
+ transition: all $transitionTimeHover;
206
+ background-color: $warning;
207
+ color: $white !important;
208
+ }
157
209
 
210
+ // warningLight color hover and acitve
158
211
  .ebg-warningLight {
159
212
  background-color: $warning-light;
160
213
  }
214
+ .ebg-warningLight:hover,.ebg-warningLight:focus {
215
+ transition: all $transitionTimeHover;
216
+ background-color: $warning;
217
+ }
161
218
 
162
-
219
+ // info color hover and acitve
163
220
  .ebg-info {
164
221
  background-color: $info;
165
222
  }
166
-
223
+ .ebg-info:hover,.ebg-info:focus {
224
+ transition: all $transitionTimeHover;
225
+ background-color: $info-dark;
226
+ }
227
+ // info color hover and acitve
167
228
  .ebg-infoDark {
168
229
  background-color: $info-dark;
169
230
  }
231
+ .ebg-infoDark:hover,.ebg-infoDark:focus {
232
+ transition: all $transitionTimeHover;
233
+ background-color: $info;
234
+ }
170
235
 
236
+ // info color hover and acitve
171
237
  .ebg-infoLight {
172
238
  background-color: $info-light;
173
239
  }
240
+ .ebg-infoLight:hover,.ebg-infoLight:focus {
241
+ transition: all $transitionTimeHover;
242
+ background-color: $info;
243
+ }
174
244
 
175
-
245
+ // success color hover and acitve
176
246
  .ebg-success {
177
247
  background-color: $success;
178
248
  }
249
+ .ebg-success:hover,.ebg-success:focus {
250
+ transition: all $transitionTimeHover;
251
+ background-color: $success-dark;
252
+ }
179
253
 
254
+ // success color hover and acitve
180
255
  .ebg-successDark {
181
256
  background-color: $success-dark;
182
257
  }
258
+ .ebg-successDark:hover,.ebg-successDark:focus {
259
+ transition: all $transitionTimeHover;
260
+ background-color: $success;
261
+ }
183
262
 
263
+ // success color hover and acitve
184
264
  .ebg-successLight {
185
265
  background-color: $success-light;
186
266
  }
267
+ .ebg-successLight:hover,.ebg-successLight:focus {
268
+ transition: all $transitionTimeHover;
269
+ background-color: $success;
270
+ }
271
+
272
+
273
+
187
274
 
188
275
  .ebg-gray100 {
189
276
  background-color: $gray-100;
@@ -639,46 +726,156 @@
639
726
  }
640
727
 
641
728
 
642
- //outline classess
643
729
 
730
+ //outline classess
644
731
  .eoutline-secondary {
645
732
  outline: 1px solid $secondary;
733
+ background-color: $white;
734
+ &:hover{
735
+ transition: all $transitionTimeHover;
736
+ background-color: $secondary-light;
737
+ color: $secondary-dark;
738
+ }
739
+ &:focus{
740
+ transition: all $transitionTimeHover;
741
+ background-color: $secondary-light;
742
+ color: $secondary-dark;
743
+ }
646
744
  }
647
745
 
648
746
  .eoutline-secondaryDark {
649
747
  outline: 1px solid $secondary-dark;
748
+ background-color: $white;
749
+ &:hover{
750
+ transition: all $transitionTimeHover;
751
+ background-color: $secondary-light;
752
+ color: $secondary-dark;
753
+ }
754
+ &:focus{
755
+ transition: all $transitionTimeHover;
756
+ background-color: $secondary-light;
757
+ color: $secondary-dark;
758
+ }
650
759
  }
651
760
 
652
761
  .eoutline-secondaryLight {
653
762
  outline: 1px solid $secondary-light;
763
+ background-color: $white;
764
+ &:hover{
765
+ transition: all $transitionTimeHover;
766
+ background-color: $secondary-light;
767
+ color: $secondary-dark;
768
+ }
769
+ &:focus{
770
+ transition: all $transitionTimeHover;
771
+ background-color: $secondary-light;
772
+ color: $secondary-dark;
773
+ }
654
774
  }
655
775
 
656
776
  .eoutline-primary {
657
777
  outline: 1px solid $primary;
778
+ background-color: $white;
779
+ &:hover{
780
+ transition: all $transitionTimeHover;
781
+ background-color: $primary-light;
782
+ color: $primary-dark;
783
+ }
784
+ &:focus{
785
+ transition: all $transitionTimeHover;
786
+ background-color: $primary-light;
787
+ color: $primary-dark;
788
+ }
658
789
  }
659
790
 
660
791
  .eoutline-primaryDark {
661
792
  outline: 1px solid $primary-dark;
793
+ background-color: $white;
794
+ &:hover{
795
+ transition: all $transitionTimeHover;
796
+ background-color: $primary-light;
797
+ color: $primary-dark;
798
+ }
799
+ &:focus{
800
+ transition: all $transitionTimeHover;
801
+ background-color: $primary-light;
802
+ color: $primary-dark;
803
+ }
662
804
  }
663
805
 
664
806
  .eoutline-primaryLight {
665
807
  outline: 1px solid $primary-light;
808
+ background-color: $white;
809
+ &:hover{
810
+ transition: all $transitionTimeHover;
811
+ background-color: $primary-light;
812
+ color: $primary-dark;
813
+ }
814
+ &:focus{
815
+ transition: all $transitionTimeHover;
816
+ background-color: $primary-light;
817
+ color: $primary-dark;
818
+ }
666
819
  }
667
820
 
668
821
  .eoutline-danger {
669
822
  outline: 1px solid $danger;
823
+ background-color: $white;
824
+ &:hover{
825
+ transition: all $transitionTimeHover;
826
+ background-color: $danger-light;
827
+ color: $danger-dark;
828
+ }
829
+ &:focus{
830
+ transition: all $transitionTimeHover;
831
+ background-color: $danger-light;
832
+ color: $danger-dark;
833
+ }
670
834
  }
671
835
 
672
836
  .eoutline-dangerDark {
673
837
  outline: 1px solid $danger-dark;
838
+ background-color: $white;
839
+ &:hover{
840
+ transition: all $transitionTimeHover;
841
+ background-color: $danger-light;
842
+ color: $danger-dark;
843
+ }
844
+ &:focus{
845
+ transition: all $transitionTimeHover;
846
+ background-color: $danger-light;
847
+ color: $danger-dark;
848
+ }
674
849
  }
675
850
 
676
851
  .eoutline-dangerLight {
677
852
  outline: 1px solid $danger-light;
853
+ background-color: $white;
854
+ &:hover{
855
+ transition: all $transitionTimeHover;
856
+ background-color: $danger-light;
857
+ color: $danger-dark;
858
+ }
859
+ &:focus{
860
+ transition: all $transitionTimeHover;
861
+ background-color: $danger-light;
862
+ color: $danger-dark;
863
+ }
678
864
  }
679
865
 
680
866
  .eoutline-success {
681
867
  outline: 1px solid $success;
868
+ background-color: $white;
869
+ &:hover{
870
+ transition: all $transitionTimeHover;
871
+ background-color: $success-light;
872
+ color: $success-dark;
873
+ }
874
+ &:focus{
875
+ transition: all $transitionTimeHover;
876
+ background-color: $success-light;
877
+ color: $success-dark;
878
+ }
682
879
  }
683
880
 
684
881
  .eoutline-successDark {
@@ -691,6 +888,17 @@
691
888
 
692
889
  .eoutline-info {
693
890
  outline: 1px solid $info;
891
+ background-color: $white;
892
+ &:hover{
893
+ transition: all $transitionTimeHover;
894
+ background-color: $info-light;
895
+ color: $info-dark;
896
+ }
897
+ &:focus{
898
+ transition: all $transitionTimeHover;
899
+ background-color: $info-light;
900
+ color: $info-dark;
901
+ }
694
902
  }
695
903
 
696
904
  .eoutline-infoDark {
@@ -703,6 +911,17 @@
703
911
 
704
912
  .eoutline-warning {
705
913
  outline: 1px solid $warning;
914
+ background-color: $white;
915
+ &:hover{
916
+ transition: all $transitionTimeHover;
917
+ background-color: $warning-light;
918
+ color: $warning-dark;
919
+ }
920
+ &:focus{
921
+ transition: all $transitionTimeHover;
922
+ background-color: $warning-light;
923
+ color: $warning-dark;
924
+ }
706
925
  }
707
926
 
708
927
  .eoutline-warningDark {