indicator-ui 0.0.229 → 0.0.231

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 (44) hide show
  1. package/dist/index.css +595 -289
  2. package/dist/index.css.map +1 -1
  3. package/dist/index.js +52 -36
  4. package/dist/index.js.map +1 -1
  5. package/dist/scss/styles/adaptive/_breakpoints.scss +37 -0
  6. package/dist/scss/styles/adaptive/_variables.scss +5 -0
  7. package/dist/scss/styles/adaptive/index.scss +2 -0
  8. package/dist/scss/styles/index.scss +2 -1
  9. package/dist/scss/test/global.scss +6 -0
  10. package/dist/scss/ui/Buttons/styles/mixins/properties/link-black.scss +16 -12
  11. package/dist/scss/ui/Buttons/styles/mixins/properties/link-color.scss +19 -5
  12. package/dist/scss/ui/Buttons/styles/mixins/properties/link-gray.scss +16 -12
  13. package/dist/scss/ui/Buttons/styles/mixins/properties/primary.scss +11 -6
  14. package/dist/scss/ui/Buttons/styles/mixins/properties/secondary-color.scss +12 -9
  15. package/dist/scss/ui/Buttons/styles/mixins/properties/secondary-gray.scss +21 -15
  16. package/dist/scss/ui/Buttons/styles/mixins/properties/tab-active.scss +23 -15
  17. package/dist/scss/ui/Buttons/styles/mixins/properties/tab.scss +18 -14
  18. package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-color.scss +15 -12
  19. package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-gray.scss +17 -12
  20. package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-white.scss +15 -12
  21. package/dist/scss/ui/Buttons/styles/mixins/properties/warning-link-color.scss +19 -5
  22. package/dist/scss/ui/Buttons/styles/mixins/properties/warning-primary.scss +17 -7
  23. package/dist/scss/ui/Buttons/styles/mixins/properties/warning-secondary-color.scss +12 -8
  24. package/dist/scss/ui/CheckboxMark/styles/mixins/base.scss +5 -2
  25. package/dist/scss/ui/CheckboxMark/styles/mixins/checkbox-mark.scss +28 -25
  26. package/dist/scss/ui/CheckboxMark/styles/mixins/properties/checked.scss +4 -2
  27. package/dist/scss/ui/CheckboxMark/styles/mixins/properties/correct.scss +8 -4
  28. package/dist/scss/ui/CheckboxMark/styles/mixins/properties/disabled.scss +4 -2
  29. package/dist/scss/ui/CheckboxMark/styles/mixins/properties/error.scss +4 -2
  30. package/dist/scss/ui/CheckboxMark/styles/mixins/properties/incorrect.scss +8 -4
  31. package/dist/scss/ui/CheckboxMark/styles/mixins/properties/indeterminate.scss +4 -2
  32. package/dist/scss/ui/MicroButton/styles/mixins/properties/blue-light.scss +10 -2
  33. package/dist/scss/ui/MicroButton/styles/mixins/properties/color-fill.scss +12 -3
  34. package/dist/scss/ui/MicroButton/styles/mixins/properties/color-hover.scss +12 -3
  35. package/dist/scss/ui/MicroButton/styles/mixins/properties/color.scss +12 -3
  36. package/dist/scss/ui/MicroButton/styles/mixins/properties/dark.scss +10 -2
  37. package/dist/scss/ui/MicroButton/styles/mixins/properties/gray-fill.scss +12 -3
  38. package/dist/scss/ui/MicroButton/styles/mixins/properties/gray.scss +12 -3
  39. package/dist/scss/ui/MicroButton/styles/mixins/properties/light.scss +12 -3
  40. package/dist/scss/ui/MicroButton/styles/mixins/properties/red-fill.scss +12 -3
  41. package/dist/scss/ui/MicroButton/styles/mixins/properties/red-hover.scss +12 -3
  42. package/dist/types/src/ui/FormBuilder/lib/formBuilder.d.ts +1 -1
  43. package/dist/types/src/ui/PaginationBar/lib/index.d.ts +2 -0
  44. package/package.json +1 -1
