indicator-ui 0.0.4 → 0.0.6

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 (75) hide show
  1. package/dist/index.css +1588 -212
  2. package/dist/index.css.map +1 -1
  3. package/dist/index.js +1550 -198
  4. package/dist/index.js.map +1 -1
  5. package/dist/scss/styles/colors/index.scss +3 -1
  6. package/dist/scss/styles/colors/primary-var.scss +56 -0
  7. package/dist/scss/styles/colors/secondary-var.scss +15 -0
  8. package/dist/scss/ui/Buttons/styles/mixins/properties/link-black.scss +4 -4
  9. package/dist/scss/ui/Buttons/styles/mixins/properties/link-color.scss +4 -4
  10. package/dist/scss/ui/Buttons/styles/mixins/properties/link-gray.scss +4 -4
  11. package/dist/scss/ui/Buttons/styles/mixins/properties/primary.scss +6 -6
  12. package/dist/scss/ui/Buttons/styles/mixins/properties/secondary-color.scss +7 -7
  13. package/dist/scss/ui/Buttons/styles/mixins/properties/secondary-gray.scss +8 -8
  14. package/dist/scss/ui/Buttons/styles/mixins/properties/tab-active.scss +5 -5
  15. package/dist/scss/ui/Buttons/styles/mixins/properties/tab.scss +6 -6
  16. package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-color.scss +4 -4
  17. package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-gray.scss +4 -4
  18. package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-white.scss +4 -4
  19. package/dist/scss/ui/Buttons/styles/mixins/properties/warning-primary.scss +3 -3
  20. package/dist/scss/ui/Buttons/styles/mixins/properties/warning-secondary-color.scss +6 -6
  21. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputField/CustomInput.scss +126 -0
  22. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputField/CustomInputField.scss +33 -0
  23. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputField/CustomTextareaInput.scss +30 -0
  24. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputField/index.scss +2 -0
  25. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputWrapper/CustomInputWrapper.scss +55 -0
  26. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputWrapper/config.scss +5 -0
  27. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputWrapper/index.scss +1 -0
  28. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomOptionsInput/index.scss +48 -0
  29. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/CustomSelectField.scss +54 -0
  30. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/CustomSelectFieldOption.scss +50 -0
  31. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/CustomSelectFieldViewField.scss +28 -0
  32. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/index.scss +1 -0
  33. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/CustomSwitchersField.scss +17 -0
  34. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/components/index.scss +1 -0
  35. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/components/option.scss +34 -0
  36. package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/index.scss +1 -0
  37. package/dist/scss/ui/FormBuilder/styles/CustomFields/index.scss +5 -0
  38. package/dist/scss/ui/InputFields/FlexField/styles/mixins/flexField.scss +84 -8
  39. package/dist/scss/ui/InputFields/InputFieldWrapper/styles/mixins/inputFieldWrapper.scss +6 -6
  40. package/dist/scss/ui/InputFields/RadioField/styles/mixins/radioField.scss +5 -5
  41. package/dist/scss/ui/InputFields/SelectField/styles/mixins/selectField.scss +5 -5
  42. package/dist/scss/ui/InputFields/SwitcherField/styles/mixins/switcherField.scss +8 -8
  43. package/dist/scss/ui/InputFields/TextareaField/styles/mixin/textareaField.scss +7 -7
  44. package/dist/scss/ui/MicroButton/styles/mixins/properties/color-fill.scss +5 -5
  45. package/dist/scss/ui/MicroButton/styles/mixins/properties/color-hover.scss +3 -3
  46. package/dist/scss/ui/MicroButton/styles/mixins/properties/color.scss +3 -3
  47. package/dist/scss/ui/MicroButton/styles/mixins/properties/dark.scss +1 -1
  48. package/dist/scss/ui/MicroButton/styles/mixins/properties/gray-fill.scss +5 -5
  49. package/dist/scss/ui/MicroButton/styles/mixins/properties/gray.scss +3 -3
  50. package/dist/scss/ui/MicroButton/styles/mixins/properties/light.scss +3 -3
  51. package/dist/scss/ui/MicroButton/styles/mixins/properties/red-fill.scss +5 -5
  52. package/dist/scss/ui/MicroButton/styles/mixins/properties/red-hover.scss +3 -3
  53. package/dist/types/src/test/pages/FormBuilderPage.d.ts +1 -0
  54. package/dist/types/src/ui/Buttons/types/ButtonTypes.d.ts +8 -1
  55. package/dist/types/src/ui/Buttons/ui/Button.d.ts +1 -1
  56. package/dist/types/src/ui/FormBuilder/consts/index.d.ts +2 -0
  57. package/dist/types/src/ui/FormBuilder/index.d.ts +2 -0
  58. package/dist/types/src/ui/FormBuilder/lib/arrayFieldComponent.d.ts +5 -0
  59. package/dist/types/src/ui/FormBuilder/lib/blockComponent.d.ts +5 -0
  60. package/dist/types/src/ui/FormBuilder/lib/blockWrapperComponent.d.ts +5 -0
  61. package/dist/types/src/ui/FormBuilder/lib/customFieldWrapperComponent.d.ts +5 -0
  62. package/dist/types/src/ui/FormBuilder/lib/formBuilder.d.ts +4 -0
  63. package/dist/types/src/ui/FormBuilder/lib/formWrapperComponent.d.ts +5 -0
  64. package/dist/types/src/ui/FormBuilder/lib/index.d.ts +8 -0
  65. package/dist/types/src/ui/FormBuilder/lib/inputFieldComponent.d.ts +5 -0
  66. package/dist/types/src/ui/FormBuilder/lib/reactNodeComponent.d.ts +5 -0
  67. package/dist/types/src/ui/FormBuilder/schemes/index.d.ts +76 -0
  68. package/dist/types/src/ui/FormBuilder/styles/index.d.ts +1 -0
  69. package/dist/types/src/ui/FormBuilder/types/FormBuilderTypes.d.ts +56 -0
  70. package/dist/types/src/ui/FormBuilder/types/index.d.ts +2 -0
  71. package/dist/types/src/ui/FormBuilder/ui/FormBuilder.d.ts +5 -0
  72. package/dist/types/src/ui/FormBuilder/ui/index.d.ts +1 -0
  73. package/dist/types/src/ui/InputFields/FlexField/types/FlexFieldTypes.d.ts +11 -1
  74. package/dist/types/src/ui/index.d.ts +1 -0
  75. package/package.json +62 -87
