@itcase/forms 1.0.45 → 1.0.46
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/itcase-forms.cjs.js +81 -39
- package/dist/itcase-forms.esm.js +81 -39
- package/package.json +1 -1
package/dist/itcase-forms.cjs.js
CHANGED
|
@@ -422,13 +422,17 @@ const ChoiceField = /*#__PURE__*/React__default.default.memo(function ChoiceFiel
|
|
|
422
422
|
messageType,
|
|
423
423
|
name,
|
|
424
424
|
options,
|
|
425
|
-
placeholder
|
|
425
|
+
placeholder,
|
|
426
|
+
onChange
|
|
426
427
|
} = props;
|
|
427
428
|
const {
|
|
428
429
|
change
|
|
429
430
|
} = reactFinalForm.useForm();
|
|
430
431
|
const setActiveSegment = React.useCallback((option, isChecked) => {
|
|
431
432
|
change(name, isChecked && option.value);
|
|
433
|
+
if (onChange) {
|
|
434
|
+
onChange(option.value, name, isChecked);
|
|
435
|
+
}
|
|
432
436
|
}, [change]);
|
|
433
437
|
return /*#__PURE__*/React__default.default.createElement(reactFinalForm.Field, {
|
|
434
438
|
name: name,
|
|
@@ -492,7 +496,8 @@ ChoiceField.propTypes = {
|
|
|
492
496
|
value: PropTypes__default.default.string,
|
|
493
497
|
label: PropTypes__default.default.string
|
|
494
498
|
})),
|
|
495
|
-
placeholder: PropTypes__default.default.string
|
|
499
|
+
placeholder: PropTypes__default.default.string,
|
|
500
|
+
onChange: PropTypes__default.default.func
|
|
496
501
|
};
|
|
497
502
|
|
|
498
503
|
const CustomField = /*#__PURE__*/React__default.default.memo(function CustomField(props) {
|
|
@@ -1646,15 +1651,15 @@ function getDefaultValue(options, selectValue) {
|
|
|
1646
1651
|
}
|
|
1647
1652
|
const SelectField = /*#__PURE__*/React__default.default.memo(function SelectField(props) {
|
|
1648
1653
|
const {
|
|
1654
|
+
classNameGroupItem,
|
|
1655
|
+
fieldProps,
|
|
1656
|
+
hideMessage,
|
|
1649
1657
|
isRequired,
|
|
1650
1658
|
name,
|
|
1651
1659
|
options,
|
|
1652
|
-
fieldProps,
|
|
1653
1660
|
selectProps,
|
|
1654
1661
|
selectRef,
|
|
1655
|
-
onChange
|
|
1656
|
-
classNameGroupItem,
|
|
1657
|
-
hideMessage
|
|
1662
|
+
onChange
|
|
1658
1663
|
} = props;
|
|
1659
1664
|
return /*#__PURE__*/React__default.default.createElement(reactFinalForm.Field, {
|
|
1660
1665
|
name: name
|
|
@@ -2052,11 +2057,17 @@ const FinalForm = /*#__PURE__*/React__default.default.forwardRef(function FinalF
|
|
|
2052
2057
|
after,
|
|
2053
2058
|
before,
|
|
2054
2059
|
buttonDirection,
|
|
2060
|
+
buttonFill,
|
|
2055
2061
|
buttonGap,
|
|
2062
|
+
buttonJustifyContent,
|
|
2056
2063
|
buttonPadding,
|
|
2057
|
-
groupGap,
|
|
2058
2064
|
className,
|
|
2059
2065
|
config,
|
|
2066
|
+
dataTour,
|
|
2067
|
+
dataTourButtons,
|
|
2068
|
+
dataTourPrimaryButton,
|
|
2069
|
+
dataTourSecondaryButton,
|
|
2070
|
+
dataTourTertiaryButton,
|
|
2060
2071
|
description,
|
|
2061
2072
|
descriptionSize,
|
|
2062
2073
|
descriptionTextColor,
|
|
@@ -2064,60 +2075,54 @@ const FinalForm = /*#__PURE__*/React__default.default.forwardRef(function FinalF
|
|
|
2064
2075
|
disableFieldsAutoComplete,
|
|
2065
2076
|
fieldsGap,
|
|
2066
2077
|
formName,
|
|
2078
|
+
groupGap,
|
|
2067
2079
|
initialValues,
|
|
2068
2080
|
initialValuesEqual,
|
|
2069
2081
|
isLoading,
|
|
2082
|
+
language,
|
|
2070
2083
|
loader,
|
|
2071
|
-
loaderSet,
|
|
2072
2084
|
loaderFill,
|
|
2073
2085
|
loaderItemFill,
|
|
2086
|
+
loaderSet,
|
|
2074
2087
|
loaderText,
|
|
2075
|
-
language,
|
|
2076
2088
|
mutators,
|
|
2089
|
+
notificationCloseButton,
|
|
2090
|
+
notificationType,
|
|
2077
2091
|
onChangeFormValues,
|
|
2078
2092
|
onClickSecondaryButton,
|
|
2079
2093
|
onClickTertiaryButton,
|
|
2080
2094
|
onSubmit,
|
|
2081
2095
|
primaryButton,
|
|
2082
|
-
primaryButtonLabel,
|
|
2083
|
-
secondaryButton,
|
|
2084
|
-
secondaryButtonLabel,
|
|
2085
2096
|
primaryButtonFill,
|
|
2086
2097
|
primaryButtonFillHover,
|
|
2087
|
-
|
|
2088
|
-
secondaryButtonFillHover,
|
|
2089
|
-
primaryButtonSize,
|
|
2090
|
-
primaryButtonLabelTextColor,
|
|
2098
|
+
primaryButtonLabel,
|
|
2091
2099
|
primaryButtonLabelSize,
|
|
2100
|
+
primaryButtonLabelTextColor,
|
|
2092
2101
|
primaryButtonLabelTextWeight,
|
|
2093
|
-
|
|
2094
|
-
|
|
2102
|
+
primaryButtonSize,
|
|
2103
|
+
secondaryButton,
|
|
2104
|
+
secondaryButtonFill,
|
|
2105
|
+
secondaryButtonFillHover,
|
|
2106
|
+
secondaryButtonLabel,
|
|
2095
2107
|
secondaryButtonLabelSize,
|
|
2108
|
+
secondaryButtonLabelTextColor,
|
|
2096
2109
|
secondaryButtonLabelTextWeight,
|
|
2110
|
+
secondaryButtonSize,
|
|
2111
|
+
set,
|
|
2097
2112
|
tertiaryButton,
|
|
2098
2113
|
tertiaryButtonFill,
|
|
2099
2114
|
tertiaryButtonFillHover,
|
|
2100
|
-
|
|
2101
|
-
tertiaryButtonLabelTextColor,
|
|
2115
|
+
tertiaryButtonLabel,
|
|
2102
2116
|
tertiaryButtonLabelSize,
|
|
2117
|
+
tertiaryButtonLabelTextColor,
|
|
2103
2118
|
tertiaryButtonLabelTextWeight,
|
|
2104
|
-
|
|
2105
|
-
set,
|
|
2106
|
-
type,
|
|
2107
|
-
buttonJustifyContent,
|
|
2119
|
+
tertiaryButtonSize,
|
|
2108
2120
|
title,
|
|
2109
|
-
notificationType,
|
|
2110
|
-
notificationCloseButton,
|
|
2111
|
-
buttonFill,
|
|
2112
|
-
titleTextSize,
|
|
2113
2121
|
titleTextColor,
|
|
2122
|
+
titleTextSize,
|
|
2114
2123
|
titleTextWeight,
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
dataTourButtons,
|
|
2118
|
-
dataTourPrimaryButton,
|
|
2119
|
-
dataTourSecondaryButton,
|
|
2120
|
-
dataTourTertiaryButton
|
|
2124
|
+
type,
|
|
2125
|
+
validationSchema
|
|
2121
2126
|
} = props;
|
|
2122
2127
|
const validate = useYupValidationSchema(validationSchema, language);
|
|
2123
2128
|
const onRefFormInstance = React.useCallback(formInstance => {
|
|
@@ -2261,9 +2266,18 @@ FinalForm.propTypes = {
|
|
|
2261
2266
|
additionalProps: PropTypes__default.default.object,
|
|
2262
2267
|
after: PropTypes__default.default.any,
|
|
2263
2268
|
before: PropTypes__default.default.any,
|
|
2269
|
+
buttonDirection: PropTypes__default.default.string,
|
|
2270
|
+
buttonFill: PropTypes__default.default.string,
|
|
2264
2271
|
buttonGap: PropTypes__default.default.string,
|
|
2272
|
+
buttonJustifyContent: PropTypes__default.default.string,
|
|
2273
|
+
buttonPadding: PropTypes__default.default.string,
|
|
2265
2274
|
className: PropTypes__default.default.string,
|
|
2266
2275
|
config: PropTypes__default.default.object,
|
|
2276
|
+
dataTour: PropTypes__default.default.string,
|
|
2277
|
+
dataTourButtons: PropTypes__default.default.string,
|
|
2278
|
+
dataTourPrimaryButton: PropTypes__default.default.string,
|
|
2279
|
+
dataTourSecondaryButton: PropTypes__default.default.string,
|
|
2280
|
+
dataTourTertiaryButton: PropTypes__default.default.string,
|
|
2267
2281
|
description: PropTypes__default.default.string,
|
|
2268
2282
|
descriptionSize: PropTypes__default.default.string,
|
|
2269
2283
|
descriptionTextColor: PropTypes__default.default.string,
|
|
@@ -2271,27 +2285,55 @@ FinalForm.propTypes = {
|
|
|
2271
2285
|
disableFieldsAutoComplete: PropTypes__default.default.bool,
|
|
2272
2286
|
fieldsGap: PropTypes__default.default.string,
|
|
2273
2287
|
formName: PropTypes__default.default.string,
|
|
2288
|
+
groupGap: PropTypes__default.default.string,
|
|
2274
2289
|
initialValues: PropTypes__default.default.any,
|
|
2275
2290
|
initialValuesEqual: PropTypes__default.default.any,
|
|
2276
|
-
language: PropTypes__default.default.string,
|
|
2277
2291
|
isLoading: PropTypes__default.default.bool,
|
|
2292
|
+
language: PropTypes__default.default.string,
|
|
2293
|
+
loader: PropTypes__default.default.element,
|
|
2294
|
+
loaderFill: PropTypes__default.default.string,
|
|
2295
|
+
loaderItemFill: PropTypes__default.default.string,
|
|
2296
|
+
loaderSet: PropTypes__default.default.string,
|
|
2278
2297
|
loaderText: PropTypes__default.default.string,
|
|
2279
2298
|
mutators: PropTypes__default.default.any,
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
onSubmit: PropTypes__default.default.func,
|
|
2299
|
+
notificationCloseButton: PropTypes__default.default.element,
|
|
2300
|
+
notificationType: PropTypes__default.default.string,
|
|
2283
2301
|
primaryButton: PropTypes__default.default.oneOfType([PropTypes__default.default.string, PropTypes__default.default.element]),
|
|
2284
2302
|
primaryButtonFill: PropTypes__default.default.string,
|
|
2303
|
+
primaryButtonFillHover: PropTypes__default.default.string,
|
|
2285
2304
|
primaryButtonLabel: PropTypes__default.default.string,
|
|
2305
|
+
primaryButtonLabelSize: PropTypes__default.default.string,
|
|
2306
|
+
primaryButtonLabelTextColor: PropTypes__default.default.string,
|
|
2307
|
+
primaryButtonLabelTextWeight: PropTypes__default.default.string,
|
|
2308
|
+
primaryButtonSize: PropTypes__default.default.string,
|
|
2286
2309
|
secondaryButton: PropTypes__default.default.oneOfType([PropTypes__default.default.string, PropTypes__default.default.element]),
|
|
2287
2310
|
secondaryButtonFill: PropTypes__default.default.string,
|
|
2311
|
+
secondaryButtonFillHover: PropTypes__default.default.string,
|
|
2288
2312
|
secondaryButtonLabel: PropTypes__default.default.string,
|
|
2313
|
+
secondaryButtonLabelSize: PropTypes__default.default.string,
|
|
2314
|
+
secondaryButtonLabelTextColor: PropTypes__default.default.string,
|
|
2315
|
+
secondaryButtonLabelTextWeight: PropTypes__default.default.string,
|
|
2316
|
+
secondaryButtonSize: PropTypes__default.default.string,
|
|
2289
2317
|
set: PropTypes__default.default.string,
|
|
2318
|
+
tertiaryButton: PropTypes__default.default.element,
|
|
2319
|
+
tertiaryButtonFill: PropTypes__default.default.string,
|
|
2320
|
+
tertiaryButtonFillHover: PropTypes__default.default.string,
|
|
2321
|
+
tertiaryButtonLabel: PropTypes__default.default.string,
|
|
2322
|
+
tertiaryButtonLabelSize: PropTypes__default.default.string,
|
|
2323
|
+
tertiaryButtonLabelTextColor: PropTypes__default.default.string,
|
|
2324
|
+
tertiaryButtonLabelTextWeight: PropTypes__default.default.string,
|
|
2325
|
+
tertiaryButtonSize: PropTypes__default.default.string,
|
|
2290
2326
|
title: PropTypes__default.default.string,
|
|
2291
2327
|
titleSize: PropTypes__default.default.string,
|
|
2292
2328
|
titleTextColor: PropTypes__default.default.string,
|
|
2329
|
+
titleTextSize: PropTypes__default.default.string,
|
|
2293
2330
|
titleTextWeight: PropTypes__default.default.string,
|
|
2294
|
-
|
|
2331
|
+
type: PropTypes__default.default.string,
|
|
2332
|
+
validationSchema: PropTypes__default.default.object,
|
|
2333
|
+
onChangeFormValues: PropTypes__default.default.func,
|
|
2334
|
+
onClickSecondaryButton: PropTypes__default.default.func,
|
|
2335
|
+
onClickTertiaryButton: PropTypes__default.default.func,
|
|
2336
|
+
onSubmit: PropTypes__default.default.func
|
|
2295
2337
|
};
|
|
2296
2338
|
FinalForm.defaultProps = {
|
|
2297
2339
|
additionalProps: {},
|
package/dist/itcase-forms.esm.js
CHANGED
|
@@ -412,13 +412,17 @@ const ChoiceField = /*#__PURE__*/React.memo(function ChoiceField(props) {
|
|
|
412
412
|
messageType,
|
|
413
413
|
name,
|
|
414
414
|
options,
|
|
415
|
-
placeholder
|
|
415
|
+
placeholder,
|
|
416
|
+
onChange
|
|
416
417
|
} = props;
|
|
417
418
|
const {
|
|
418
419
|
change
|
|
419
420
|
} = useForm();
|
|
420
421
|
const setActiveSegment = useCallback((option, isChecked) => {
|
|
421
422
|
change(name, isChecked && option.value);
|
|
423
|
+
if (onChange) {
|
|
424
|
+
onChange(option.value, name, isChecked);
|
|
425
|
+
}
|
|
422
426
|
}, [change]);
|
|
423
427
|
return /*#__PURE__*/React.createElement(Field, {
|
|
424
428
|
name: name,
|
|
@@ -482,7 +486,8 @@ ChoiceField.propTypes = {
|
|
|
482
486
|
value: PropTypes.string,
|
|
483
487
|
label: PropTypes.string
|
|
484
488
|
})),
|
|
485
|
-
placeholder: PropTypes.string
|
|
489
|
+
placeholder: PropTypes.string,
|
|
490
|
+
onChange: PropTypes.func
|
|
486
491
|
};
|
|
487
492
|
|
|
488
493
|
const CustomField = /*#__PURE__*/React.memo(function CustomField(props) {
|
|
@@ -1636,15 +1641,15 @@ function getDefaultValue(options, selectValue) {
|
|
|
1636
1641
|
}
|
|
1637
1642
|
const SelectField = /*#__PURE__*/React.memo(function SelectField(props) {
|
|
1638
1643
|
const {
|
|
1644
|
+
classNameGroupItem,
|
|
1645
|
+
fieldProps,
|
|
1646
|
+
hideMessage,
|
|
1639
1647
|
isRequired,
|
|
1640
1648
|
name,
|
|
1641
1649
|
options,
|
|
1642
|
-
fieldProps,
|
|
1643
1650
|
selectProps,
|
|
1644
1651
|
selectRef,
|
|
1645
|
-
onChange
|
|
1646
|
-
classNameGroupItem,
|
|
1647
|
-
hideMessage
|
|
1652
|
+
onChange
|
|
1648
1653
|
} = props;
|
|
1649
1654
|
return /*#__PURE__*/React.createElement(Field, {
|
|
1650
1655
|
name: name
|
|
@@ -2042,11 +2047,17 @@ const FinalForm = /*#__PURE__*/React.forwardRef(function FinalForm(props, ref) {
|
|
|
2042
2047
|
after,
|
|
2043
2048
|
before,
|
|
2044
2049
|
buttonDirection,
|
|
2050
|
+
buttonFill,
|
|
2045
2051
|
buttonGap,
|
|
2052
|
+
buttonJustifyContent,
|
|
2046
2053
|
buttonPadding,
|
|
2047
|
-
groupGap,
|
|
2048
2054
|
className,
|
|
2049
2055
|
config,
|
|
2056
|
+
dataTour,
|
|
2057
|
+
dataTourButtons,
|
|
2058
|
+
dataTourPrimaryButton,
|
|
2059
|
+
dataTourSecondaryButton,
|
|
2060
|
+
dataTourTertiaryButton,
|
|
2050
2061
|
description,
|
|
2051
2062
|
descriptionSize,
|
|
2052
2063
|
descriptionTextColor,
|
|
@@ -2054,60 +2065,54 @@ const FinalForm = /*#__PURE__*/React.forwardRef(function FinalForm(props, ref) {
|
|
|
2054
2065
|
disableFieldsAutoComplete,
|
|
2055
2066
|
fieldsGap,
|
|
2056
2067
|
formName,
|
|
2068
|
+
groupGap,
|
|
2057
2069
|
initialValues,
|
|
2058
2070
|
initialValuesEqual,
|
|
2059
2071
|
isLoading,
|
|
2072
|
+
language,
|
|
2060
2073
|
loader,
|
|
2061
|
-
loaderSet,
|
|
2062
2074
|
loaderFill,
|
|
2063
2075
|
loaderItemFill,
|
|
2076
|
+
loaderSet,
|
|
2064
2077
|
loaderText,
|
|
2065
|
-
language,
|
|
2066
2078
|
mutators,
|
|
2079
|
+
notificationCloseButton,
|
|
2080
|
+
notificationType,
|
|
2067
2081
|
onChangeFormValues,
|
|
2068
2082
|
onClickSecondaryButton,
|
|
2069
2083
|
onClickTertiaryButton,
|
|
2070
2084
|
onSubmit,
|
|
2071
2085
|
primaryButton,
|
|
2072
|
-
primaryButtonLabel,
|
|
2073
|
-
secondaryButton,
|
|
2074
|
-
secondaryButtonLabel,
|
|
2075
2086
|
primaryButtonFill,
|
|
2076
2087
|
primaryButtonFillHover,
|
|
2077
|
-
|
|
2078
|
-
secondaryButtonFillHover,
|
|
2079
|
-
primaryButtonSize,
|
|
2080
|
-
primaryButtonLabelTextColor,
|
|
2088
|
+
primaryButtonLabel,
|
|
2081
2089
|
primaryButtonLabelSize,
|
|
2090
|
+
primaryButtonLabelTextColor,
|
|
2082
2091
|
primaryButtonLabelTextWeight,
|
|
2083
|
-
|
|
2084
|
-
|
|
2092
|
+
primaryButtonSize,
|
|
2093
|
+
secondaryButton,
|
|
2094
|
+
secondaryButtonFill,
|
|
2095
|
+
secondaryButtonFillHover,
|
|
2096
|
+
secondaryButtonLabel,
|
|
2085
2097
|
secondaryButtonLabelSize,
|
|
2098
|
+
secondaryButtonLabelTextColor,
|
|
2086
2099
|
secondaryButtonLabelTextWeight,
|
|
2100
|
+
secondaryButtonSize,
|
|
2101
|
+
set,
|
|
2087
2102
|
tertiaryButton,
|
|
2088
2103
|
tertiaryButtonFill,
|
|
2089
2104
|
tertiaryButtonFillHover,
|
|
2090
|
-
|
|
2091
|
-
tertiaryButtonLabelTextColor,
|
|
2105
|
+
tertiaryButtonLabel,
|
|
2092
2106
|
tertiaryButtonLabelSize,
|
|
2107
|
+
tertiaryButtonLabelTextColor,
|
|
2093
2108
|
tertiaryButtonLabelTextWeight,
|
|
2094
|
-
|
|
2095
|
-
set,
|
|
2096
|
-
type,
|
|
2097
|
-
buttonJustifyContent,
|
|
2109
|
+
tertiaryButtonSize,
|
|
2098
2110
|
title,
|
|
2099
|
-
notificationType,
|
|
2100
|
-
notificationCloseButton,
|
|
2101
|
-
buttonFill,
|
|
2102
|
-
titleTextSize,
|
|
2103
2111
|
titleTextColor,
|
|
2112
|
+
titleTextSize,
|
|
2104
2113
|
titleTextWeight,
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
dataTourButtons,
|
|
2108
|
-
dataTourPrimaryButton,
|
|
2109
|
-
dataTourSecondaryButton,
|
|
2110
|
-
dataTourTertiaryButton
|
|
2114
|
+
type,
|
|
2115
|
+
validationSchema
|
|
2111
2116
|
} = props;
|
|
2112
2117
|
const validate = useYupValidationSchema(validationSchema, language);
|
|
2113
2118
|
const onRefFormInstance = useCallback(formInstance => {
|
|
@@ -2251,9 +2256,18 @@ FinalForm.propTypes = {
|
|
|
2251
2256
|
additionalProps: PropTypes.object,
|
|
2252
2257
|
after: PropTypes.any,
|
|
2253
2258
|
before: PropTypes.any,
|
|
2259
|
+
buttonDirection: PropTypes.string,
|
|
2260
|
+
buttonFill: PropTypes.string,
|
|
2254
2261
|
buttonGap: PropTypes.string,
|
|
2262
|
+
buttonJustifyContent: PropTypes.string,
|
|
2263
|
+
buttonPadding: PropTypes.string,
|
|
2255
2264
|
className: PropTypes.string,
|
|
2256
2265
|
config: PropTypes.object,
|
|
2266
|
+
dataTour: PropTypes.string,
|
|
2267
|
+
dataTourButtons: PropTypes.string,
|
|
2268
|
+
dataTourPrimaryButton: PropTypes.string,
|
|
2269
|
+
dataTourSecondaryButton: PropTypes.string,
|
|
2270
|
+
dataTourTertiaryButton: PropTypes.string,
|
|
2257
2271
|
description: PropTypes.string,
|
|
2258
2272
|
descriptionSize: PropTypes.string,
|
|
2259
2273
|
descriptionTextColor: PropTypes.string,
|
|
@@ -2261,27 +2275,55 @@ FinalForm.propTypes = {
|
|
|
2261
2275
|
disableFieldsAutoComplete: PropTypes.bool,
|
|
2262
2276
|
fieldsGap: PropTypes.string,
|
|
2263
2277
|
formName: PropTypes.string,
|
|
2278
|
+
groupGap: PropTypes.string,
|
|
2264
2279
|
initialValues: PropTypes.any,
|
|
2265
2280
|
initialValuesEqual: PropTypes.any,
|
|
2266
|
-
language: PropTypes.string,
|
|
2267
2281
|
isLoading: PropTypes.bool,
|
|
2282
|
+
language: PropTypes.string,
|
|
2283
|
+
loader: PropTypes.element,
|
|
2284
|
+
loaderFill: PropTypes.string,
|
|
2285
|
+
loaderItemFill: PropTypes.string,
|
|
2286
|
+
loaderSet: PropTypes.string,
|
|
2268
2287
|
loaderText: PropTypes.string,
|
|
2269
2288
|
mutators: PropTypes.any,
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
onSubmit: PropTypes.func,
|
|
2289
|
+
notificationCloseButton: PropTypes.element,
|
|
2290
|
+
notificationType: PropTypes.string,
|
|
2273
2291
|
primaryButton: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
2274
2292
|
primaryButtonFill: PropTypes.string,
|
|
2293
|
+
primaryButtonFillHover: PropTypes.string,
|
|
2275
2294
|
primaryButtonLabel: PropTypes.string,
|
|
2295
|
+
primaryButtonLabelSize: PropTypes.string,
|
|
2296
|
+
primaryButtonLabelTextColor: PropTypes.string,
|
|
2297
|
+
primaryButtonLabelTextWeight: PropTypes.string,
|
|
2298
|
+
primaryButtonSize: PropTypes.string,
|
|
2276
2299
|
secondaryButton: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
2277
2300
|
secondaryButtonFill: PropTypes.string,
|
|
2301
|
+
secondaryButtonFillHover: PropTypes.string,
|
|
2278
2302
|
secondaryButtonLabel: PropTypes.string,
|
|
2303
|
+
secondaryButtonLabelSize: PropTypes.string,
|
|
2304
|
+
secondaryButtonLabelTextColor: PropTypes.string,
|
|
2305
|
+
secondaryButtonLabelTextWeight: PropTypes.string,
|
|
2306
|
+
secondaryButtonSize: PropTypes.string,
|
|
2279
2307
|
set: PropTypes.string,
|
|
2308
|
+
tertiaryButton: PropTypes.element,
|
|
2309
|
+
tertiaryButtonFill: PropTypes.string,
|
|
2310
|
+
tertiaryButtonFillHover: PropTypes.string,
|
|
2311
|
+
tertiaryButtonLabel: PropTypes.string,
|
|
2312
|
+
tertiaryButtonLabelSize: PropTypes.string,
|
|
2313
|
+
tertiaryButtonLabelTextColor: PropTypes.string,
|
|
2314
|
+
tertiaryButtonLabelTextWeight: PropTypes.string,
|
|
2315
|
+
tertiaryButtonSize: PropTypes.string,
|
|
2280
2316
|
title: PropTypes.string,
|
|
2281
2317
|
titleSize: PropTypes.string,
|
|
2282
2318
|
titleTextColor: PropTypes.string,
|
|
2319
|
+
titleTextSize: PropTypes.string,
|
|
2283
2320
|
titleTextWeight: PropTypes.string,
|
|
2284
|
-
|
|
2321
|
+
type: PropTypes.string,
|
|
2322
|
+
validationSchema: PropTypes.object,
|
|
2323
|
+
onChangeFormValues: PropTypes.func,
|
|
2324
|
+
onClickSecondaryButton: PropTypes.func,
|
|
2325
|
+
onClickTertiaryButton: PropTypes.func,
|
|
2326
|
+
onSubmit: PropTypes.func
|
|
2285
2327
|
};
|
|
2286
2328
|
FinalForm.defaultProps = {
|
|
2287
2329
|
additionalProps: {},
|