@@ -0,0 +1,37 @@
1
+ @use 'variables' as *;
2
+
3
+ @mixin mobile {
4
+ @media only screen and (max-width: #{$mobile-width}px) {
5
+ @content;
6
+ }
7
+ }
8
+
9
+ @mixin tablet {
10
+ @media only screen and (max-width: #{$tablet-width}px) {
11
+ @content;
12
+ }
13
+ }
14
+
15
+ @mixin laptop {
16
+ @media only screen and (max-width: #{$laptop-width}px) {
17
+ @content;
18
+ }
19
+ }
20
+
21
+ @mixin hd {
22
+ @media only screen and (max-width: #{$hd-width}px) {
23
+ @content;
24
+ }
25
+ }
26
+
27
+ @mixin hd-plus {
28
+ @media only screen and (min-width: #{$hd-width}px) {
29
+ @content;
30
+ }
31
+ }
32
+
33
+ @mixin tablet-plus {
34
+ @media only screen and (min-width: #{$tablet-width}px) {
35
+ @content;
36
+ }
37
+ }
@@ -0,0 +1,5 @@
1
+ $mobile-width: 700;
2
+ $tablet-width: 1024;
3
+ $laptop-width: 1440;
4
+ $hd-width: 1920;
5
+
@@ -0,0 +1,2 @@
1
+ @forward "breakpoints";
2
+ @forward "variables";
@@ -1,3 +1,4 @@
1
1
  @forward "mixins";
2
2
  @forward "colors";
3
- @forward "fonts";
3
+ @forward "fonts";
4
+ @forward "adaptive";
@@ -9,6 +9,12 @@
9
9
  border: transparent;
10
10
  text-decoration: none;
11
11
 
12
+ // Управляет подсветкой при нажатии (актуально для iOS)
13
+ // В случае конфликтов — отключите это свойство
14
+ button, a {
15
+ -webkit-tap-highlight-color: transparent;
16
+ }
17
+
12
18
  button {
13
19
  cursor: pointer;
14
20
  background: none;
@@ -13,27 +13,31 @@
13
13
  @include fnt-flex($weight: 400, $color: var(--gray-700));
14
14
  }
15
15
 
