indicator-ui 0.1.47 → 0.1.48
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/README.md +25 -25
- package/dist/index.css +612 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +6059 -2842
- package/dist/index.js.map +1 -1
- package/dist/scss/styles/adaptive/index.scss +142 -142
- package/dist/scss/styles/colors/index.scss +1 -1
- package/dist/scss/styles/colors/primary.scss +54 -54
- package/dist/scss/styles/colors/secondary.scss +12 -12
- package/dist/scss/styles/index.scss +2 -2
- package/dist/scss/styles/mixins/centerInsideContent.scss +6 -6
- package/dist/scss/styles/mixins/changeSvg.scss +25 -25
- package/dist/scss/styles/mixins/fnt-flex.scss +38 -38
- package/dist/scss/styles/mixins/fnt.scss +25 -25
- package/dist/scss/styles/mixins/hiddeScrollBar.scss +9 -9
- package/dist/scss/styles/mixins/index.scss +7 -7
- package/dist/scss/styles/mixins/modify-flex.scss +17 -17
- package/dist/scss/styles/mixins/modify-svg.scss +30 -30
- package/dist/scss/test/global.scss +82 -82
- package/dist/scss/ui/Buttons/styles/mixins/baseButton.scss +48 -48
- package/dist/scss/ui/Buttons/styles/mixins/index.scss +1 -1
- package/dist/scss/ui/Buttons/styles/mixins/properties/index.scss +21 -21
- package/dist/scss/ui/Buttons/styles/mixins/properties/large.scss +28 -28
- package/dist/scss/ui/Buttons/styles/mixins/properties/link-black.scss +47 -47
- package/dist/scss/ui/Buttons/styles/mixins/properties/link-color.scss +47 -47
- package/dist/scss/ui/Buttons/styles/mixins/properties/link-dark-theme.scss +47 -47
- package/dist/scss/ui/Buttons/styles/mixins/properties/link-gray.scss +47 -47
- package/dist/scss/ui/Buttons/styles/mixins/properties/medium.scss +28 -28
- package/dist/scss/ui/Buttons/styles/mixins/properties/primary.scss +59 -59
- package/dist/scss/ui/Buttons/styles/mixins/properties/secondary-color.scss +72 -72
- package/dist/scss/ui/Buttons/styles/mixins/properties/secondary-gray.scss +90 -90
- package/dist/scss/ui/Buttons/styles/mixins/properties/small.scss +28 -28
- package/dist/scss/ui/Buttons/styles/mixins/properties/tab-active.scss +51 -51
- package/dist/scss/ui/Buttons/styles/mixins/properties/tab.scss +51 -51
- package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-color.scss +82 -82
- package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-gray.scss +42 -42
- package/dist/scss/ui/Buttons/styles/mixins/properties/tertiary-white.scss +83 -83
- package/dist/scss/ui/Buttons/styles/mixins/properties/ultra.scss +28 -28
- package/dist/scss/ui/Buttons/styles/mixins/properties/warning-link-color.scss +44 -44
- package/dist/scss/ui/Buttons/styles/mixins/properties/warning-primary.scss +36 -36
- package/dist/scss/ui/Buttons/styles/mixins/properties/warning-secondary-color.scss +40 -40
- package/dist/scss/ui/CheckboxMark/styles/mixins/base.scss +30 -30
- package/dist/scss/ui/CheckboxMark/styles/mixins/checkbox-mark.scss +95 -95
- package/dist/scss/ui/CheckboxMark/styles/mixins/index.scss +2 -2
- package/dist/scss/ui/CheckboxMark/styles/mixins/properties/checkbox.scss +2 -2
- package/dist/scss/ui/CheckboxMark/styles/mixins/properties/checked.scss +21 -21
- package/dist/scss/ui/CheckboxMark/styles/mixins/properties/correct.scss +48 -48
- package/dist/scss/ui/CheckboxMark/styles/mixins/properties/disabled.scss +28 -28
- package/dist/scss/ui/CheckboxMark/styles/mixins/properties/error.scss +23 -23
- package/dist/scss/ui/CheckboxMark/styles/mixins/properties/incorrect.scss +48 -48
- package/dist/scss/ui/CheckboxMark/styles/mixins/properties/indeterminate.scss +18 -18
- package/dist/scss/ui/CheckboxMark/styles/mixins/properties/index.scss +7 -7
- package/dist/scss/ui/CheckboxMark/styles/mixins/properties/radio.scss +14 -14
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputField/CustomInput.scss +125 -125
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputField/CustomInputField.scss +32 -32
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputField/CustomTextareaInput.scss +29 -29
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputField/index.scss +1 -1
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputWrapper/CustomInputWrapper.scss +54 -54
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputWrapper/config.scss +4 -4
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomOptionsInput/index.scss +47 -47
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/CustomSelectField.scss +53 -53
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/CustomSelectFieldOption.scss +50 -50
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/CustomSelectFieldViewField.scss +27 -27
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/CustomSwitchersField.scss +16 -16
- package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/components/option.scss +33 -33
- package/dist/scss/ui/FormBuilder/styles/CustomFields/index.scss +4 -4
- package/dist/scss/ui/InputFields/FlexField/styles/mixins/flexField.scss +150 -150
- package/dist/scss/ui/InputFields/InputFieldWrapper/styles/mixins/inputFieldWrapper.scss +49 -49
- package/dist/scss/ui/MicroButton/styles/mixins/base-button.scss +17 -17
- package/dist/scss/ui/MicroButton/styles/mixins/index.scss +1 -1
- package/dist/scss/ui/MicroButton/styles/mixins/micro-button.scss +68 -68
- package/dist/scss/ui/MicroButton/styles/mixins/properties/blue-light.scss +18 -18
- package/dist/scss/ui/MicroButton/styles/mixins/properties/color-fill.scss +20 -20
- package/dist/scss/ui/MicroButton/styles/mixins/properties/color-hover.scss +20 -20
- package/dist/scss/ui/MicroButton/styles/mixins/properties/color.scss +20 -20
- package/dist/scss/ui/MicroButton/styles/mixins/properties/dark.scss +18 -18
- package/dist/scss/ui/MicroButton/styles/mixins/properties/gray-fill.scss +20 -20
- package/dist/scss/ui/MicroButton/styles/mixins/properties/gray.scss +20 -20
- package/dist/scss/ui/MicroButton/styles/mixins/properties/index.scss +17 -17
- package/dist/scss/ui/MicroButton/styles/mixins/properties/light.scss +20 -20
- package/dist/scss/ui/MicroButton/styles/mixins/properties/red-fill.scss +20 -20
- package/dist/scss/ui/MicroButton/styles/mixins/properties/red-hover.scss +20 -20
- package/dist/scss/ui/MicroButton/styles/mixins/properties/rose.scss +20 -20
- package/dist/scss/ui/MicroButton/styles/mixins/properties/size-14.scss +11 -11
- package/dist/scss/ui/MicroButton/styles/mixins/properties/size-16.scss +11 -11
- package/dist/scss/ui/MicroButton/styles/mixins/properties/size-20.scss +11 -11
- package/dist/scss/ui/MicroButton/styles/mixins/properties/size-24.scss +11 -11
- package/dist/scss/ui/MicroButton/styles/mixins/properties/size-28.scss +11 -11
- package/dist/scss/ui/Tag/styles/properties/active.scss +15 -15
- package/dist/scss/ui/Tag/styles/properties/base.scss +33 -33
- package/dist/scss/ui/Tag/styles/properties/clicked.scss +2 -2
- package/dist/scss/ui/Tag/styles/properties/hover.scss +4 -4
- package/dist/scss/ui/Tag/styles/properties/index.scss +6 -6
- package/dist/scss/ui/Tag/styles/properties/large.scss +18 -18
- package/dist/scss/ui/Tag/styles/properties/medium.scss +18 -18
- package/dist/scss/ui/Tag/styles/properties/small.scss +18 -18
- package/dist/scss/ui/ToggleBase/styles/mixins/active.scss +12 -12
- package/dist/scss/ui/ToggleBase/styles/mixins/base-button.scss +8 -8
- package/dist/scss/ui/ToggleBase/styles/mixins/base.scss +13 -13
- package/dist/scss/ui/ToggleBase/styles/mixins/disabled.scss +5 -5
- package/dist/scss/ui/ToggleBase/styles/mixins/error.scss +6 -6
- package/dist/scss/ui/ToggleBase/styles/mixins/hover.scss +22 -22
- package/dist/scss/ui/ToggleBase/styles/mixins/index.scss +8 -8
- package/dist/scss/ui/ToggleBase/styles/mixins/large.scss +8 -8
- package/dist/scss/ui/ToggleBase/styles/mixins/medium.scss +8 -8
- package/dist/scss/ui/ToggleBase/styles/mixins/spacer.scss +4 -4
- package/dist/scss/ui/formFields/FormFieldWrapper/styles/mixins/index.scss +1 -0
- package/dist/scss/ui/formFields/FormFieldWrapper/styles/mixins/inputFieldWrapper.scss +50 -0
- package/dist/types/src/hooks/forms/__tests__/lib/getDataByPath.test.d.ts +1 -0
- package/dist/types/src/hooks/forms/__tests__/lib/getFormDataPaths.test.d.ts +1 -0
- package/dist/types/src/hooks/forms/__tests__/lib/setDataByPath.test.d.ts +1 -0
- package/dist/types/src/hooks/forms/__tests__/lib/utils.test.d.ts +1 -0
- package/dist/types/src/hooks/forms/classes/index.d.ts +44 -0
- package/dist/types/src/hooks/forms/index.d.ts +2 -0
- package/dist/types/src/hooks/forms/lib/fieldsProps.d.ts +11 -0
- package/dist/types/src/hooks/forms/lib/getDataByPath.d.ts +4 -0
- package/dist/types/src/hooks/forms/lib/getFormDataPaths.d.ts +5 -0
- package/dist/types/src/hooks/forms/lib/index.d.ts +5 -0
- package/dist/types/src/hooks/forms/lib/scheme.d.ts +13 -0
- package/dist/types/src/hooks/forms/lib/setDataByPath.d.ts +5 -0
- package/dist/types/src/hooks/forms/lib/utils.d.ts +9 -0
- package/dist/types/src/hooks/forms/types/formTypes.d.ts +51 -0
- package/dist/types/src/hooks/forms/types/index.d.ts +2 -3
- package/dist/types/src/hooks/forms/types/scheme.d.ts +151 -0
- package/dist/types/src/hooks/forms/useForm.d.ts +212 -0
- package/dist/types/src/hooks/forms/validateFunctions/config.d.ts +2 -0
- package/dist/types/src/hooks/forms/validateFunctions/index.d.ts +8 -0
- package/dist/types/src/hooks/forms/validateFunctions/validateArray.d.ts +1 -0
- package/dist/types/src/hooks/forms/validateFunctions/validateDateTime.d.ts +7 -0
- package/dist/types/src/hooks/forms/validateFunctions/validateEqualsTo.d.ts +1 -0
- package/dist/types/src/hooks/forms/validateFunctions/validateFile.d.ts +3 -0
- package/dist/types/src/hooks/forms/validateFunctions/validateNum.d.ts +6 -0
- package/dist/types/src/hooks/forms/validateFunctions/validateRequired.d.ts +1 -0
- package/dist/types/src/hooks/forms/validateFunctions/validateStr.d.ts +8 -0
- package/dist/types/src/hooks/index.d.ts +1 -0
- package/dist/types/src/lib/tsCheck/index.d.ts +1 -0
- package/dist/types/src/test/pages/FormPage.d.ts +1 -0
- package/dist/types/src/test/pages/index.d.ts +1 -0
- package/dist/types/src/types/mixins.d.ts +10 -0
- package/dist/types/src/ui/formFields/FormField/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormField/styles/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormField/ui/FormField.d.ts +6 -0
- package/dist/types/src/ui/formFields/FormField/ui/FormFieldBase.d.ts +19 -0
- package/dist/types/src/ui/formFields/FormField/ui/index.d.ts +2 -0
- package/dist/types/src/ui/formFields/FormFieldWrapper/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormFieldWrapper/styles/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormFieldWrapper/ui/FormFieldWrapper.d.ts +24 -0
- package/dist/types/src/ui/formFields/FormFieldWrapper/ui/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormRadioField/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormRadioField/ui/FieldItem.d.ts +11 -0
- package/dist/types/src/ui/formFields/FormRadioField/ui/FormRadioField.d.ts +18 -0
- package/dist/types/src/ui/formFields/FormRadioField/ui/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormSelectField/config/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormSelectField/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormSelectField/styles/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormSelectField/ui/FormSelectField.d.ts +8 -0
- package/dist/types/src/ui/formFields/FormSelectField/ui/FormSelectFieldBase.d.ts +21 -0
- package/dist/types/src/ui/formFields/FormSelectField/ui/index.d.ts +2 -0
- package/dist/types/src/ui/formFields/FormSwitcherField/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormSwitcherField/ui/FormSwitcherField.d.ts +5 -0
- package/dist/types/src/ui/formFields/FormSwitcherField/ui/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormTextareaField/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormTextareaField/styles/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/FormTextareaField/ui/FormTextareaField.d.ts +14 -0
- package/dist/types/src/ui/formFields/FormTextareaField/ui/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/extends/index.d.ts +1 -0
- package/dist/types/src/ui/formFields/extends/style/index.d.ts +2 -0
- package/dist/types/src/ui/formFields/extends/ui/DropdownArrow.d.ts +6 -0
- package/dist/types/src/ui/formFields/extends/ui/InputInnerButton.d.ts +7 -0
- package/dist/types/src/ui/formFields/extends/ui/index.d.ts +2 -0
- package/dist/types/src/ui/formFields/index.d.ts +6 -0
- package/dist/types/src/ui/index.d.ts +1 -0
- package/docs/CSSVariables/CSSVariables.md +62 -62
- package/docs/CSSVariables/CSSVariablesCalifornia.md +61 -61
- package/docs/ForDev.md +106 -106
- package/docs/FormBuilderDocs.md +204 -204
- package/docs/Notes.md +189 -55
- package/docs/SCSSVariables.md +28 -28
- package/package.json +2 -2
- package/dist/scss/ui/InputFields/index.scss +0 -7
- package/dist/types/src/hooks/forms/useForms.d.ts +0 -3
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
@use './CustomInput';
|
|
2
|
-
@use './CustomTextareaInput';
|
|
3
|
-
@use '../CustomSelectField';
|
|
4
|
-
@use '../CustomInputWrapper';
|
|
5
|
-
@use '../CustomOptionsInput';
|
|
6
|
-
|
|
7
|
-
@mixin insertCustomInputField(
|
|
8
|
-
$width: 320,
|
|
9
|
-
$height: 44,
|
|
10
|
-
) {
|
|
11
|
-
.inputField {
|
|
12
|
-
@include CustomInputWrapper.insertCustomInputWrapperTags() {
|
|
13
|
-
@content;
|
|
14
|
-
}
|
|
15
|
-
@include CustomSelectField.insertCustomSelectField($width: $width, $height: $height) {
|
|
16
|
-
@content;
|
|
17
|
-
}
|
|
18
|
-
@include CustomTextareaInput.insertCustomTextareaInput($width: $width, $height: $height) {
|
|
19
|
-
@content;
|
|
20
|
-
}
|
|
21
|
-
@include CustomOptionsInput.insertCustomOptionsInput($width: $width, $height: $height) {
|
|
22
|
-
@content;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.isError {
|
|
26
|
-
@include CustomOptionsInput.insertCustomOptionsInputError();
|
|
27
|
-
@include CustomSelectField.insertCustomSelectFieldError();
|
|
28
|
-
@include CustomTextareaInput.insertCustomTextareaInputError();
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@content;
|
|
32
|
-
}
|
|
1
|
+
@use './CustomInput';
|
|
2
|
+
@use './CustomTextareaInput';
|
|
3
|
+
@use '../CustomSelectField';
|
|
4
|
+
@use '../CustomInputWrapper';
|
|
5
|
+
@use '../CustomOptionsInput';
|
|
6
|
+
|
|
7
|
+
@mixin insertCustomInputField(
|
|
8
|
+
$width: 320,
|
|
9
|
+
$height: 44,
|
|
10
|
+
) {
|
|
11
|
+
.inputField {
|
|
12
|
+
@include CustomInputWrapper.insertCustomInputWrapperTags() {
|
|
13
|
+
@content;
|
|
14
|
+
}
|
|
15
|
+
@include CustomSelectField.insertCustomSelectField($width: $width, $height: $height) {
|
|
16
|
+
@content;
|
|
17
|
+
}
|
|
18
|
+
@include CustomTextareaInput.insertCustomTextareaInput($width: $width, $height: $height) {
|
|
19
|
+
@content;
|
|
20
|
+
}
|
|
21
|
+
@include CustomOptionsInput.insertCustomOptionsInput($width: $width, $height: $height) {
|
|
22
|
+
@content;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.isError {
|
|
26
|
+
@include CustomOptionsInput.insertCustomOptionsInputError();
|
|
27
|
+
@include CustomSelectField.insertCustomSelectFieldError();
|
|
28
|
+
@include CustomTextareaInput.insertCustomTextareaInputError();
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@content;
|
|
32
|
+
}
|
|
33
33
|
}
|
package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputField/CustomTextareaInput.scss
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
@use "./CustomInput";
|
|
2
|
-
|
|
3
|
-
@mixin insertCustomTextareaInput(
|
|
4
|
-
$width: 320,
|
|
5
|
-
$height: 44,
|
|
6
|
-
) {
|
|
7
|
-
.textarea {
|
|
8
|
-
resize: none;
|
|
9
|
-
@include CustomInput.insertCustomInputTags($width: $width, $height: $height);
|
|
10
|
-
|
|
11
|
-
&:disabled {
|
|
12
|
-
@include CustomInput.insertCustomInputDisabledTags();
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@content;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&.isError {
|
|
19
|
-
.textarea {
|
|
20
|
-
@include CustomInput.insertCustomInputErrorTags();
|
|
21
|
-
resize: none;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@mixin insertCustomTextareaInputError() {
|
|
27
|
-
.textarea {
|
|
28
|
-
@include CustomInput.insertCustomInputErrorTags();
|
|
29
|
-
}
|
|
1
|
+
@use "./CustomInput";
|
|
2
|
+
|
|
3
|
+
@mixin insertCustomTextareaInput(
|
|
4
|
+
$width: 320,
|
|
5
|
+
$height: 44,
|
|
6
|
+
) {
|
|
7
|
+
.textarea {
|
|
8
|
+
resize: none;
|
|
9
|
+
@include CustomInput.insertCustomInputTags($width: $width, $height: $height);
|
|
10
|
+
|
|
11
|
+
&:disabled {
|
|
12
|
+
@include CustomInput.insertCustomInputDisabledTags();
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@content;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.isError {
|
|
19
|
+
.textarea {
|
|
20
|
+
@include CustomInput.insertCustomInputErrorTags();
|
|
21
|
+
resize: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@mixin insertCustomTextareaInputError() {
|
|
27
|
+
.textarea {
|
|
28
|
+
@include CustomInput.insertCustomInputErrorTags();
|
|
29
|
+
}
|
|
30
30
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@forward "CustomInputField";
|
|
1
|
+
@forward "CustomInputField";
|
|
2
2
|
@forward "CustomInput";
|
package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomInputWrapper/CustomInputWrapper.scss
CHANGED
|
@@ -1,55 +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;
|
|
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
55
|
}
|
|
@@ -1,5 +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;
|
|
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
5
|
$custom-input-field-helper-link-text-color: #1A40FF;
|
|
@@ -1,48 +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
|
-
}
|
|
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
48
|
}
|
package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/CustomSelectField.scss
CHANGED
|
@@ -1,54 +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
|
-
}
|
|
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
54
|
}
|
package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSelectField/CustomSelectFieldOption.scss
CHANGED
|
@@ -1,50 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,28 +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
|
-
}
|
|
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
28
|
}
|
package/dist/scss/ui/FormBuilder/styles/CustomFields/CustomSwitchersField/CustomSwitchersField.scss
CHANGED
|
@@ -1,17 +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
|
-
}
|
|
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
17
|
}
|