@@ -0,0 +1,55 @@
1
+ @use '../../../dependencies' as *;
2
+ @use './config' as *;
3
+
4
+ @mixin insertCustomInputWrapperTags() {
5
+ display: flex;
6
+ flex-direction: column;
7
+ justify-content: center;
8
+ gap: 4px;
9
+
10
+ .label {
11
+ width: 100%;
12
+ height: fit-content;
13
+
14
+ display: flex;
15
+ padding: 0 12px;
16
+ gap: 2px;
17
+ @include fnt($size: 14, $weight: 500, $line_height: 20, $color: $custom-input-field-label-text-color);
18
+
19
+ .requiredMark {
20
+ flex: none;
21
+ @include fnt($size: 14, $weight: 500, $line_height: 20, $color: $custom-input-field-label-required-mark-text-color);
22
+ }
23
+ }
24
+
25
+ .hint {
26
+ width: 100%;
27
+ height: fit-content;
28
+
29
+ padding: 0 12px;
30
+ gap: 2px;
31
+ @include fnt($size: 14, $weight: 400, $line_height: 20, $color: $custom-input-field-hint-text-color);
32
+ }
33
+
34
+ .hintError {
35
+ width: 100%;
36
+ height: fit-content;
37
+
38
+ padding: 0 12px;
39
+ gap: 2px;
40
+ @include fnt($size: 14, $weight: 400, $line_height: 20, $color: $custom-input-field-hint-error-text-color);
41
+ }
42
+
43
+ .helperLink {
44
+ width: 100%;
45
+ height: fit-content;
46
+ padding: 0 12px;
47
+ gap: 2px;
48
+ @include fnt($size: 14, $weight: 400, $line_height: 20, $color: $custom-input-field-helper-link-text-color);
49
+
50
+ * {
51
+ stroke: $custom-input-field-helper-link-text-color;
52
+ }
53
+ }
54
+ @content;
55
+ }
@@ -0,0 +1,5 @@
1
+ $custom-input-field-label-text-color: #344054;
2
+ $custom-input-field-label-required-mark-text-color: #F04438;
3
+ $custom-input-field-hint-text-color: #475467;
4
+ $custom-input-field-hint-error-text-color: #F04438;
5
+ $custom-input-field-helper-link-text-color: #1A40FF;
@@ -0,0 +1 @@
1
+ @forward './CustomInputWrapper';
@@ -0,0 +1,48 @@
1
+ @use '../CustomInputField/CustomInput' as *;
2
+ @use '../../../dependencies' as *;
3
+
4
+ @mixin insertCustomOptionsInput(
5
+ $width: 320,
6
+ $height: 44,
7
+ $owner-width: none,
8
+ $owner-height: none,
9
+ $one-input: true,
10
+ ) {
11
+ .customOptionsInput {
12
+ display: flex;
13
+ gap: 6px;
14
+
15
+ @include insertCustomInputTags(
16
+ $width: $width,
17
+ $height: $height,
18
+ );
19
+
20
+ input {
21
+ @if ($one-input) {
22
+ width: 100%;
23
+ } @else {
24
+ flex: 1;
25
+ }
26
+ }
27
+
28
+ &.focus {
29
+ @include insertCustomInputFocusTags();
30
+ }
31
+
32
+ &.disabled {
33
+ @include insertCustomInputDisabledTags();
34
+ }
35
+
36
+ @content;
37
+ }
38
+ }
39
+
40
+ @mixin insertCustomOptionsInputError() {
41
+ .customOptionsInput {
42
+ @include insertCustomInputErrorTags();
43
+
44
+ &.focus {
45
+ @include insertCustomInputErrorFocusTags();
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,54 @@
1
+ @use './CustomSelectFieldOption';
2
+ @use './CustomSelectFieldViewField';
3
+
4
+ @mixin insertCustomSelectFieldError() {
5
+ .customSelect {
6
+ @include CustomSelectFieldViewField.insertSelectFieldViewFieldError();
7
+ }
8
+ }
9
+
10
+ @mixin insertCustomSelectField(
11
+ $width: 320,
12
+ $height: 44,
13
+ ) {
14
+ .customSelect {
15
+ width: #{$width}px;
16
+ height: #{$height}px;
17
+
18
+ position: relative;
19
+
20
+ display: flex;
21
+ flex-direction: column;
22
+
23
+ @include CustomSelectFieldViewField.insertCustomSelectFieldViewField($width: $width, $height: $height) {
24
+ @content;
25
+ }
26
+
27
+ .options {
28
+ $padding-width: 4;
29
+
30
+ width: 100%;
31
+ max-height: 316px;
32
+
33
+ position: absolute;
34
+ transform: translateY(#{$height + 2}px);
35
+
36
+ padding: #{$padding-width}px;
37
+ border-radius: 8px;
38
+
39
+ background-color: #FFFFFF;
40
+ border: 1px solid #EAECF0;
41
+ box-shadow: 0 4px 6px -2px #10182808, 0 12px 16px -4px #10182814;
42
+
43
+ box-sizing: border-box;
44
+
45
+ overflow-y: auto;
46
+ overflow-x: hidden;
47
+
48
+ z-index: 10;
49
+ @include CustomSelectFieldOption.insertCustomSelectFieldOption($width: $width - $padding-width * 2);
50
+ }
51
+
52
+ @content;
53
+ }
54
+ }
@@ -0,0 +1,50 @@
1
+ @use '../../../dependencies' as *;
2
+
3
+ @mixin insertCustomSelectFieldOption($width: 312) {
4
+ .option {
5
+ width: 100%;
6
+
7
+ display: flex;
8
+ flex-direction: row;
9
+
10
+ justify-content: space-between;
11
+
12
+ padding: 10px 16px;
13
+ gap: 8px;
14
+
15
+ box-sizing: border-box;
16
+
17
+ cursor: pointer;
18
+
19
+ .label {
20
+ all: unset;
21
+ width: 252px;
22
+ @include fnt($size: 16, $line_height: 24, $weight: 400, $color: #101828);
23
+ }
24
+
25
+ &:hover {
26
+ background-color: #F2F4F7;
27
+ }
28
+
29
+ &.active {
30
+ background-color: #F0F6FF;
31
+
32
+ .icon {
33
+ width: 20px;
34
+ height: 20px;
35
+
36
+ display: flex;
37
+ justify-content: center;
38
+ align-items: center;
39
+
40
+ * {
41
+ stroke: #1A40FF;
42
+ }
43
+ }
44
+
45
+ &:hover {
46
+ background-color: #D9E6FF;
47
+ }
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,28 @@
1
+ @use '../../../dependencies' as *;
2
+ @use '../CustomInputField/CustomInput';
3
+
4
+ @mixin insertCustomSelectFieldViewField($width: 320, $height: 44) {
5
+ .field {
6
+ @include CustomInput.insertCustomInputTags() {
7
+ @content;
8
+ }
9
+
10
+ .label {
11
+ all: unset;
12
+ flex: 1;
13
+ overflow: hidden;
14
+ text-align: left;
15
+ text-wrap: nowrap;
16
+ text-overflow: ellipsis;
17
+ @include fnt($size: 16, $line-height: 24, $weight: 400, $color: var(--gray-900));
18
+ }
19
+
20
+ @include changeSvg($width: 20, $height: 20, $stroke: var(--gray-500), $flex: none);
21
+ }
22
+ }
23
+
24
+ @mixin insertSelectFieldViewFieldError() {
25
+ .field {
26
+ @include CustomInput.insertCustomInputErrorTags();
27
+ }
28
+ }
@@ -0,0 +1 @@
1
+ @forward "CustomSelectField";
@@ -0,0 +1,17 @@
1
+ @use "./components" as components;
2
+
3
+ @mixin insertCustomSwitchersField(
4
+ $flag-outer-width: 16,
5
+ $flag-inner-width: 6,
6
+ $checkbox-width: 20,
7
+ $checkbox-height: 20,
8
+ ) {
9
+ @include components.insertCustomSwitchersFieldOption(
10
+ $flag-outer-width: $flag-outer-width,
11
+ $flag-inner-width: $flag-inner-width,
12
+ $checkbox-width: $checkbox-width,
13
+ $checkbox-height: $checkbox-height,
14
+ ) {
15
+ @content;
16
+ }
17
+ }
@@ -0,0 +1,34 @@
1
+ @use '../../../../dependencies' as *;
2
+
3
+ @mixin insertCustomSwitchersFieldOption(
4
+ $checkbox-width: 20,
5
+ $checkbox-height: 20,
6
+ $flag-outer-width: 16,
7
+ $flag-inner-width: 6,
8
+ ) {
9
+ .customSwitcherOption {
10
+ display: flex;
11
+ flex-direction: row;
12
+
13
+ gap: 8px;
14
+
15
+ .label {
16
+ display: flex;
17
+ align-items: start;
18
+ padding: 0;
19
+ @include fnt($size: 14, $line_height: 20, $weight: 500, $color: #344054)
20
+ }
21
+
22
+ .checkbox {
23
+ @include insertCircleDotCheckboxTags($outer-size: $flag-outer-width);
24
+ }
25
+
26
+ &.active {
27
+ .checkbox {
28
+ @include insertCircleDotCheckboxActiveTags($inner-size: $flag-inner-width);
29
+ }
30
+ }
31
+
32
+ @content;
33
+ }
34
+ }
@@ -0,0 +1 @@
1
+ @forward "CustomSwitchersField";
@@ -0,0 +1,5 @@
1
+ @forward './CustomInputField';
2
+ @forward './CustomSwitchersField';
3
+ @forward './CustomSelectField';
4
+ @forward './CustomInputWrapper';
5
+ @forward './CustomOptionsInput';
@@ -10,8 +10,8 @@
10
10
  padding: 10px 12px;
11
11
  border-radius: 8px;
12
12
  gap: 12px;
13
- background-color: $base-white;
14
- box-shadow: 0 0 0 1px $gray-300, 0 1px 2px 0 #1018280D;
13
+ background-color: var(--test-variable);
14
+ box-shadow: 0 0 0 1px var(--gray-300), 0 1px 2px 0 #1018280D;
15
15
  box-sizing: border-box;
16
16
 
17
17
  .inputField {
@@ -28,10 +28,83 @@
28
28
  overflow: hidden;
29
29
  text-overflow: ellipsis;
30
30
 
31
- @include fnt($size: 16, $line-height: 24, $weight: 400, $color: $gray-900);
31
+ @include fnt($size: 16, $line-height: 24, $weight: 400, $color: var(--gray-900));
32
32
 
33
33
  &::placeholder {
34
- @include fnt($size: 16, $line-height: 24, $weight: 400, $color: $gray-400);
34
+ @include fnt($size: 16, $line-height: 24, $weight: 400, $color: var(--gray-400));
35
+ }
36
+ }
37
+
38
+ .icon {
39
+ padding: 2px 0;
40
+ @include centerInsideContent();
41
+ @include modify-svg($stroke: var(--gray-400)) {
42
+ width: 20px;
43
+ height: 20px;
44
+ flex: none;
45
+ }
46
+ }
47
+
48
+ .textSupport {
49
+ @include fnt($size: 16, $line-height: 24, $weight: 400, $color: var(--gray-400));
50
+ }
51
+
52
+ .userPic {
53
+ width: 24px;
54
+ height: 24px;
55
+ border-radius: 50%;
56
+ object-fit: scale-down;
57
+ }
58
+
59
+ .help {
60
+ padding: 2px 0;
61
+ @include centerInsideContent();
62
+ @include modify-svg($stroke: var(--gray-400)) {
63
+ width: 16px;
64
+ height: 16px;
65
+ flex: none;
66
+ }
67
+ }
68
+
69
+ .dropdown {
70
+ padding: 2px 0;
71
+ transition: all ease-in-out 200ms;
72
+ @include centerInsideContent();
73
+ @include modify-svg($stroke: var(--gray-500)) {
74
+ width: 20px;
75
+ height: 20px;
76
+ flex: none;
77
+ }
78
+
79
+ &.dropdownReverse {
80
+ transform: rotateX(-180deg);
81
+ }
82
+ }
83
+
84
+ .button {
85
+ padding: 2px 0;
86
+ transition: all ease-in-out 200ms;
87
+ @include centerInsideContent();
88
+ @include modify-svg() {
89
+ width: 20px;
90
+ height: 20px;
91
+ flex: none;
92
+ }
93
+
94
+ &.red {
95
+ @include modify-svg($stroke: var(--error-400));
96
+
97
+ &:hover {
98
+ @include modify-svg($stroke: var(--error-500));
99
+ }
100
+ }
101
+
102
+ &.gray {
103
+ @include modify-svg($stroke: var(--gray-400));
104
+
105
+ &:hover {
106
+ @include modify-svg($stroke: var(--gray-500));
107
+ }
35
108
  }
36
109
  }
37
110
 
@@ -43,9 +116,12 @@
43
116
  box-shadow: 0 0 0 4px #F2F4F7, 0 1px 2px 0 #1018280D;
44
117
  }
45
118
 
46
-
47
119
  &.isError {
48
- box-shadow: 0 0 0 1px $error-300, 0 1px 2px 0 #1018280D;
120
+ box-shadow: 0 0 0 1px var(--error-300), 0 1px 2px 0 #1018280D;
121
+
122
+ .help {
123
+ @include modify-svg($stroke: var(--error-500));
124
+ }
49
125
 
50
126
  &.focus {
51
127
  box-shadow: 0 0 0 4px #FEE4E2, 0 1px 2px 0 #1018280D;
@@ -53,7 +129,7 @@
53
129
  }
54
130
 
55
131
  &.disabled {
56
- background-color: $gray-100;
132
+ background-color: var(--gray-100);
57
133
  cursor: default;
58
134
 
59
135
  * {
@@ -61,7 +137,7 @@
61
137
  }
62
138
 
63
139
  .inputField {
64
- @include fnt($size: 16, $line-height: 24, $weight: 400, $color: $gray-500);
140
+ @include fnt($size: 16, $line-height: 24, $weight: 400, $color: var(--gray-500));
65
141
  }
66
142
  }
67
143
 
@@ -13,10 +13,10 @@
13
13
  padding: 0 12px;
14
14
  gap: 2px;
15
15
 
16
- @include fnt($size: 14, $line-height: 20, $weight: 500, $color: $gray-700);
16
+ @include fnt($size: 14, $line-height: 20, $weight: 500, $color: var(--gray-700));
17
17
 
18
18
  .required {
19
- @include fnt($size: 14, $line-height: 20, $weight: 500, $color: $error-500);
19
+ @include fnt($size: 14, $line-height: 20, $weight: 500, $color: var(--error-500));
20
20
  }
21
21
  }
22
22
 
@@ -25,7 +25,7 @@
25
25
  padding: 0 12px;
26
26
  gap: 2px;
27
27
 
28
- @include fnt($size: 14, $line-height: 20, $weight: 400, $color: $gray-600);
28
+ @include fnt($size: 14, $line-height: 20, $weight: 400, $color: var(--gray-600));
29
29
  }
30
30
 
31
31
  .hintError {
@@ -33,7 +33,7 @@
33
33
  padding: 0 12px;
34
34
  gap: 2px;
35
35
 
36
- @include fnt($size: 14, $line-height: 20, $weight: 400, $color: $error-500);
36
+ @include fnt($size: 14, $line-height: 20, $weight: 400, $color: var(--error-500));
37
37
  }
38
38
 
39
39
  .helperLink {
@@ -41,8 +41,8 @@
41
41
  padding: 0 12px;
42
42
  gap: 2px;
43
43
  cursor: pointer;
44
- @include changeSvg($width: 20, $height: 20, $stroke: $blue-dark-500, $flex: none);
45
- @include fnt($size: 14, $line-height: 20, $weight: 400, $color: $blue-dark-500);
44
+ @include changeSvg($width: 20, $height: 20, $stroke: var(--blue-dark-500), $flex: none);
45
+ @include fnt($size: 14, $line-height: 20, $weight: 400, $color: var(--blue-dark-500));
46
46
  }
47
47
 
48
48
  @content;
@@ -15,14 +15,14 @@
15
15
  height: 16px;
16
16
 
17
17
  border-radius: 50%;
18
- border: 1px solid $gray-300;
19
- background-color: $base-white;
18
+ border: 1px solid var(--gray-300);
19
+ background-color: var(--base-white);
20
20
 
21
21
  @include centerInsideContent();
22
22
  }
23
23
 
24
24
  .label {
25
- @include fnt($size: 14, $line-height: 20, $weight: 500, $color: $gray-700);
25
+ @include fnt($size: 14, $line-height: 20, $weight: 500, $color: var(--gray-700));
26
26
  }
27
27
 
28
28
  &.active {
@@ -33,10 +33,10 @@
33
33
  width: 6px;
34
34
  height: 6px;
35
35
  border-radius: 50%;
36
- background-color: $blue-dark-500;
36
+ background-color: var(--blue-dark-500);
37
37
  }
38
38
 
39
- border: 1px solid $blue-dark-500;
39
+ border: 1px solid var(--blue-dark-500);
40
40
  }
41
41
  }
42
42
 
@@ -24,8 +24,8 @@
24
24
  border-radius: 8px;
25
25
  padding: 4px;
26
26
 
27
- background-color: $base-white;
28
- box-shadow: 0 0 0 1px $gray-300, 0 4px 6px -2px #10182808, 0px 12px 16px -4px #10182814;
27
+ background-color: var(--base-white);
28
+ box-shadow: 0 0 0 1px var(--gray-300), 0 4px 6px -2px #10182808, 0px 12px 16px -4px #10182814;
29
29
 
30
30
  overflow: scroll;
31
31
  scrollbar-width: none;
@@ -42,12 +42,12 @@
42
42
  .label {
43
43
  flex: 1;
44
44
  text-align: left;
45
- @include fnt($size: 16, $line-height: 24, $weight: 400, $color: $gray-900);
45
+ @include fnt($size: 16, $line-height: 24, $weight: 400, $color: var(--gray-900));
46
46
  }
47
47
 
48
48
  &.active {
49
- background-color: $blue-dark-50;
50
- @include changeSvg($width: 20, $height: 20, $stroke: $blue-dark-500, $flex: none);
49
+ background-color: var(--blue-dark-50);
50
+ @include changeSvg($width: 20, $height: 20, $stroke: var(--blue-dark-500), $flex: none);
51
51
  }
52
52
  }
53
53
  }
@@ -25,12 +25,12 @@ $size-config: (
25
25
 
26
26
  $tone-config: (
27
27
  light: (
28
- main: $gray-200,
29
- hover: $gray-300,
28
+ main: var(--gray-200),
29
+ hover: var(--gray-300),
30
30
  ),
31
31
  dark: (
32
- main: $gray-300,
33
- hover: $gray-400,
32
+ main: var(--gray-300),
33
+ hover: var(--gray-400),
34
34
  ),
35
35
  );
36
36
 
@@ -58,7 +58,7 @@ $tone-config: (
58
58
  height: #{map.get($size-settings, radius)}px;
59
59
  border-radius: 50%;
60
60
  box-shadow: 0 1px 2px 0 #1018280F, 0 1px 3px 0 #1018281A;
61
- background-color: $base-white;
61
+ background-color: var(--base-white);
62
62
  }
63
63
 
64
64
  &:hover {
@@ -66,15 +66,15 @@ $tone-config: (
66
66
  }
67
67
 
68
68
  &:focus {
69
- box-shadow: 0 0 0 4px $gray-100;
69
+ box-shadow: 0 0 0 4px var(--gray-100);
70
70
  }
71
71
 
72
72
  &.active {
73
73
  justify-content: right;
74
- background-color: $blue-dark-500;
74
+ background-color: var(--blue-dark-500);
75
75
 
76
76
  &:hover {
77
- background-color: $blue-dark-600;
77
+ background-color: var(--blue-dark-600);
78
78
  }
79
79
  }
80
80
 
@@ -10,13 +10,13 @@
10
10
  border-radius: 8px;
11
11
  padding: 10px 12px;
12
12
 
13
- background-color: $base-white;
14
- box-shadow: 0 0 0 1px $gray-300, 0 1px 2px 0 #1018280D;
13
+ background-color: var(--base-white);
14
+ box-shadow: 0 0 0 1px var(--gray-300), 0 1px 2px 0 #1018280D;
15
15
 
16
- @include fnt($size: 16, $line-height: 24, $weight: 400, $color: $gray-900);
16
+ @include fnt($size: 16, $line-height: 24, $weight: 400, $color: var(--gray-900));
17
17
 
18
18
  &::placeholder {
19
- @include fnt($size: 16, $line-height: 24, $weight: 400, $color: $gray-400);
19
+ @include fnt($size: 16, $line-height: 24, $weight: 400, $color: var(--gray-400));
20
20
  }
21
21
 
22
22
  &:focus {
@@ -24,12 +24,12 @@
24
24
  }
25
25
 
26
26
  &:disabled {
27
- background-color: $gray-100;
28
- @include fnt($size: 16, $line-height: 24, $weight: 400, $color: $gray-500);
27
+ background-color: var(--gray-100);
28
+ @include fnt($size: 16, $line-height: 24, $weight: 400, $color: var(--gray-500));
29
29
  }
30
30
 
31
31
  &.isError {
32
- border: 1px solid $error-300;
32
+ border: 1px solid var(--error-300);
33
33
 
34
34
  &:focus {
35
35
  box-shadow: 0 0 0 4px #FEE4E2, 0 1px 2px 0 #1018280D;
@@ -1,12 +1,12 @@
1
1
  @use '../../../../../styles' as *;
2
2
 
3
3
  @mixin color-fill() {
4
- background: $base-white;
5
- box-shadow: 0 0 0 1px $blue-dark-200;
6
- @include modify-svg($stroke: $blue-dark-500);
4
+ background: var(--base-white);
5
+ box-shadow: 0 0 0 1px var(--blue-dark-200);
6
+ @include modify-svg($stroke: var(--blue-dark-500));
7
7
 
8
8
  &:hover {
9
- background: $blue-dark-50;
10
- @include modify-svg($stroke: $blue-dark-500);
9
+ background: var(--blue-dark-50);
10
+ @include modify-svg($stroke: var(--blue-dark-500));
11
11
  }
12
12
  }
@@ -2,10 +2,10 @@
2
2
 
3
3
  @mixin color-hover() {
4
4
  background: none;
5
- @include modify-svg($stroke: $blue-dark-400);
5
+ @include modify-svg($stroke: var(--blue-dark-400));
6
6
 
7
7
  &:hover {
8
- background-color: $blue-dark-100;
9
- @include modify-svg($stroke: $blue-dark-500);
8
+ background-color: var(--blue-dark-100);
9
+ @include modify-svg($stroke: var(--blue-dark-500));
10
10
  }
11
11
  }
@@ -2,10 +2,10 @@
2
2
 
3
3
  @mixin color() {
4
4
  background: none;
5
- @include modify-svg($stroke: $blue-dark-500);
5
+ @include modify-svg($stroke: var(--blue-dark-500));
6
6
 
7
7
  &:hover {
8
- background-color: $base-white;
9
- @include modify-svg($stroke: $blue-dark-600);
8
+ background-color: var(--base-white);
9
+ @include modify-svg($stroke: var(--blue-dark-600));
10
10
  }
11
11
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  @mixin dark() {
4
4
  background-color: #0C111D80;
5
- @include modify-svg($stroke: $base-white);
5
+ @include modify-svg($stroke: var(--base-white));
6
6
 
7
7
  &:hover {
8
8
  background-color: #0C111DCC;