16
- &:hover {
17
- .text {
18
- color: var(--gray-900);
19
- }
16
+ @include tablet-plus {
17
+ &:hover:not(.disabled):not(:disabled) {
18
+ .text {
19
+ color: var(--gray-900);
20
+ }
20
21
 
21
- .icon {
22
- @include modify-svg($stroke: var(--gray-900));
22
+ .icon {
23
+ @include modify-svg($stroke: var(--gray-900));
24
+ }
23
25
  }
24
26
  }
25
27
 
26
- &:disabled, &.disabled {
27
- opacity: 0.5;
28
-
29
- &:hover {
28
+ @include tablet {
29
+ &:active:not(.disabled):not(:disabled) {
30
30
  .text {
31
- color: var(--gray-700);
31
+ color: var(--gray-900);
32
32
  }
33
33
 
34
34
  .icon {
35
- @include modify-svg($stroke: var(--gray-700));
35
+ @include modify-svg($stroke: var(--gray-900));
36
36
  }
37
37
  }
38
38
  }
39
+
40
+ &:disabled, &.disabled {
41
+ opacity: 0.5;
42
+ }
39
43
  }
@@ -13,13 +13,27 @@
13
13
  @include fnt-flex($weight: 400, $color: var(--blue-dark-500));
14
14
  }
15
15
 
16
- &:hover:not(.disabled):not(:disabled) {
17
- .text {
18
- color: var(--blue-dark-700);
16
+ @include tablet-plus {
17
+ &:hover:not(.disabled):not(:disabled) {
18
+ .text {
19
+ color: var(--blue-dark-700);
20
+ }
21
+
22
+ .icon {
23
+ @include modify-svg($stroke: var(--blue-dark-700));
24
+ }
19
25
  }
26
+ }
27
+
28
+ @include tablet {
29
+ &:active:not(.disabled):not(:disabled) {
30
+ .text {
31
+ color: var(--blue-dark-700);
32
+ }
20
33
 
21
- .icon {
22
- @include modify-svg($stroke: var(--blue-dark-700));
34
+ .icon {
35
+ @include modify-svg($stroke: var(--blue-dark-700));
36
+ }
23
37
  }
24
38
  }
25
39
 
@@ -13,27 +13,31 @@
13
13
  @include fnt-flex($weight: 400, $color: var(--gray-400));
14
14
  }
15
15
 
16
- &:hover {
17
- .text {
18
- color: var(--gray-500);
19
- }
16
+ @include tablet-plus {
17
+ &:hover:not(.disabled):not(:disabled) {
18
+ .text {
19
+ color: var(--gray-500);
20
+ }
20
21
 
21
- .icon {
22
- @include modify-svg($stroke: var(--gray-500));
22
+ .icon {
23
+ @include modify-svg($stroke: var(--gray-500));
24
+ }
23
25
  }
24
26
  }
25
27
 
26
- &:disabled, &.disabled {
27
- opacity: 0.5;
28
-
29
- &:hover {
28
+ @include tablet {
29
+ &:active:not(.disabled):not(:disabled) {
30
30
  .text {
31
- color: var(--gray-400);
31
+ color: var(--gray-500);
32
32
  }
33
33
 
34
34
  .icon {
35
- @include modify-svg($stroke: var(--gray-400));
35
+ @include modify-svg($stroke: var(--gray-500));
36
36
  }
37
37
  }
38
38
  }
39
+
40
+ &:disabled, &.disabled {
41
+ opacity: 0.5;
42
+ }
39
43
  }
@@ -14,8 +14,17 @@
14
14
  @include fnt-flex($weight: 500, $color: var(--base-white));
15
15
  }
16
16
 
17
- &:hover {
18
- background-color: var(--blue-dark-600);
17
+ @include tablet-plus {
18
+ &:hover:not(.disabled):not(:disabled):not(:active) {
19
+ background-color: var(--blue-dark-600);
20
+ }
21
+ }
22
+
23
+
24
+ @include tablet {
25
+ &:active:not(.disabled):not(:disabled) {
26
+ background-color: var(--blue-dark-600);
27
+ }
19
28
  }
20
29
 
21
30
  //&:focus {
@@ -25,9 +34,5 @@
25
34
 
26
35
  &:disabled, &.disabled {
27
36
  opacity: 0.3;
28
-
29
- &:hover {
30
- background-color: var(--blue-dark-500);
31
- }
32
37
  }
33
38
  }
@@ -14,9 +14,18 @@
14
14
  @include fnt-flex($weight: 500, $color: var(--blue-dark-500));
15
15
  }
16
16
 
17
- &:hover {
18
- background-color: var(--blue-dark-50);
19
- border: 1px solid var(--blue-dark-300);
17
+ @include tablet-plus {
18
+ &:hover:not(.disabled):not(:disabled):not(:active) {
19
+ background-color: var(--blue-dark-50);
20
+ border: 1px solid var(--blue-dark-300);
21
+ }
22
+ }
23
+
24
+ @include tablet {
25
+ &:active:not(.disabled):not(:disabled) {
26
+ background-color: var(--blue-dark-50);
27
+ border: 1px solid var(--blue-dark-300);
28
+ }
20
29
  }
21
30
 
22
31
  //&:focus {
@@ -25,11 +34,5 @@
25
34
 
26
35
  &:disabled, &.disabled {
27
36
  opacity: 0.5;
28
-
29
-
30
- &:hover {
31
- background-color: var(--base-white);
32
- border: 1px solid var(--blue-dark-200);
33
- }
34
37
  }
35
38
  }
@@ -14,29 +14,35 @@
14
14
  @include fnt-flex($weight: 500, $color: var(--gray-700));
15
15
  }
16
16
 
17
- &:hover {
18
- background-color: var(--gray-50);
19
- border: 1px solid var(--gray-300);
20
17
 
21
- .text {
22
- color: var(--gray-800);
18
+ @include tablet-plus {
19
+ &:hover:not(.disabled):not(:disabled):not(:active) {
20
+ background-color: var(--gray-50);
21
+ border: 1px solid var(--gray-300);
22
+
23
+ .text {
24
+ color: var(--gray-800);
25
+ }
26
+ }
27
+ }
28
+
29
+ @include tablet {
30
+ &:active:not(.disabled):not(:disabled) {
31
+ background-color: var(--gray-50);
32
+ border: 1px solid var(--gray-300);
33
+
34
+ .text {
35
+ color: var(--gray-800);
36
+ }
23
37
  }
24
38
  }
25
39
 
40
+
26
41
  //&:focus {
27
42
  // box-shadow: 0 0 0 4px var(--gray-100), 0 1px 2px 0 #1018280D, 0 0 0 1px var(--gray-300);
28
43
  //}
29
44
 
30
45
  &:disabled, &.disabled {
31
46
  opacity: 0.5;
32
-
33
- &:hover {
34
- background-color: var(--base-white);
35
- border: 1px solid var(--gray-300);
36
-
37
- .text {
38
- color: var(--gray-700);
39
- }
40
- }
41
47
  }
42
- }
48
+ }
@@ -14,27 +14,35 @@
14
14
  @include fnt-flex($weight: 500, $color: var(--gray-700));
15
15
  }
16
16
 
17
- &:hover {
18
- .icon {
19
- @include modify-svg($stroke: var(--gray-900));
17
+ @include tablet-plus {
18
+ &:hover:not(.disabled):not(:disabled):not(:active) {
19
+ &:hover {
20
+ .icon {
21
+ @include modify-svg($stroke: var(--gray-900));
22
+ }
23
+
24
+ .text {
25
+ color: var(--gray-900);
26
+ }
27
+ }
20
28
  }
29
+ }
30
+
31
+ @include tablet {
32
+ &:active:not(.disabled):not(:disabled) {
33
+ &:hover {
34
+ .icon {
35
+ @include modify-svg($stroke: var(--gray-900));
36
+ }
21
37
 
22
- .text {
23
- color: var(--gray-900);
38
+ .text {
39
+ color: var(--gray-900);
40
+ }
41
+ }
24
42
  }
25
43
  }
26
44
 
27
45
  &:disabled, &.disabled {
28
46
  opacity: 0.5;
29
-
30
- &:hover {
31
- .icon {
32
- @include modify-svg($stroke: var(--gray-700));
33
- }
34
-
35
- .text {
36
- color: var(--gray-700);
37
- }
38
- }
39
47
  }
40
48
  }
@@ -14,31 +14,35 @@
14
14
  @include fnt-flex($weight: 500, $color: var(--gray-500));
15
15
  }
16
16
 
17
- &:hover {
18
- background-color: var(--gray-200);
17
+ @include tablet-plus {
18
+ &:hover:not(.disabled):not(:disabled):not(:active) {
19
+ background-color: var(--gray-200);
19
20
 
20
- .icon {
21
- @include modify-svg($stroke: var(--gray-800));
22
- }
21
+ .icon {
22
+ @include modify-svg($stroke: var(--gray-800));
23
+ }
23
24
 
24
- .text {
25
- color: var(--gray-800);
25
+ .text {
26
+ color: var(--gray-800);
27
+ }
26
28
  }
27
29
  }
28
30
 
29
- &:disabled, &.disabled {
30
- opacity: 0.5;
31
-
32
- &:hover {
33
- background-color: var(--gray-100);
31
+ @include tablet {
32
+ &:active:not(.disabled):not(:disabled) {
33
+ background-color: var(--gray-200);
34
34
 
35
35
  .icon {
36
- @include modify-svg($stroke: var(--gray-500));
36
+ @include modify-svg($stroke: var(--gray-800));
37
37
  }
38
38
 
39
39
  .text {
40
- color: var(--gray-500);
40
+ color: var(--gray-800);
41
41
  }
42
42
  }
43
43
  }
44
+
45
+ &:disabled, &.disabled {
46
+ opacity: 0.5;
47
+ }
44
48
  }
@@ -10,28 +10,31 @@
10
10
  color: var(--blue-dark-500);
11
11
  }
12
12
 
13
- &:hover {
14
- .text {
15
- @include fnt-flex($weight: 400, $color: var(--blue-dark-700));
16
- }
13
+ @include tablet-plus {
14
+ &:hover:not(.disabled):not(:disabled) {
15
+ .text {
16
+ @include fnt-flex($weight: 400, $color: var(--blue-dark-700));
17
+ }
17
18
 
18
- .icon {
19
- @include modify-svg($stroke: var(--blue-dark-700));
19
+ .icon {
20
+ @include modify-svg($stroke: var(--blue-dark-700));
21
+ }
20
22
  }
21
23
  }
22
24
 
23
- &:disabled, &.disabled {
24
- opacity: 0.5;
25
-
26
- &:hover {
25
+ @include tablet {
26
+ &:active:not(.disabled):not(:disabled) {
27
27
  .text {
28
- @include fnt-flex($weight: 400, $color: var(--blue-dark-500));
28
+ @include fnt-flex($weight: 400, $color: var(--blue-dark-700));
29
29
  }
30
30
 
31
31
  .icon {
32
- @include modify-svg($stroke: var(--blue-dark-500));
32
+ @include modify-svg($stroke: var(--blue-dark-700));
33
33
  }
34
34
  }
35
+ }
35
36
 
37
+ &:disabled, &.disabled {
38
+ opacity: 0.5;
36
39
  }
37
40
  }
@@ -11,27 +11,32 @@
11
11
  @include fnt-flex($weight: 400, $color: var(--gray-400));
12
12
  }
13
13
 
14
- &:hover {
15
- .text {
16
- color: var(--gray-900);
17
- }
18
14
 
19
- .icon {
20
- @include modify-svg($stroke: var(--gray-900));
15
+ @include tablet-plus {
16
+ &:hover:not(.disabled):not(:disabled) {
17
+ .text {
18
+ color: var(--gray-900);
19
+ }
20
+
21
+ .icon {
22
+ @include modify-svg($stroke: var(--gray-900));
23
+ }
21
24
  }
22
25
  }
23
26
 
24
- &:disabled, &.disabled {
25
- opacity: 0.5;
26
-
27
- &:hover {
27
+ @include tablet {
28
+ &:active:not(.disabled):not(:disabled) {
28
29
  .text {
29
- color: var(--gray-700);
30
+ color: var(--gray-900);
30
31
  }
31
32
 
32
33
  .icon {
33
- @include modify-svg($stroke: var(--gray-700));
34
+ @include modify-svg($stroke: var(--gray-900));
34
35
  }
35
36
  }
36
37
  }
38
+
39
+ &:disabled, &.disabled {
40
+ opacity: 0.5;
41
+ }
37
42
  }
@@ -10,28 +10,31 @@
10
10
  @include fnt-flex($weight: 400, $color: var(--blue-dark-100));
11
11
  }
12
12
 
13
- &:hover {
14
- .text {
15
- color: var(--base-white);
16
- }
13
+ @include tablet-plus {
14
+ &:hover:not(.disabled):not(:disabled) {
15
+ .text {
16
+ color: var(--base-white);
17
+ }
17
18
 
18
- .icon {
19
- @include modify-svg($stroke: var(--base-white));
19
+ .icon {
20
+ @include modify-svg($stroke: var(--base-white));
21
+ }
20
22
  }
21
23
  }
22
24
 
23
- &:disabled, &.disabled {
24
- opacity: 0.5;
25
-
26
- &:hover {
25
+ @include tablet {
26
+ &:active:not(.disabled):not(:disabled) {
27
27
  .text {
28
- color: var(--blue-dark-100);
28
+ color: var(--base-white);
29
29
  }
30
30
 
31
31
  .icon {
32
- @include modify-svg($stroke: var(--blue-dark-100));
32
+ @include modify-svg($stroke: var(--base-white));
33
33
  }
34
34
  }
35
+ }
35
36
 
37
+ &:disabled, &.disabled {
38
+ opacity: 0.5;
36
39
  }
37
40
  }
@@ -10,13 +10,27 @@
10
10
  @include fnt-flex($weight: 400, $color: var(--error-500));
11
11
  }
12
12
 
13
- &:hover:not(.disabled):not(:disabled) {
14
- .text {
15
- color: var(--error-700);
13
+ @include tablet-plus {
14
+ &:hover:not(.disabled):not(:disabled):not(:active) {
15
+ .text {
16
+ color: var(--error-700);
17
+ }
18
+
19
+ .icon {
20
+ @include modify-svg($stroke: var(--error-700));
21
+ }
16
22
  }
23
+ }
24
+
25
+ @include tablet {
26
+ &:active:not(.disabled):not(:disabled) {
27
+ .text {
28
+ color: var(--error-700);
29
+ }
17
30
 
18
- .icon {
19
- @include modify-svg($stroke: var(--error-700));
31
+ .icon {
32
+ @include modify-svg($stroke: var(--error-700));
33
+ }
20
34
  }
21
35
  }
22
36
 
@@ -6,9 +6,23 @@
6
6
  border: 1px solid transparent;
7
7
  box-shadow: 0 1px 2px 0 #1018280D;
8
8
 
9
- &:hover {
10
- border: 1px solid var(--error-600);
11
- background-color: var(--error-600);
9
+ @include tablet-plus {
10
+ &:hover:not(.disabled):not(:disabled) {
11
+ border: 1px solid var(--error-600);
12
+ background-color: var(--error-600);
13
+ }
14
+
15
+ &:active:not(.disabled):not(:disabled) {
16
+ border: 1px solid var(--error-500);
17
+ background-color: var(--error-500);
18
+ }
19
+ }
20
+
21
+ @include tablet {
22
+ &:active:not(.disabled):not(:disabled) {
23
+ border: 1px solid var(--error-600);
24
+ background-color: var(--error-600);
25
+ }
12
26
  }
13
27
 
14
28
  //&:focus {
@@ -17,9 +31,5 @@
17
31
 
18
32
  &:disabled, &.disabled {
19
33
  opacity: 0.3;
20
-
21
- &:hover {
22
- border: 1px solid var(--error-500);
23
- }
24
34
  }
25
35
  }
@@ -13,9 +13,18 @@
13
13
  color: var(--error-500);
14
14
  }
15
15
 
16
- &:hover {
17
- background-color: var(--error-50);
18
- border: 1px solid var(--error-400);
16
+ @include tablet-plus {
17
+ &:hover:not(.disabled):not(:disabled):not(:active) {
18
+ background-color: var(--error-50);
19
+ border: 1px solid var(--error-400);
20
+ }
21
+ }
22
+
23
+ @include tablet {
24
+ &:active:not(.disabled):not(:disabled) {
25
+ background-color: var(--error-50);
26
+ border: 1px solid var(--error-400);
27
+ }
19
28
  }
20
29
 
21
30
  //&:focus {
@@ -24,10 +33,5 @@
24
33
 
25
34
  &:disabled, &.disabled {
26
35
  opacity: 0.5;
27
-
28
- &:hover {
29
- background-color: var(--base-white);
30
- border: 1px solid var(--error-200f);
31
- }
32
36
  }
33
37
  }
@@ -21,7 +21,10 @@
21
21
  height: 14px;
22
22
  flex: none;
23
23
  }
24
- &:hover {
25
- @include checkbox-mark-base-hover();
24
+
25
+ @include tablet-plus {
26
+ &:hover {
27
+ @include checkbox-mark-base-hover();
28
+ }
26
29
  }
27
30
  }