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.
- package/dist/index.css +1588 -212
- package/dist/index.css.map +1 -1
- package/dist/index.js +1550 -198
- package/dist/index.js.map +1 -1
- package/dist/scss/styles/colors/index.scss +3 -1
- package/dist/scss/styles/colors/primary-var.scss +56 -0
- package/dist/scss/styles/colors/secondary-var.scss +15 -0
- package/dist/scss/ui/Buttons/styles/mixins/properties/link-black.scss +4 -4
- package/dist/scss/ui/Buttons/styles/mixins/properties/link-color.scss +4 -4
- package/dist/scss/ui/Buttons/styles/mixins/properties/link-gray.scss +4 -4
- package/dist/scss/ui/Buttons/styles/mixins/properties/primary.scss +6 -6
- package/dist/scss/ui/Buttons/styles/mixins/properties/secondary-color.scss +7 -7
- package/dist/scss/ui/Buttons/styles/mixins/properties/secondary-gray.scss +8 -8
- package/dist/scss/ui/Buttons/styles/mixins/properties/tab-active.scss +5 -5
- package/dist/scss/ui/Buttons/styles/mixins/properties/tab.scss +6 -6
- package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-color.scss +4 -4
- package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-gray.scss +4 -4
- package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-white.scss +4 -4
- package/dist/scss/ui/Buttons/styles/mixins/properties/warning-primary.scss +3 -3
- package/dist/scss/ui/Buttons/styles/mixins/properties/warning-secondary-color.scss +6 -6
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputField/CustomInput.scss +126 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputField/CustomInputField.scss +33 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputField/CustomTextareaInput.scss +30 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputField/index.scss +2 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputWrapper/CustomInputWrapper.scss +55 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputWrapper/config.scss +5 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputWrapper/index.scss +1 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomOptionsInput/index.scss +48 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/CustomSelectField.scss +54 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/CustomSelectFieldOption.scss +50 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/CustomSelectFieldViewField.scss +28 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/index.scss +1 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/CustomSwitchersField.scss +17 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/components/index.scss +1 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/components/option.scss +34 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/index.scss +1 -0
- package/dist/scss/ui/FormBuilder/styles/CustomFields/index.scss +5 -0
- package/dist/scss/ui/InputFields/FlexField/styles/mixins/flexField.scss +84 -8
- package/dist/scss/ui/InputFields/InputFieldWrapper/styles/mixins/inputFieldWrapper.scss +6 -6
- package/dist/scss/ui/InputFields/RadioField/styles/mixins/radioField.scss +5 -5
- package/dist/scss/ui/InputFields/SelectField/styles/mixins/selectField.scss +5 -5
- package/dist/scss/ui/InputFields/SwitcherField/styles/mixins/switcherField.scss +8 -8
- package/dist/scss/ui/InputFields/TextareaField/styles/mixin/textareaField.scss +7 -7
- package/dist/scss/ui/MicroButton/styles/mixins/properties/color-fill.scss +5 -5
- package/dist/scss/ui/MicroButton/styles/mixins/properties/color-hover.scss +3 -3
- package/dist/scss/ui/MicroButton/styles/mixins/properties/color.scss +3 -3
- package/dist/scss/ui/MicroButton/styles/mixins/properties/dark.scss +1 -1
- package/dist/scss/ui/MicroButton/styles/mixins/properties/gray-fill.scss +5 -5
- package/dist/scss/ui/MicroButton/styles/mixins/properties/gray.scss +3 -3
- package/dist/scss/ui/MicroButton/styles/mixins/properties/light.scss +3 -3
- package/dist/scss/ui/MicroButton/styles/mixins/properties/red-fill.scss +5 -5
- package/dist/scss/ui/MicroButton/styles/mixins/properties/red-hover.scss +3 -3
- package/dist/types/src/test/pages/FormBuilderPage.d.ts +1 -0
- package/dist/types/src/ui/Buttons/types/ButtonTypes.d.ts +8 -1
- package/dist/types/src/ui/Buttons/ui/Button.d.ts +1 -1
- package/dist/types/src/ui/FormBuilder/consts/index.d.ts +2 -0
- package/dist/types/src/ui/FormBuilder/index.d.ts +2 -0
- package/dist/types/src/ui/FormBuilder/lib/arrayFieldComponent.d.ts +5 -0
- package/dist/types/src/ui/FormBuilder/lib/blockComponent.d.ts +5 -0
- package/dist/types/src/ui/FormBuilder/lib/blockWrapperComponent.d.ts +5 -0
- package/dist/types/src/ui/FormBuilder/lib/customFieldWrapperComponent.d.ts +5 -0
- package/dist/types/src/ui/FormBuilder/lib/formBuilder.d.ts +4 -0
- package/dist/types/src/ui/FormBuilder/lib/formWrapperComponent.d.ts +5 -0
- package/dist/types/src/ui/FormBuilder/lib/index.d.ts +8 -0
- package/dist/types/src/ui/FormBuilder/lib/inputFieldComponent.d.ts +5 -0
- package/dist/types/src/ui/FormBuilder/lib/reactNodeComponent.d.ts +5 -0
- package/dist/types/src/ui/FormBuilder/schemes/index.d.ts +76 -0
- package/dist/types/src/ui/FormBuilder/styles/index.d.ts +1 -0
- package/dist/types/src/ui/FormBuilder/types/FormBuilderTypes.d.ts +56 -0
- package/dist/types/src/ui/FormBuilder/types/index.d.ts +2 -0
- package/dist/types/src/ui/FormBuilder/ui/FormBuilder.d.ts +5 -0
- package/dist/types/src/ui/FormBuilder/ui/index.d.ts +1 -0
- package/dist/types/src/ui/InputFields/FlexField/types/FlexFieldTypes.d.ts +11 -1
- package/dist/types/src/ui/index.d.ts +1 -0
- package/package.json +62 -87
package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputWrapper/CustomInputWrapper.scss
ADDED
|
@@ -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 @@
|
|
|
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
|
+
}
|
package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/CustomSelectFieldOption.scss
ADDED
|
@@ -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";
|
package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/CustomSwitchersField.scss
ADDED
|
@@ -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
|
+
}
|
package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/components/index.scss
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward './option';
|
package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/components/option.scss
ADDED
|
@@ -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";
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
padding: 10px 12px;
|
|
11
11
|
border-radius: 8px;
|
|
12
12
|
gap: 12px;
|
|
13
|
-
background-color:
|
|
14
|
-
box-shadow: 0 0 0 1px
|
|
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:
|
|
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:
|
|
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
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
45
|
-
@include fnt($size: 14, $line-height: 20, $weight: 400, $color:
|
|
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
|
|
19
|
-
background-color:
|
|
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:
|
|
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:
|
|
36
|
+
background-color: var(--blue-dark-500);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
border: 1px solid
|
|
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:
|
|
28
|
-
box-shadow: 0 0 0 1px
|
|
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:
|
|
45
|
+
@include fnt($size: 16, $line-height: 24, $weight: 400, $color: var(--gray-900));
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&.active {
|
|
49
|
-
background-color:
|
|
50
|
-
@include changeSvg($width: 20, $height: 20, $stroke:
|
|
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:
|
|
29
|
-
hover:
|
|
28
|
+
main: var(--gray-200),
|
|
29
|
+
hover: var(--gray-300),
|
|
30
30
|
),
|
|
31
31
|
dark: (
|
|
32
|
-
main:
|
|
33
|
-
hover:
|
|
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:
|
|
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
|
|
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:
|
|
74
|
+
background-color: var(--blue-dark-500);
|
|
75
75
|
|
|
76
76
|
&:hover {
|
|
77
|
-
background-color:
|
|
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:
|
|
14
|
-
box-shadow: 0 0 0 1px
|
|
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:
|
|
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:
|
|
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:
|
|
28
|
-
@include fnt($size: 16, $line-height: 24, $weight: 400, $color:
|
|
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
|
|
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:
|
|
5
|
-
box-shadow: 0 0 0 1px
|
|
6
|
-
@include modify-svg($stroke:
|
|
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:
|
|
10
|
-
@include modify-svg($stroke:
|
|
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:
|
|
5
|
+
@include modify-svg($stroke: var(--blue-dark-400));
|
|
6
6
|
|
|
7
7
|
&:hover {
|
|
8
|
-
background-color:
|
|
9
|
-
@include modify-svg($stroke:
|
|
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:
|
|
5
|
+
@include modify-svg($stroke: var(--blue-dark-500));
|
|
6
6
|
|
|
7
7
|
&:hover {
|
|
8
|
-
background-color:
|
|
9
|
-
@include modify-svg($stroke:
|
|
8
|
+
background-color: var(--base-white);
|
|
9
|
+
@include modify-svg($stroke: var(--blue-dark-600));
|
|
10
10
|
}
|
|
11
11
|
}
|