@evotor-dev/ui-kit 7.0.3 → 7.1.0

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 (127) hide show
  1. package/README.md +114 -121
  2. package/esm2020/icons/category/index.mjs +4 -4
  3. package/esm2020/icons/navigation/index.mjs +3 -3
  4. package/esm2020/icons/system/index.mjs +9 -5
  5. package/esm2020/lib/components/evo-accordion/evo-accordion-panel/evo-accordion-panel.component.mjs +2 -2
  6. package/esm2020/lib/components/evo-accordion/evo-accordion-title/evo-accordion-title.component.mjs +2 -2
  7. package/esm2020/lib/components/evo-autocomplete/components/evo-autocomplete.component.mjs +2 -2
  8. package/esm2020/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.mjs +2 -2
  9. package/esm2020/lib/components/evo-autocomplete/helpers/switch-query-to-list.mjs +1 -1
  10. package/esm2020/lib/components/evo-badge/evo-badge.component.mjs +2 -2
  11. package/esm2020/lib/components/evo-banner/evo-banner.component.mjs +8 -11
  12. package/esm2020/lib/components/evo-banner/evo-banner.module.mjs +7 -11
  13. package/esm2020/lib/components/evo-button/components/evo-button/evo-button.component.mjs +86 -0
  14. package/esm2020/lib/components/evo-button/components/evo-button-old/evo-button-old.component.mjs +91 -0
  15. package/esm2020/lib/components/evo-button/constants/evo-button-themes-map.mjs +31 -0
  16. package/esm2020/lib/components/evo-button/evo-button.module.mjs +9 -14
  17. package/esm2020/lib/components/evo-button/public-api.mjs +4 -2
  18. package/esm2020/lib/components/evo-button/types/evo-button-color.mjs +2 -0
  19. package/esm2020/lib/components/evo-button/types/evo-button-shape.mjs +2 -0
  20. package/esm2020/lib/components/evo-button/types/evo-button-size.mjs +2 -0
  21. package/esm2020/lib/components/evo-button/types/evo-button-theme-params.mjs +2 -0
  22. package/esm2020/lib/components/evo-button/types/evo-button-theme.mjs +2 -0
  23. package/esm2020/lib/components/evo-button/types/index.mjs +6 -0
  24. package/esm2020/lib/components/evo-checkbox/evo-checkbox.component.mjs +11 -7
  25. package/esm2020/lib/components/evo-chip/evo-chip.component.mjs +2 -2
  26. package/esm2020/lib/components/evo-control-error/evo-control-error.component.mjs +2 -2
  27. package/esm2020/lib/components/evo-control-label/evo-control-label.component.mjs +2 -2
  28. package/esm2020/lib/components/evo-counter/evo-counter.component.mjs +2 -2
  29. package/esm2020/lib/components/evo-datepicker/evo-datepicker.component.mjs +2 -2
  30. package/esm2020/lib/components/evo-icon/evo-icon.component.mjs +15 -11
  31. package/esm2020/lib/components/evo-icon-button/evo-icon-button.component.mjs +6 -3
  32. package/esm2020/lib/components/evo-input/evo-input.component.mjs +5 -4
  33. package/esm2020/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.mjs +2 -2
  34. package/esm2020/lib/components/evo-loader/evo-circular-loader.component.mjs +3 -3
  35. package/esm2020/lib/components/evo-loader/evo-loader.component.mjs +4 -1
  36. package/esm2020/lib/components/evo-modal/evo-modal.component.mjs +17 -8
  37. package/esm2020/lib/components/evo-navigation-button/evo-navigation-button.component.mjs +12 -0
  38. package/esm2020/lib/components/evo-navigation-button/evo-navigation-button.module.mjs +45 -0
  39. package/esm2020/lib/components/evo-navigation-button/index.mjs +2 -0
  40. package/esm2020/lib/components/evo-navigation-button/public-api.mjs +3 -0
  41. package/esm2020/lib/components/evo-plus-minus/evo-plus-minus.component.mjs +2 -2
  42. package/esm2020/lib/components/evo-popover/evo-popover.component.mjs +3 -3
  43. package/esm2020/lib/components/evo-radio/evo-radio.component.mjs +2 -2
  44. package/esm2020/lib/components/evo-radio-group/evo-radio-group.component.mjs +2 -2
  45. package/esm2020/lib/components/evo-radioshape/components/evo-radioshape.component.mjs +2 -2
  46. package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar/evo-segmented-bar.component.mjs +6 -5
  47. package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar-button/evo-segmented-bar-button.component.mjs +6 -3
  48. package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar.module.mjs +9 -24
  49. package/esm2020/lib/components/evo-select/evo-select.component.mjs +3 -3
  50. package/esm2020/lib/components/evo-sidebar/evo-sidebar-footer/evo-sidebar-footer.component.mjs +2 -2
  51. package/esm2020/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.mjs +2 -2
  52. package/esm2020/lib/components/evo-sidebar/evo-sidebar.component.mjs +1 -1
  53. package/esm2020/lib/components/evo-submenu/evo-submenu.component.mjs +19 -14
  54. package/esm2020/lib/components/evo-submenu/evo-submenu.module.mjs +8 -18
  55. package/esm2020/lib/components/evo-switcher/evo-switcher.component.mjs +2 -2
  56. package/esm2020/lib/components/evo-tabs/evo-tabs.component.mjs +2 -2
  57. package/esm2020/lib/components/evo-textarea/evo-textarea.component.mjs +2 -2
  58. package/esm2020/lib/components/evo-toggle/evo-toggle.component.mjs +2 -2
  59. package/esm2020/lib/components/evo-upload/evo-upload.component.mjs +4 -4
  60. package/esm2020/lib/directives/evo-let/evo-let.directive.mjs +1 -1
  61. package/esm2020/public_api.mjs +2 -1
  62. package/fesm2015/evotor-dev-ui-kit-icons-category.mjs +3 -3
  63. package/fesm2015/evotor-dev-ui-kit-icons-category.mjs.map +1 -1
  64. package/fesm2015/evotor-dev-ui-kit-icons-navigation.mjs +2 -2
  65. package/fesm2015/evotor-dev-ui-kit-icons-navigation.mjs.map +1 -1
  66. package/fesm2015/evotor-dev-ui-kit-icons-system.mjs +9 -5
  67. package/fesm2015/evotor-dev-ui-kit-icons-system.mjs.map +1 -1
  68. package/fesm2015/evotor-dev-ui-kit-icons.mjs +13 -9
  69. package/fesm2015/evotor-dev-ui-kit-icons.mjs.map +1 -1
  70. package/fesm2015/evotor-dev-ui-kit.mjs +393 -231
  71. package/fesm2015/evotor-dev-ui-kit.mjs.map +1 -1
  72. package/fesm2020/evotor-dev-ui-kit-icons-category.mjs +3 -3
  73. package/fesm2020/evotor-dev-ui-kit-icons-category.mjs.map +1 -1
  74. package/fesm2020/evotor-dev-ui-kit-icons-navigation.mjs +2 -2
  75. package/fesm2020/evotor-dev-ui-kit-icons-navigation.mjs.map +1 -1
  76. package/fesm2020/evotor-dev-ui-kit-icons-system.mjs +9 -5
  77. package/fesm2020/evotor-dev-ui-kit-icons-system.mjs.map +1 -1
  78. package/fesm2020/evotor-dev-ui-kit-icons.mjs +13 -9
  79. package/fesm2020/evotor-dev-ui-kit-icons.mjs.map +1 -1
  80. package/fesm2020/evotor-dev-ui-kit.mjs +392 -231
  81. package/fesm2020/evotor-dev-ui-kit.mjs.map +1 -1
  82. package/icons/category/index.d.ts +3 -3
  83. package/icons/index.d.ts +11 -9
  84. package/icons/navigation/index.d.ts +2 -2
  85. package/icons/system/index.d.ts +8 -4
  86. package/lib/components/evo-button/components/evo-button/evo-button.component.d.ts +24 -0
  87. package/lib/components/evo-button/{evo-button.component.d.ts → components/evo-button-old/evo-button-old.component.d.ts} +9 -3
  88. package/lib/components/evo-button/constants/evo-button-themes-map.d.ts +2 -0
  89. package/lib/components/evo-button/evo-button.module.d.ts +6 -4
  90. package/lib/components/evo-button/public-api.d.ts +3 -1
  91. package/lib/components/evo-button/types/evo-button-color.d.ts +5 -0
  92. package/lib/components/evo-button/types/evo-button-shape.d.ts +4 -0
  93. package/lib/components/evo-button/types/evo-button-size.d.ts +5 -0
  94. package/lib/components/evo-button/types/evo-button-theme-params.d.ts +5 -0
  95. package/lib/components/evo-button/types/evo-button-theme.d.ts +1 -0
  96. package/lib/components/evo-button/types/index.d.ts +5 -0
  97. package/lib/components/evo-checkbox/evo-checkbox.component.d.ts +4 -1
  98. package/lib/components/evo-icon/evo-icon.component.d.ts +7 -7
  99. package/lib/components/evo-icon-button/evo-icon-button.component.d.ts +3 -0
  100. package/lib/components/evo-modal/evo-modal.component.d.ts +10 -6
  101. package/lib/components/evo-navigation-button/evo-navigation-button.component.d.ts +5 -0
  102. package/lib/components/evo-navigation-button/evo-navigation-button.module.d.ts +9 -0
  103. package/lib/components/evo-navigation-button/index.d.ts +1 -0
  104. package/lib/components/evo-navigation-button/public-api.d.ts +2 -0
  105. package/package.json +6 -1
  106. package/public_api.d.ts +1 -0
  107. package/styles/components/evo-button.scss +233 -233
  108. package/styles/components/evo-chip.scss +167 -169
  109. package/styles/components/evo-table.scss +42 -42
  110. package/styles/components/evo-title.scss +23 -23
  111. package/styles/globals.scss +78 -67
  112. package/styles/main.scss +24 -19
  113. package/styles/mixins/_evo-input-mixins.scss +74 -0
  114. package/styles/mixins/_evo-text-button-mixin.scss +24 -0
  115. package/styles/mixins/_evo-text-caption-mixin.scss +26 -0
  116. package/styles/mixins/_evo-text-field-mixin.scss +36 -0
  117. package/styles/mixins/_evo-text-header-mixin.scss +62 -0
  118. package/styles/mixins/_evo-text-mobile-header-mixin.scss +34 -0
  119. package/styles/mixins/_evo-text-paragraph-mixin.scss +34 -0
  120. package/styles/mixins/_evo-text-subtitle-mixin.scss +20 -0
  121. package/styles/mixins/_evo-text-tips-mixin.scss +9 -0
  122. package/styles/mixins/_media-mixins.scss +38 -0
  123. package/styles/mixins.scss +96 -210
  124. package/styles/partials/_fonts.scss +2 -0
  125. package/styles/partials/_typography.scss +135 -0
  126. package/styles/variables.scss +140 -137
  127. package/esm2020/lib/components/evo-button/evo-button.component.mjs +0 -82
