envoc-form 4.1.0 → 5.0.1
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 +236 -180
- package/es/AddressInput/AddressInput.d.ts +24 -25
- package/es/AddressInput/AddressInput.js +20 -31
- package/es/AddressInput/UsStates.d.ts +3 -3
- package/es/AddressInput/UsStates.js +53 -53
- package/es/ConfirmBaseForm/ConfirmBaseForm.d.ts +26 -26
- package/es/ConfirmBaseForm/ConfirmBaseForm.js +42 -42
- package/es/ConfirmDeleteForm/ConfirmDeleteForm.d.ts +24 -24
- package/es/ConfirmDeleteForm/ConfirmDeleteForm.js +60 -60
- package/es/DatePicker/DatePickerGroup.d.ts +13 -14
- package/es/DatePicker/DatePickerGroup.js +87 -87
- package/es/DatePicker/DatePickerHelper.d.ts +3 -3
- package/es/DatePicker/DatePickerHelper.js +1 -1
- package/es/DatePicker/StringDateOnlyPickerGroup.d.ts +9 -10
- package/es/DatePicker/StringDateOnlyPickerGroup.js +29 -29
- package/es/DatePicker/StringDatePickerGroup.d.ts +9 -10
- package/es/DatePicker/StringDatePickerGroup.js +24 -24
- package/es/Field/CustomFieldInputProps.d.ts +7 -7
- package/es/Field/CustomFieldInputProps.js +1 -1
- package/es/Field/CustomFieldMetaProps.d.ts +4 -4
- package/es/Field/CustomFieldMetaProps.js +1 -1
- package/es/Field/Field.d.ts +28 -28
- package/es/Field/Field.js +51 -51
- package/es/Field/FieldErrorScrollTarget.d.ts +2 -3
- package/es/Field/FieldErrorScrollTarget.js +12 -12
- package/es/Field/FieldNameContext.d.ts +3 -3
- package/es/Field/FieldNameContext.js +3 -3
- package/es/Field/FieldSection.d.ts +7 -7
- package/es/Field/FieldSection.js +9 -20
- package/es/Field/InjectedFieldProps.d.ts +7 -7
- package/es/Field/InjectedFieldProps.js +1 -1
- package/es/Field/StandAloneInput.d.ts +13 -13
- package/es/Field/StandAloneInput.js +50 -50
- package/es/Field/useStandardField.d.ts +21 -21
- package/es/Field/useStandardField.js +92 -92
- package/es/FieldArray/FieldArray.d.ts +24 -24
- package/es/FieldArray/FieldArray.js +77 -88
- package/es/File/FileGroup.d.ts +10 -10
- package/es/File/FileGroup.js +53 -53
- package/es/File/FileList.d.ts +5 -6
- package/es/File/FileList.js +10 -21
- package/es/File/humanFileSize.d.ts +1 -1
- package/es/File/humanFileSize.js +6 -6
- package/es/Form/FocusError.d.ts +7 -7
- package/es/Form/FocusError.js +42 -42
- package/es/Form/Form.d.ts +33 -33
- package/es/Form/Form.js +141 -141
- package/es/Form/FormBasedPreventNavigation.d.ts +6 -7
- package/es/Form/FormBasedPreventNavigation.js +20 -20
- package/es/Form/LegacyFormBasedPreventNavigation.d.ts +17 -17
- package/es/Form/LegacyFormBasedPreventNavigation.js +69 -69
- package/es/Form/NewFormBasedPreventNavigation.d.ts +14 -14
- package/es/Form/NewFormBasedPreventNavigation.js +39 -39
- package/es/Form/ServerErrorContext.d.ts +11 -11
- package/es/Form/ServerErrorContext.js +9 -9
- package/es/FormActions.d.ts +12 -13
- package/es/FormActions.js +16 -27
- package/es/FormDefaults.d.ts +4 -4
- package/es/FormDefaults.js +2 -2
- package/es/Group.d.ts +16 -16
- package/es/Group.js +14 -25
- package/es/Input/IconInputGroup.d.ts +12 -12
- package/es/Input/IconInputGroup.js +43 -43
- package/es/Input/InputGroup.d.ts +12 -12
- package/es/Input/InputGroup.js +34 -34
- package/es/Input/MoneyInputGroup.d.ts +9 -9
- package/es/Input/MoneyInputGroup.js +43 -43
- package/es/Input/NumberInputGroup.d.ts +9 -9
- package/es/Input/NumberInputGroup.js +43 -43
- package/es/Input/StringInputGroup.d.ts +8 -8
- package/es/Input/StringInputGroup.js +43 -43
- package/es/Normalization/NormalizationFunction.d.ts +4 -4
- package/es/Normalization/NormalizationFunction.js +1 -1
- package/es/Normalization/normalizers.d.ts +4 -4
- package/es/Normalization/normalizers.js +32 -32
- package/es/Select/BooleanSelectGroup.d.ts +7 -8
- package/es/Select/BooleanSelectGroup.js +28 -28
- package/es/Select/NumberSelectGroup.d.ts +9 -10
- package/es/Select/NumberSelectGroup.js +21 -21
- package/es/Select/SelectGroup.d.ts +27 -28
- package/es/Select/SelectGroup.js +65 -65
- package/es/Select/SelectGroupPropsHelper.d.ts +3 -3
- package/es/Select/SelectGroupPropsHelper.js +1 -1
- package/es/Select/StringSelectGroup.d.ts +9 -10
- package/es/Select/StringSelectGroup.js +21 -21
- package/es/StandardFormActions.d.ts +11 -11
- package/es/StandardFormActions.js +14 -25
- package/es/SubmitFormButton.d.ts +10 -10
- package/es/SubmitFormButton.js +40 -40
- package/es/TextArea/TextAreaGroup.d.ts +9 -9
- package/es/TextArea/TextAreaGroup.js +35 -35
- package/es/Validation/ValidatedApiResult.d.ts +6 -6
- package/es/Validation/ValidatedApiResult.js +1 -1
- package/es/Validation/ValidationError.d.ts +5 -5
- package/es/Validation/ValidationError.js +1 -1
- package/es/Validation/ValidationFunction.d.ts +4 -4
- package/es/Validation/ValidationFunction.js +1 -1
- package/es/Validation/validators.d.ts +18 -18
- package/es/Validation/validators.js +77 -77
- package/es/index.d.ts +73 -73
- package/es/index.js +50 -50
- package/es/setupTests.d.ts +1 -1
- package/es/setupTests.js +1 -1
- package/es/utils/objectContainsNonSerializableProperty.d.ts +1 -1
- package/es/utils/objectContainsNonSerializableProperty.js +14 -14
- package/es/utils/objectToFormData.d.ts +10 -10
- package/es/utils/objectToFormData.js +77 -77
- package/es/utils/typeChecks.d.ts +8 -8
- package/es/utils/typeChecks.js +18 -18
- package/lib/AddressInput/AddressInput.d.ts +24 -25
- package/lib/AddressInput/AddressInput.js +26 -37
- package/lib/AddressInput/UsStates.d.ts +3 -3
- package/lib/AddressInput/UsStates.js +55 -55
- package/lib/ConfirmBaseForm/ConfirmBaseForm.d.ts +26 -26
- package/lib/ConfirmBaseForm/ConfirmBaseForm.js +48 -48
- package/lib/ConfirmDeleteForm/ConfirmDeleteForm.d.ts +24 -24
- package/lib/ConfirmDeleteForm/ConfirmDeleteForm.js +66 -66
- package/lib/DatePicker/DatePickerGroup.d.ts +13 -14
- package/lib/DatePicker/DatePickerGroup.js +95 -95
- package/lib/DatePicker/DatePickerHelper.d.ts +3 -3
- package/lib/DatePicker/DatePickerHelper.js +2 -2
- package/lib/DatePicker/StringDateOnlyPickerGroup.d.ts +9 -10
- package/lib/DatePicker/StringDateOnlyPickerGroup.js +35 -35
- package/lib/DatePicker/StringDatePickerGroup.d.ts +9 -10
- package/lib/DatePicker/StringDatePickerGroup.js +30 -30
- package/lib/Field/CustomFieldInputProps.d.ts +7 -7
- package/lib/Field/CustomFieldInputProps.js +2 -2
- package/lib/Field/CustomFieldMetaProps.d.ts +4 -4
- package/lib/Field/CustomFieldMetaProps.js +2 -2
- package/lib/Field/Field.d.ts +28 -28
- package/lib/Field/Field.js +56 -56
- package/lib/Field/FieldErrorScrollTarget.d.ts +2 -3
- package/lib/Field/FieldErrorScrollTarget.js +15 -15
- package/lib/Field/FieldNameContext.d.ts +3 -3
- package/lib/Field/FieldNameContext.js +9 -9
- package/lib/Field/FieldSection.d.ts +7 -7
- package/lib/Field/FieldSection.js +12 -23
- package/lib/Field/InjectedFieldProps.d.ts +7 -7
- package/lib/Field/InjectedFieldProps.js +2 -2
- package/lib/Field/StandAloneInput.d.ts +13 -13
- package/lib/Field/StandAloneInput.js +76 -76
- package/lib/Field/useStandardField.d.ts +21 -21
- package/lib/Field/useStandardField.js +95 -95
- package/lib/FieldArray/FieldArray.d.ts +24 -24
- package/lib/FieldArray/FieldArray.js +83 -94
- package/lib/File/FileGroup.d.ts +10 -10
- package/lib/File/FileGroup.js +58 -58
- package/lib/File/FileList.d.ts +5 -6
- package/lib/File/FileList.js +13 -24
- package/lib/File/humanFileSize.d.ts +1 -1
- package/lib/File/humanFileSize.js +10 -10
- package/lib/Form/FocusError.d.ts +7 -7
- package/lib/Form/FocusError.js +48 -48
- package/lib/Form/Form.d.ts +33 -33
- package/lib/Form/Form.js +147 -147
- package/lib/Form/FormBasedPreventNavigation.d.ts +6 -7
- package/lib/Form/FormBasedPreventNavigation.js +26 -26
- package/lib/Form/LegacyFormBasedPreventNavigation.d.ts +17 -17
- package/lib/Form/LegacyFormBasedPreventNavigation.js +72 -72
- package/lib/Form/NewFormBasedPreventNavigation.d.ts +14 -14
- package/lib/Form/NewFormBasedPreventNavigation.js +42 -42
- package/lib/Form/ServerErrorContext.d.ts +11 -11
- package/lib/Form/ServerErrorContext.js +15 -15
- package/lib/FormActions.d.ts +12 -13
- package/lib/FormActions.js +22 -33
- package/lib/FormDefaults.d.ts +4 -4
- package/lib/FormDefaults.js +5 -5
- package/lib/Group.d.ts +16 -16
- package/lib/Group.js +20 -31
- package/lib/Input/IconInputGroup.d.ts +12 -12
- package/lib/Input/IconInputGroup.js +48 -48
- package/lib/Input/InputGroup.d.ts +12 -12
- package/lib/Input/InputGroup.js +39 -39
- package/lib/Input/MoneyInputGroup.d.ts +9 -9
- package/lib/Input/MoneyInputGroup.js +48 -48
- package/lib/Input/NumberInputGroup.d.ts +9 -9
- package/lib/Input/NumberInputGroup.js +48 -48
- package/lib/Input/StringInputGroup.d.ts +8 -8
- package/lib/Input/StringInputGroup.js +48 -48
- package/lib/Normalization/NormalizationFunction.d.ts +4 -4
- package/lib/Normalization/NormalizationFunction.js +2 -2
- package/lib/Normalization/normalizers.d.ts +4 -4
- package/lib/Normalization/normalizers.js +37 -37
- package/lib/Select/BooleanSelectGroup.d.ts +7 -8
- package/lib/Select/BooleanSelectGroup.js +35 -35
- package/lib/Select/NumberSelectGroup.d.ts +9 -10
- package/lib/Select/NumberSelectGroup.js +29 -29
- package/lib/Select/SelectGroup.d.ts +27 -28
- package/lib/Select/SelectGroup.js +71 -71
- package/lib/Select/SelectGroupPropsHelper.d.ts +3 -3
- package/lib/Select/SelectGroupPropsHelper.js +2 -2
- package/lib/Select/StringSelectGroup.d.ts +9 -10
- package/lib/Select/StringSelectGroup.js +29 -29
- package/lib/StandardFormActions.d.ts +11 -11
- package/lib/StandardFormActions.js +20 -31
- package/lib/SubmitFormButton.d.ts +10 -10
- package/lib/SubmitFormButton.js +45 -45
- package/lib/TextArea/TextAreaGroup.d.ts +9 -9
- package/lib/TextArea/TextAreaGroup.js +40 -40
- package/lib/Validation/ValidatedApiResult.d.ts +6 -6
- package/lib/Validation/ValidatedApiResult.js +2 -2
- package/lib/Validation/ValidationError.d.ts +5 -5
- package/lib/Validation/ValidationError.js +2 -2
- package/lib/Validation/ValidationFunction.d.ts +4 -4
- package/lib/Validation/ValidationFunction.js +2 -2
- package/lib/Validation/validators.d.ts +18 -18
- package/lib/Validation/validators.js +90 -90
- package/lib/index.d.ts +73 -73
- package/lib/index.js +117 -117
- package/lib/setupTests.d.ts +1 -1
- package/lib/setupTests.js +3 -3
- package/lib/utils/objectContainsNonSerializableProperty.d.ts +1 -1
- package/lib/utils/objectContainsNonSerializableProperty.js +17 -17
- package/lib/utils/objectToFormData.d.ts +10 -10
- package/lib/utils/objectToFormData.js +79 -79
- package/lib/utils/typeChecks.d.ts +8 -8
- package/lib/utils/typeChecks.js +29 -29
- package/package.json +12 -12
- package/src/AddressInput/__snapshots__/AddressInput.test.tsx.snap +6 -8
- package/src/Select/__tests__/__snapshots__/BooleanSelectGroup.test.tsx.snap +6 -8
- package/src/Select/__tests__/__snapshots__/NumberSelectGroup.test.tsx.snap +12 -16
- package/src/Select/__tests__/__snapshots__/StringSelectGroup.test.tsx.snap +12 -16
- package/src/utils/objectToFormData.test.tsx +1 -1
@@ -95,28 +95,26 @@ exports[`AddressInput has matching snapshot 1`] = `
|
|
95
95
|
class="css-1f43avz-a11yText-A11yText"
|
96
96
|
/>
|
97
97
|
<div
|
98
|
-
class="react-select__control css-
|
98
|
+
class="react-select__control css-13cymwt-control"
|
99
99
|
>
|
100
100
|
<div
|
101
|
-
class="react-select__value-container css-
|
101
|
+
class="react-select__value-container css-16674sh-Component"
|
102
102
|
>
|
103
103
|
<div
|
104
|
-
class="react-select__placeholder css-
|
104
|
+
class="react-select__placeholder css-1jqq78o-placeholder"
|
105
105
|
id="react-select-3-placeholder"
|
106
106
|
>
|
107
107
|
State
|
108
108
|
</div>
|
109
109
|
<div
|
110
|
-
class="react-select__input-container css-
|
110
|
+
class="react-select__input-container css-d9r47t-Component"
|
111
111
|
data-value=""
|
112
112
|
>
|
113
113
|
<input
|
114
114
|
aria-autocomplete="list"
|
115
|
-
aria-controls="react-select-3-listbox"
|
116
115
|
aria-describedby="react-select-3-placeholder"
|
117
116
|
aria-expanded="false"
|
118
117
|
aria-haspopup="true"
|
119
|
-
aria-owns="react-select-3-listbox"
|
120
118
|
autocapitalize="none"
|
121
119
|
autocomplete="off"
|
122
120
|
autocorrect="off"
|
@@ -135,11 +133,11 @@ exports[`AddressInput has matching snapshot 1`] = `
|
|
135
133
|
class="react-select__indicators css-ny0e4k-Component"
|
136
134
|
>
|
137
135
|
<span
|
138
|
-
class="react-select__indicator-separator css-
|
136
|
+
class="react-select__indicator-separator css-1u9des2-indicatorSeparator"
|
139
137
|
/>
|
140
138
|
<div
|
141
139
|
aria-hidden="true"
|
142
|
-
class="react-select__indicator react-select__dropdown-indicator css-
|
140
|
+
class="react-select__indicator react-select__dropdown-indicator css-1xc3v61-indicatorContainer"
|
143
141
|
>
|
144
142
|
<svg
|
145
143
|
aria-hidden="true"
|
@@ -32,28 +32,26 @@ exports[`BooleanSelectGroup has matching snapshot 1`] = `
|
|
32
32
|
class="css-1f43avz-a11yText-A11yText"
|
33
33
|
/>
|
34
34
|
<div
|
35
|
-
class="react-select__control css-
|
35
|
+
class="react-select__control css-13cymwt-control"
|
36
36
|
>
|
37
37
|
<div
|
38
|
-
class="react-select__value-container css-
|
38
|
+
class="react-select__value-container css-16674sh-Component"
|
39
39
|
>
|
40
40
|
<div
|
41
|
-
class="react-select__placeholder css-
|
41
|
+
class="react-select__placeholder css-1jqq78o-placeholder"
|
42
42
|
id="react-select-3-placeholder"
|
43
43
|
>
|
44
44
|
Select...
|
45
45
|
</div>
|
46
46
|
<div
|
47
|
-
class="react-select__input-container css-
|
47
|
+
class="react-select__input-container css-d9r47t-Component"
|
48
48
|
data-value=""
|
49
49
|
>
|
50
50
|
<input
|
51
51
|
aria-autocomplete="list"
|
52
|
-
aria-controls="react-select-3-listbox"
|
53
52
|
aria-describedby="react-select-3-placeholder"
|
54
53
|
aria-expanded="false"
|
55
54
|
aria-haspopup="true"
|
56
|
-
aria-owns="react-select-3-listbox"
|
57
55
|
autocapitalize="none"
|
58
56
|
autocomplete="off"
|
59
57
|
autocorrect="off"
|
@@ -72,11 +70,11 @@ exports[`BooleanSelectGroup has matching snapshot 1`] = `
|
|
72
70
|
class="react-select__indicators css-ny0e4k-Component"
|
73
71
|
>
|
74
72
|
<span
|
75
|
-
class="react-select__indicator-separator css-
|
73
|
+
class="react-select__indicator-separator css-1u9des2-indicatorSeparator"
|
76
74
|
/>
|
77
75
|
<div
|
78
76
|
aria-hidden="true"
|
79
|
-
class="react-select__indicator react-select__dropdown-indicator css-
|
77
|
+
class="react-select__indicator react-select__dropdown-indicator css-1xc3v61-indicatorContainer"
|
80
78
|
>
|
81
79
|
<svg
|
82
80
|
aria-hidden="true"
|
@@ -32,28 +32,26 @@ exports[`MultiNumberSelectGroup has matching snapshot 1`] = `
|
|
32
32
|
class="css-1f43avz-a11yText-A11yText"
|
33
33
|
/>
|
34
34
|
<div
|
35
|
-
class="react-select__control css-
|
35
|
+
class="react-select__control css-13cymwt-control"
|
36
36
|
>
|
37
37
|
<div
|
38
|
-
class="react-select__value-container react-select__value-container--is-multi css-
|
38
|
+
class="react-select__value-container react-select__value-container--is-multi css-16674sh-Component"
|
39
39
|
>
|
40
40
|
<div
|
41
|
-
class="react-select__placeholder css-
|
41
|
+
class="react-select__placeholder css-1jqq78o-placeholder"
|
42
42
|
id="react-select-5-placeholder"
|
43
43
|
>
|
44
44
|
Select...
|
45
45
|
</div>
|
46
46
|
<div
|
47
|
-
class="react-select__input-container css-
|
47
|
+
class="react-select__input-container css-d9r47t-Component"
|
48
48
|
data-value=""
|
49
49
|
>
|
50
50
|
<input
|
51
51
|
aria-autocomplete="list"
|
52
|
-
aria-controls="react-select-5-listbox"
|
53
52
|
aria-describedby="react-select-5-placeholder"
|
54
53
|
aria-expanded="false"
|
55
54
|
aria-haspopup="true"
|
56
|
-
aria-owns="react-select-5-listbox"
|
57
55
|
autocapitalize="none"
|
58
56
|
autocomplete="off"
|
59
57
|
autocorrect="off"
|
@@ -72,11 +70,11 @@ exports[`MultiNumberSelectGroup has matching snapshot 1`] = `
|
|
72
70
|
class="react-select__indicators css-ny0e4k-Component"
|
73
71
|
>
|
74
72
|
<span
|
75
|
-
class="react-select__indicator-separator css-
|
73
|
+
class="react-select__indicator-separator css-1u9des2-indicatorSeparator"
|
76
74
|
/>
|
77
75
|
<div
|
78
76
|
aria-hidden="true"
|
79
|
-
class="react-select__indicator react-select__dropdown-indicator css-
|
77
|
+
class="react-select__indicator react-select__dropdown-indicator css-1xc3v61-indicatorContainer"
|
80
78
|
>
|
81
79
|
<svg
|
82
80
|
aria-hidden="true"
|
@@ -131,28 +129,26 @@ exports[`SingleNumberSelectGroup has matching snapshot 1`] = `
|
|
131
129
|
class="css-1f43avz-a11yText-A11yText"
|
132
130
|
/>
|
133
131
|
<div
|
134
|
-
class="react-select__control css-
|
132
|
+
class="react-select__control css-13cymwt-control"
|
135
133
|
>
|
136
134
|
<div
|
137
|
-
class="react-select__value-container css-
|
135
|
+
class="react-select__value-container css-16674sh-Component"
|
138
136
|
>
|
139
137
|
<div
|
140
|
-
class="react-select__placeholder css-
|
138
|
+
class="react-select__placeholder css-1jqq78o-placeholder"
|
141
139
|
id="react-select-3-placeholder"
|
142
140
|
>
|
143
141
|
Select...
|
144
142
|
</div>
|
145
143
|
<div
|
146
|
-
class="react-select__input-container css-
|
144
|
+
class="react-select__input-container css-d9r47t-Component"
|
147
145
|
data-value=""
|
148
146
|
>
|
149
147
|
<input
|
150
148
|
aria-autocomplete="list"
|
151
|
-
aria-controls="react-select-3-listbox"
|
152
149
|
aria-describedby="react-select-3-placeholder"
|
153
150
|
aria-expanded="false"
|
154
151
|
aria-haspopup="true"
|
155
|
-
aria-owns="react-select-3-listbox"
|
156
152
|
autocapitalize="none"
|
157
153
|
autocomplete="off"
|
158
154
|
autocorrect="off"
|
@@ -171,11 +167,11 @@ exports[`SingleNumberSelectGroup has matching snapshot 1`] = `
|
|
171
167
|
class="react-select__indicators css-ny0e4k-Component"
|
172
168
|
>
|
173
169
|
<span
|
174
|
-
class="react-select__indicator-separator css-
|
170
|
+
class="react-select__indicator-separator css-1u9des2-indicatorSeparator"
|
175
171
|
/>
|
176
172
|
<div
|
177
173
|
aria-hidden="true"
|
178
|
-
class="react-select__indicator react-select__dropdown-indicator css-
|
174
|
+
class="react-select__indicator react-select__dropdown-indicator css-1xc3v61-indicatorContainer"
|
179
175
|
>
|
180
176
|
<svg
|
181
177
|
aria-hidden="true"
|
@@ -32,28 +32,26 @@ exports[`MultiStringSelectGroup has matching snapshot 1`] = `
|
|
32
32
|
class="css-1f43avz-a11yText-A11yText"
|
33
33
|
/>
|
34
34
|
<div
|
35
|
-
class="react-select__control css-
|
35
|
+
class="react-select__control css-13cymwt-control"
|
36
36
|
>
|
37
37
|
<div
|
38
|
-
class="react-select__value-container react-select__value-container--is-multi css-
|
38
|
+
class="react-select__value-container react-select__value-container--is-multi css-16674sh-Component"
|
39
39
|
>
|
40
40
|
<div
|
41
|
-
class="react-select__placeholder css-
|
41
|
+
class="react-select__placeholder css-1jqq78o-placeholder"
|
42
42
|
id="react-select-5-placeholder"
|
43
43
|
>
|
44
44
|
Select...
|
45
45
|
</div>
|
46
46
|
<div
|
47
|
-
class="react-select__input-container css-
|
47
|
+
class="react-select__input-container css-d9r47t-Component"
|
48
48
|
data-value=""
|
49
49
|
>
|
50
50
|
<input
|
51
51
|
aria-autocomplete="list"
|
52
|
-
aria-controls="react-select-5-listbox"
|
53
52
|
aria-describedby="react-select-5-placeholder"
|
54
53
|
aria-expanded="false"
|
55
54
|
aria-haspopup="true"
|
56
|
-
aria-owns="react-select-5-listbox"
|
57
55
|
autocapitalize="none"
|
58
56
|
autocomplete="off"
|
59
57
|
autocorrect="off"
|
@@ -72,11 +70,11 @@ exports[`MultiStringSelectGroup has matching snapshot 1`] = `
|
|
72
70
|
class="react-select__indicators css-ny0e4k-Component"
|
73
71
|
>
|
74
72
|
<span
|
75
|
-
class="react-select__indicator-separator css-
|
73
|
+
class="react-select__indicator-separator css-1u9des2-indicatorSeparator"
|
76
74
|
/>
|
77
75
|
<div
|
78
76
|
aria-hidden="true"
|
79
|
-
class="react-select__indicator react-select__dropdown-indicator css-
|
77
|
+
class="react-select__indicator react-select__dropdown-indicator css-1xc3v61-indicatorContainer"
|
80
78
|
>
|
81
79
|
<svg
|
82
80
|
aria-hidden="true"
|
@@ -131,28 +129,26 @@ exports[`SingleStringSelectGroup has matching snapshot 1`] = `
|
|
131
129
|
class="css-1f43avz-a11yText-A11yText"
|
132
130
|
/>
|
133
131
|
<div
|
134
|
-
class="react-select__control css-
|
132
|
+
class="react-select__control css-13cymwt-control"
|
135
133
|
>
|
136
134
|
<div
|
137
|
-
class="react-select__value-container css-
|
135
|
+
class="react-select__value-container css-16674sh-Component"
|
138
136
|
>
|
139
137
|
<div
|
140
|
-
class="react-select__placeholder css-
|
138
|
+
class="react-select__placeholder css-1jqq78o-placeholder"
|
141
139
|
id="react-select-3-placeholder"
|
142
140
|
>
|
143
141
|
Select...
|
144
142
|
</div>
|
145
143
|
<div
|
146
|
-
class="react-select__input-container css-
|
144
|
+
class="react-select__input-container css-d9r47t-Component"
|
147
145
|
data-value=""
|
148
146
|
>
|
149
147
|
<input
|
150
148
|
aria-autocomplete="list"
|
151
|
-
aria-controls="react-select-3-listbox"
|
152
149
|
aria-describedby="react-select-3-placeholder"
|
153
150
|
aria-expanded="false"
|
154
151
|
aria-haspopup="true"
|
155
|
-
aria-owns="react-select-3-listbox"
|
156
152
|
autocapitalize="none"
|
157
153
|
autocomplete="off"
|
158
154
|
autocorrect="off"
|
@@ -171,11 +167,11 @@ exports[`SingleStringSelectGroup has matching snapshot 1`] = `
|
|
171
167
|
class="react-select__indicators css-ny0e4k-Component"
|
172
168
|
>
|
173
169
|
<span
|
174
|
-
class="react-select__indicator-separator css-
|
170
|
+
class="react-select__indicator-separator css-1u9des2-indicatorSeparator"
|
175
171
|
/>
|
176
172
|
<div
|
177
173
|
aria-hidden="true"
|
178
|
-
class="react-select__indicator react-select__dropdown-indicator css-
|
174
|
+
class="react-select__indicator react-select__dropdown-indicator css-1xc3v61-indicatorContainer"
|
179
175
|
>
|
180
176
|
<svg
|
181
177
|
aria-hidden="true"
|
@@ -10,7 +10,7 @@ const options = {
|
|
10
10
|
const formDataAppend = global.FormData.prototype.append;
|
11
11
|
|
12
12
|
beforeEach(() => {
|
13
|
-
global.FormData.prototype.append = jest.fn(formDataAppend);
|
13
|
+
global.FormData.prototype.append = jest.fn(formDataAppend) as any;
|
14
14
|
});
|
15
15
|
|
16
16
|
describe('Object To Form Data', () => {
|