@@ -0,0 +1,74 @@
1
+ @import '../variables';
2
+
3
+ /**
4
+ * size: normal | small
5
+ * theme: default | rounded
6
+ */
7
+ @mixin evo-input($size: normal, $theme: default) {
8
+ --evo-input-height: 48px;
9
+ --evo-input-border-radius: 4px;
10
+ --evo-input-font-size: 16px;
11
+
12
+ @if ($size == small) {
13
+ @if ($theme == default) {
14
+ --evo-input-height: 32px;
15
+ } @else if ($theme == rounded) {
16
+ --evo-input-font-size: 14px;
17
+ --evo-input-height: 40px;
18
+ }
19
+ }
20
+
21
+ @if ($theme == rounded) {
22
+ --evo-input-border-radius: 256px;
23
+ }
24
+
25
+ display: flex;
26
+ align-items: center;
27
+ height: var(--evo-input-height);
28
+ color: $color-text;
29
+ font-weight: normal;
30
+ font-size: var(--evo-input-font-size);
31
+ font-family: var(--evo-font);
32
+ white-space: nowrap;
33
+ background-color: $color-white;
34
+ border: 1px solid $color-disabled;
35
+ border-radius: var(--evo-input-border-radius);
36
+ outline: none;
37
+ transition: color 0.3s, box-shadow 0.3s, background 0.3s, border 0.3s;
38
+ }
39
+
40
+ @mixin evo-input-focused {
41
+ border: solid 1px $color-secondary-lighter;
42
+ }
43
+
44
+ @mixin evo-input-disabled {
45
+ color: $color-disabled-text !important;
46
+ background-color: $color-background-grey-light !important;
47
+ border: 1px solid $color-disabled-light !important;
48
+ cursor: default;
49
+ pointer-events: none;
50
+ }
51
+
52
+ /**
53
+ * @deprecated
54
+ */
55
+ @mixin evo-input-valid {
56
+ }
57
+
58
+ @mixin evo-input-invalid {
59
+ border-color: $color-error !important;
60
+ }
61
+
62
+ @mixin evo-input-states {
63
+ &_focused {
64
+ @include evo-input-focused;
65
+ }
66
+
67
+ &_disabled {
68
+ @include evo-input-disabled;
69
+ }
70
+
71
+ &_invalid {
72
+ @include evo-input-invalid;
73
+ }
74
+ }
@@ -0,0 +1,24 @@
1
+ @use "sass:list";
2
+
3
+ $evo-text-button-styles: b1, b2, b3;
4
+
5
+ @mixin evo-text-button($style) {
6
+ @if not list.index($evo-text-button-styles, $style) {
7
+ @error "#{$style} is not a valid button style. Use one of #{$evo-text-button-styles}";
8
+ }
9
+
10
+ font-family: var(--evo-font-secondary);
11
+ font-style: normal;
12
+ font-weight: 500;
13
+
14
+ @if $style == b1 {
15
+ font-size: 18px;
16
+ line-height: 20px;
17
+ } @else if $style == b2 {
18
+ font-size: 16px;
19
+ line-height: 20px;
20
+ } @else if $style == b3 {
21
+ font-size: 14px;
22
+ line-height: 20px;
23
+ }
24
+ }
@@ -0,0 +1,26 @@
1
+ @use "sass:list";
2
+
3
+ $evo-text-caption-styles: c1, c2, c3;
4
+
5
+ @mixin evo-text-caption($style) {
6
+ @if not list.index($evo-text-caption-styles, $style) {
7
+ @error "#{$style} is not a valid caption style. Use one of #{$evo-text-caption-styles}";
8
+ }
9
+
10
+ font-family: var(--evo-font);
11
+ font-style: normal;
12
+
13
+ @if $style == c1 {
14
+ font-size: 12px;
15
+ line-height: 18px;
16
+ font-weight: 400;
17
+ } @else if $style == c2 {
18
+ font-size: 12px;
19
+ line-height: 18px;
20
+ font-weight: 600;
21
+ } @else if $style == c3 {
22
+ font-size: 12px;
23
+ line-height: 18px;
24
+ font-weight: 700;
25
+ }
26
+ }
@@ -0,0 +1,36 @@
1
+ @use "sass:list";
2
+
3
+ $evo-field-typo-styles: label, placeholder, placeholder-bold, hint, error;
4
+
5
+ @mixin evo-text-field($style) {
6
+ @if not list.index($evo-field-typo-styles, $style) {
7
+ @error "#{$style} is not a valid field typo style. Use one of #{$evo-field-typo-styles}";
8
+ }
9
+
10
+ font-family: var(--evo-font);
11
+ font-style: normal;
12
+
13
+ @if $style == label {
14
+ font-size: 14px;
15
+ line-height: 22px;
16
+ font-weight: 400;
17
+ } @else if $style == placeholder {
18
+ font-size: 16px;
19
+ line-height: 24px;
20
+ font-weight: 400;
21
+ } @else if $style == placeholder-bold {
22
+ font-size: 16px;
23
+ line-height: 24px;
24
+ font-weight: 600;
25
+ } @else if $style == hint {
26
+ font-size: 14px;
27
+ line-height: 22px;
28
+ font-weight: 400;
29
+ font-style: italic;
30
+ } @else if $style == error {
31
+ font-size: 14px;
32
+ line-height: 22px;
33
+ font-weight: 400;
34
+ font-style: italic;
35
+ }
36
+ }
@@ -0,0 +1,62 @@
1
+ @use "sass:list";
2
+ @import 'media-mixins';
3
+ @import 'evo-text-mobile-header-mixin';
4
+
5
+ $evo-text-header-styles: h1, h2, h3, h4, h5;
6
+
7
+ @mixin evo-text-header($style, $autoMobile: true) {
8
+ @if not list.index($evo-text-header-styles, $style) {
9
+ @error "#{$style} is not a valid header style. Use one of #{$evo-text-header-styles}";
10
+ }
11
+
12
+ font-family: var(--evo-font-secondary);
13
+ font-style: normal;
14
+ font-weight: 700;
15
+
16
+ @if $style == h1 {
17
+ font-size: 36px;
18
+ line-height: 44px;
19
+
20
+ @if $autoMobile {
21
+ @include media-mobile {
22
+ @include evo-text-mobile-header(h1);
23
+ }
24
+ }
25
+ } @else if $style == h2 {
26
+ font-size: 30px;
27
+ line-height: 38px;
28
+
29
+ @if $autoMobile {
30
+ @include media-mobile {
31
+ @include evo-text-mobile-header(h2);
32
+ }
33
+ }
34
+ } @else if $style == h3 {
35
+ font-size: 24px;
36
+ line-height: 32px;
37
+
38
+ @if $autoMobile {
39
+ @include media-mobile {
40
+ @include evo-text-mobile-header(h3);
41
+ }
42
+ }
43
+ } @else if $style == h4 {
44
+ font-size: 18px;
45
+ line-height: 26px;
46
+
47
+ @if $autoMobile {
48
+ @include media-mobile {
49
+ @include evo-text-mobile-header(h4);
50
+ }
51
+ }
52
+ } @else if $style == h5 {
53
+ font-size: 16px;
54
+ line-height: 24px;
55
+
56
+ @if $autoMobile {
57
+ @include media-mobile {
58
+ @include evo-text-mobile-header(h5);
59
+ }
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,34 @@
1
+ @use "sass:list";
2
+
3
+ $evo-text-mobile-header-styles: h1, h2, h3, h4, h5;
4
+
5
+ @mixin evo-text-mobile-header($style) {
6
+ @if not list.index($evo-text-mobile-header-styles, $style) {
7
+ @error "#{$style} is not a valid header mobile style. Use one of #{$evo-text-mobile-header-styles}";
8
+ }
9
+
10
+ font-family: var(--evo-font-secondary);
11
+ font-style: normal;
12
+
13
+ @if $style == h1 {
14
+ font-weight: 700;
15
+ font-size: 30px;
16
+ line-height: 38px;
17
+ } @else if $style == h2 {
18
+ font-weight: 700;
19
+ font-size: 24px;
20
+ line-height: 32px;
21
+ } @else if $style == h3 {
22
+ font-weight: 700;
23
+ font-size: 20px;
24
+ line-height: 28px;
25
+ } @else if $style == h4 {
26
+ font-weight: 700;
27
+ font-size: 16px;
28
+ line-height: 24px;
29
+ } @else if $style == h5 {
30
+ font-weight: 700;
31
+ font-size: 14px;
32
+ line-height: 22px;
33
+ }
34
+ }
@@ -0,0 +1,34 @@
1
+ @use "sass:list";
2
+
3
+ $evo-text-paragraph-styles: p1, p2, p3, p4, p5, tips;
4
+
5
+ @mixin evo-text-paragraph($style) {
6
+ @if not list.index($evo-text-paragraph-styles, $style) {
7
+ @error "#{$style} is not a valid paragraph style. Use one of #{$evo-text-paragraph-styles}";
8
+ }
9
+
10
+ font-family: var(--evo-font);
11
+ font-style: normal;
12
+
13
+ @if $style == p1 {
14
+ font-size: 14px;
15
+ line-height: 22px;
16
+ font-weight: 400;
17
+ } @else if $style == p2 {
18
+ font-size: 14px;
19
+ line-height: 22px;
20
+ font-weight: 600;
21
+ } @else if $style == p3 {
22
+ font-size: 14px;
23
+ line-height: 24px;
24
+ font-weight: 400;
25
+ } @else if $style == p4 {
26
+ font-size: 14px;
27
+ line-height: 24px;
28
+ font-weight: 600;
29
+ } @else if $style == p5 {
30
+ font-size: 16px;
31
+ line-height: 24px;
32
+ font-weight: 600;
33
+ }
34
+ }
@@ -0,0 +1,20 @@
1
+ @use "sass:list";
2
+
3
+ $evo-text-subtitle-styles: s1, s2;
4
+
5
+ @mixin evo-text-subtitle($style) {
6
+ @if not list.index($evo-text-subtitle-styles, $style) {
7
+ @error "#{$style} is not a valid caption style. Use one of #{$evo-text-subtitle-styles}";
8
+ }
9
+
10
+ font-family: var(--evo-font);
11
+ font-style: normal;
12
+ font-size: 18px;
13
+ line-height: 26px;
14
+
15
+ @if $style == s1 {
16
+ font-weight: 400;
17
+ } @else if $style == s2 {
18
+ font-weight: 600;
19
+ }
20
+ }
@@ -0,0 +1,9 @@
1
+ @use "sass:list";
2
+
3
+ @mixin evo-text-tips() {
4
+ font-family: var(--evo-font);
5
+ font-size: 12px;
6
+ line-height: 18px;
7
+ font-weight: 400;
8
+ font-style: italic;
9
+ }
@@ -0,0 +1,38 @@
1
+ @import '../variables';
2
+
3
+ @mixin media-mobile {
4
+ @media (max-width: #{$media-tablet - 1}) {
5
+ @content;
6
+ }
7
+ }
8
+
9
+ /* media mixins - mobile first*/
10
+ @mixin media-tablet {
11
+ @media (min-width: #{$media-tablet}) {
12
+ @content;
13
+ }
14
+ }
15
+
16
+ @mixin media-desktop-s {
17
+ @media (min-width: #{$media-desktop-s}) {
18
+ @content;
19
+ }
20
+ }
21
+
22
+ @mixin media-desktop-m {
23
+ @media (min-width: #{$media-desktop-m}) {
24
+ @content;
25
+ }
26
+ }
27
+
28
+ @mixin media-desktop-l {
29
+ @media (min-width: #{$media-desktop-l}) {
30
+ @content;
31
+ }
32
+ }
33
+
34
+ @mixin media-desktop-xl {
35
+ @media (min-width: #{$media-desktop-xl}) {
36
+ @content;
37
+ }
38
+ }
@@ -1,210 +1,96 @@
1
- @import 'variables.scss';
2
-
3
- /* @include clearfix();*/
4
- @mixin clearfix() {
5
- &:after {
6
- content: '';
7
- display: block;
8
- clear: both;
9
- }
10
- }
11
-
12
- /* @include clear-ul();*/
13
- @mixin clear-ul() {
14
- margin: 0;
15
- padding: 0;
16
- list-style: none;
17
- }
18
-
19
- /* @include clear-btn();*/
20
- @mixin clear-btn() {
21
- padding: 0;
22
- overflow: visible;
23
- color: inherit;
24
- font: inherit;
25
- line-height: inherit;
26
- background: none;
27
- border: 0;
28
- -webkit-appearance: none;
29
- user-select: none;
30
-
31
- &::-moz-focus-inner {
32
- padding: 0;
33
- border: 0;
34
- }
35
- }
36
-
37
- @mixin media-mobile {
38
- @media (max-width: #{$media-tablet - 1}) {
39
- @content;
40
- }
41
- }
42
-
43
- /* media mixins - mobile first*/
44
- @mixin media-tablet {
45
- @media (min-width: #{$media-tablet}) {
46
- @content;
47
- }
48
- }
49
-
50
- @mixin media-desktop-s {
51
- @media (min-width: #{$media-desktop-s}) {
52
- @content;
53
- }
54
- }
55
-
56
- @mixin media-desktop-m {
57
- @media (min-width: #{$media-desktop-m}) {
58
- @content;
59
- }
60
- }
61
-
62
- @mixin media-desktop-l {
63
- @media (min-width: #{$media-desktop-l}) {
64
- @content;
65
- }
66
- }
67
-
68
- @mixin media-desktop-xl {
69
- @media (min-width: #{$media-desktop-xl}) {
70
- @content;
71
- }
72
- }
73
-
74
- /*title mixins*/
75
- @mixin title {
76
- color: #333F48;
77
- font-weight: 700;
78
- font-family: $font-secondary;
79
- }
80
-
81
- @mixin h1 {
82
- font-size: 30px;
83
- line-height: 38px;
84
-
85
- @include media-desktop-s {
86
- font-size: 36px;
87
- line-height: 44px;
88
- }
89
- }
90
-
91
- @mixin h2 {
92
- font-size: 24px;
93
- line-height: 32px;
94
-
95
- @include media-desktop-s {
96
- font-size: 30px;
97
- line-height: 38px;
98
- }
99
- }
100
-
101
- @mixin h3 {
102
- font-size: 18px;
103
- line-height: 26px;
104
-
105
- @include media-desktop-s {
106
- font-size: 24px;
107
- line-height: 32px;
108
- }
109
- }
110
-
111
- @mixin h4 {
112
- font-size: 14px;
113
- line-height: 22px;
114
-
115
- @include media-desktop-s {
116
- font-size: 18px;
117
- line-height: 26px;
118
- }
119
- }
120
-
121
-
122
- /**
123
- * @deprecated
124
- */
125
- @mixin input {
126
- @include evo-input(normal, default);
127
- }
128
-
129
- /**
130
- * size: normal | small
131
- * theme: default | rounded
132
- */
133
- @mixin evo-input($size: normal, $theme: default) {
134
- --evo-input-height: 48px;
135
- --evo-input-border-radius: 4px;
136
- --evo-input-font-size: 16px;
137
-
138
- @if ($size == small) {
139
- @if ($theme == default) {
140
- --evo-input-height: 32px;
141
- } @else if ($theme == rounded) {
142
- --evo-input-font-size: 14px;
143
- --evo-input-height: 40px;
144
- }
145
- }
146
-
147
- @if ($theme == rounded) {
148
- --evo-input-border-radius: 256px;
149
- }
150
-
151
- display: flex;
152
- align-items: center;
153
- height: var(--evo-input-height);
154
- color: $color-text;
155
- font-weight: normal;
156
- font-size: var(--evo-input-font-size);
157
- font-family: $font;
158
- white-space: nowrap;
159
- background-color: $color-white;
160
- border: 1px solid $color-disabled;
161
- border-radius: var(--evo-input-border-radius);
162
- outline: none;
163
- transition: color .3s, box-shadow .3s, background .3s, border .3s;
164
- }
165
-
166
- @mixin evo-input-focused {
167
- border: solid 1px $color-secondary-lighter;
168
- }
169
-
170
- @mixin evo-input-disabled {
171
- color: $color-text-subscription;
172
- background-color: $color-background-grey !important;
173
- cursor: default;
174
- pointer-events: none;
175
- }
176
-
177
- /**
178
- * @deprecated
179
- */
180
- @mixin evo-input-valid {
181
- }
182
-
183
- @mixin evo-input-invalid {
184
- border-color: $color-error !important;
185
- }
186
-
187
- @mixin evo-control-states {
188
- $self: &;
189
-
190
- &_focused {
191
- @include evo-input-focused;
192
- }
193
-
194
- &_disabled {
195
- @include evo-input-disabled;
196
- }
197
-
198
- &_invalid {
199
- @include evo-input-invalid;
200
- }
201
- }
202
-
203
- @mixin hide-scroll {
204
- -ms-overflow-style: none; /* Internet Explorer 10+ */
205
- scrollbar-width: none; /* Firefox */
206
-
207
- &::-webkit-scrollbar {
208
- display: none;
209
- }
210
- }
1
+ @import 'variables.scss';
2
+ @import './mixins/media-mixins';
3
+ @import './mixins/evo-input-mixins';
4
+ @import './mixins/evo-text-button-mixin';
5
+ @import './mixins/evo-text-caption-mixin';
6
+ @import './mixins/evo-text-header-mixin';
7
+ @import './mixins/evo-text-mobile-header-mixin';
8
+ @import './mixins/evo-text-paragraph-mixin';
9
+ @import './mixins/evo-text-field-mixin';
10
+ @import './mixins/evo-text-subtitle-mixin';
11
+ @import './mixins/evo-text-tips-mixin';
12
+
13
+ /* @include clearfix();*/
14
+ @mixin clearfix() {
15
+ &:after {
16
+ content: '';
17
+ display: block;
18
+ clear: both;
19
+ }
20
+ }
21
+
22
+ /* @include clear-ul();*/
23
+ @mixin clear-ul() {
24
+ margin: 0;
25
+ padding: 0;
26
+ list-style: none;
27
+ }
28
+
29
+ /* @include clear-btn();*/
30
+ @mixin clear-btn() {
31
+ padding: 0;
32
+ overflow: visible;
33
+ color: inherit;
34
+ font: inherit;
35
+ line-height: inherit;
36
+ background: none;
37
+ border: 0;
38
+ -webkit-appearance: none;
39
+ user-select: none;
40
+
41
+ &::-moz-focus-inner {
42
+ padding: 0;
43
+ border: 0;
44
+ }
45
+ }
46
+
47
+ /* title mixins*/
48
+ /* @deprecated use evo-text-* mixins*/
49
+ @mixin title {
50
+ color: #333f48;
51
+ font-weight: 700;
52
+ font-family: var(--evo-font-secondary);
53
+ }
54
+
55
+ /* @deprecated use evo-text-* mixins*/
56
+ @mixin h1 {
57
+ @include evo-text-header(h1);
58
+ }
59
+
60
+ /* @deprecated use evo-text-* mixins*/
61
+ @mixin h2 {
62
+ @include evo-text-header(h2);
63
+ }
64
+
65
+ /* @deprecated use evo-text-* mixins*/
66
+ @mixin h3 {
67
+ @include evo-text-header(h3);
68
+ }
69
+
70
+ /* @deprecated use evo-text-* mixins*/
71
+ @mixin h4 {
72
+ @include evo-text-header(h4);
73
+ }
74
+
75
+ /**
76
+ * @deprecated use evo-input-* mixins
77
+ */
78
+ @mixin input {
79
+ @include evo-input(normal, default);
80
+ }
81
+
82
+ /**
83
+ * @deprecated use evo-input-states mixin
84
+ */
85
+ @mixin evo-control-states {
86
+ @include evo-input-states();
87
+ }
88
+
89
+ @mixin hide-scroll {
90
+ -ms-overflow-style: none; /* Internet Explorer 10+ */
91
+ scrollbar-width: none; /* Firefox */
92
+
93
+ &::-webkit-scrollbar {
94
+ display: none;
95
+ }
96
+ }
@@ -0,0 +1,2 @@
1
+ @import url('https://fonts.googleapis.com/css?family=Ubuntu:400,400i,500,500i,700,700i&display=swap');
2
+ @import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,600;1,400;1,600&display=swap');