@mmb-digital/design-system-web 0.1.344 → 0.1.346
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +85 -81
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +60 -59
package/dist/index.d.ts
CHANGED
|
@@ -1252,6 +1252,8 @@ declare enum IconProductType {
|
|
|
1252
1252
|
check = "check",
|
|
1253
1253
|
coinsStack = "coinsStack",
|
|
1254
1254
|
creditCard = "creditCard",
|
|
1255
|
+
diceQuestion = "diceQuestion",
|
|
1256
|
+
graphBarIncrease = "graphBarIncrease",
|
|
1255
1257
|
graphIncrease = "graphIncrease",
|
|
1256
1258
|
helpChat = "helpChat",
|
|
1257
1259
|
houseRefresh = "houseRefresh",
|
|
@@ -1261,9 +1263,11 @@ declare enum IconProductType {
|
|
|
1261
1263
|
mobilePhone = "mobilePhone",
|
|
1262
1264
|
moneta = "moneta",
|
|
1263
1265
|
moneyBag = "moneyBag",
|
|
1266
|
+
openUmbrella = "openUmbrella",
|
|
1264
1267
|
passwordLock = "passwordLock",
|
|
1265
1268
|
people = "people",
|
|
1266
1269
|
piggyBank = "piggyBank",
|
|
1270
|
+
propertiesMortgage = "propertiesMortgage",
|
|
1267
1271
|
reward = "reward",
|
|
1268
1272
|
shieldCheck = "shieldCheck",
|
|
1269
1273
|
suitcase = "suitcase",
|
|
@@ -1444,25 +1448,25 @@ declare const DatePickerControl: react.ForwardRefExoticComponent<DatePickerContr
|
|
|
1444
1448
|
declare const DatePicker: react.ForwardRefExoticComponent<DatePickerControlProps & {
|
|
1445
1449
|
label?: react.ReactNode;
|
|
1446
1450
|
name?: string | undefined;
|
|
1447
|
-
colorScheme?: ColorScheme | undefined;
|
|
1448
1451
|
invalid?: boolean | undefined;
|
|
1449
|
-
|
|
1450
|
-
labelAs?: react.ElementType | undefined;
|
|
1451
|
-
labelHiddenText?: string | undefined;
|
|
1452
|
-
labelId?: string | undefined;
|
|
1453
|
-
labelSuffix?: react.ReactNode;
|
|
1454
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1452
|
+
colorScheme?: ColorScheme | undefined;
|
|
1455
1453
|
mediaType?: MediaType | undefined;
|
|
1456
1454
|
addons?: FieldAddon[] | undefined;
|
|
1457
1455
|
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
1458
1456
|
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
1459
1457
|
controlWidth?: csstype.Property.Width | undefined;
|
|
1458
|
+
errorMessage?: react.ReactNode;
|
|
1460
1459
|
hiddenHintText?: react.ReactNode;
|
|
1461
1460
|
hintText?: react.ReactNode;
|
|
1462
1461
|
layout?: FieldWrapperLayout | undefined;
|
|
1463
1462
|
note?: react.ReactNode;
|
|
1464
1463
|
optionality?: FieldOptionality | undefined;
|
|
1465
1464
|
successMessage?: react.ReactNode;
|
|
1465
|
+
labelAs?: react.ElementType | undefined;
|
|
1466
|
+
labelHiddenText?: string | undefined;
|
|
1467
|
+
labelId?: string | undefined;
|
|
1468
|
+
labelSuffix?: react.ReactNode;
|
|
1469
|
+
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1466
1470
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
1467
1471
|
type DatePickerProps = ComponentProps<typeof DatePicker>;
|
|
1468
1472
|
|
|
@@ -1479,25 +1483,25 @@ interface EmailInputControlProps extends InputProps {
|
|
|
1479
1483
|
declare const EmailInput: react.ForwardRefExoticComponent<EmailInputControlProps & {
|
|
1480
1484
|
label?: react.ReactNode;
|
|
1481
1485
|
name?: string | undefined;
|
|
1482
|
-
colorScheme?: ColorScheme | undefined;
|
|
1483
1486
|
invalid?: boolean | undefined;
|
|
1484
|
-
|
|
1485
|
-
labelAs?: react.ElementType | undefined;
|
|
1486
|
-
labelHiddenText?: string | undefined;
|
|
1487
|
-
labelId?: string | undefined;
|
|
1488
|
-
labelSuffix?: react.ReactNode;
|
|
1489
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1487
|
+
colorScheme?: ColorScheme | undefined;
|
|
1490
1488
|
mediaType?: MediaType | undefined;
|
|
1491
1489
|
addons?: FieldAddon[] | undefined;
|
|
1492
1490
|
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
1493
1491
|
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
1494
1492
|
controlWidth?: csstype.Property.Width | undefined;
|
|
1493
|
+
errorMessage?: react.ReactNode;
|
|
1495
1494
|
hiddenHintText?: react.ReactNode;
|
|
1496
1495
|
hintText?: react.ReactNode;
|
|
1497
1496
|
layout?: FieldWrapperLayout | undefined;
|
|
1498
1497
|
note?: react.ReactNode;
|
|
1499
1498
|
optionality?: FieldOptionality | undefined;
|
|
1500
1499
|
successMessage?: react.ReactNode;
|
|
1500
|
+
labelAs?: react.ElementType | undefined;
|
|
1501
|
+
labelHiddenText?: string | undefined;
|
|
1502
|
+
labelId?: string | undefined;
|
|
1503
|
+
labelSuffix?: react.ReactNode;
|
|
1504
|
+
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1501
1505
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
1502
1506
|
type EmailInputProps = ComponentProps<typeof EmailInput>;
|
|
1503
1507
|
|
|
@@ -1581,25 +1585,25 @@ declare const FileInputControl: react.ForwardRefExoticComponent<FileInputControl
|
|
|
1581
1585
|
declare const FileInput: react.ForwardRefExoticComponent<Omit<FileInputControlProps & {
|
|
1582
1586
|
label?: react.ReactNode;
|
|
1583
1587
|
name?: string | undefined;
|
|
1584
|
-
colorScheme?: ColorScheme | undefined;
|
|
1585
1588
|
invalid?: boolean | undefined;
|
|
1586
|
-
|
|
1587
|
-
labelAs?: react.ElementType | undefined;
|
|
1588
|
-
labelHiddenText?: string | undefined;
|
|
1589
|
-
labelId?: string | undefined;
|
|
1590
|
-
labelSuffix?: react.ReactNode;
|
|
1591
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1589
|
+
colorScheme?: ColorScheme | undefined;
|
|
1592
1590
|
mediaType?: MediaType | undefined;
|
|
1593
1591
|
addons?: FieldAddon[] | undefined;
|
|
1594
1592
|
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
1595
1593
|
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
1596
1594
|
controlWidth?: csstype.Property.Width | undefined;
|
|
1595
|
+
errorMessage?: react.ReactNode;
|
|
1597
1596
|
hiddenHintText?: react.ReactNode;
|
|
1598
1597
|
hintText?: react.ReactNode;
|
|
1599
1598
|
layout?: FieldWrapperLayout | undefined;
|
|
1600
1599
|
note?: react.ReactNode;
|
|
1601
1600
|
optionality?: FieldOptionality | undefined;
|
|
1602
1601
|
successMessage?: react.ReactNode;
|
|
1602
|
+
labelAs?: react.ElementType | undefined;
|
|
1603
|
+
labelHiddenText?: string | undefined;
|
|
1604
|
+
labelId?: string | undefined;
|
|
1605
|
+
labelSuffix?: react.ReactNode;
|
|
1606
|
+
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1603
1607
|
} & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1604
1608
|
type FileInputProps = ComponentProps<typeof FileInput>;
|
|
1605
1609
|
|
|
@@ -1850,25 +1854,25 @@ declare const MaskedInputBase: react.ForwardRefExoticComponent<Omit<MaskedInputB
|
|
|
1850
1854
|
declare const MaskedInput: react.ForwardRefExoticComponent<Omit<MaskedInputBaseProps & {
|
|
1851
1855
|
label?: react.ReactNode;
|
|
1852
1856
|
name?: string | undefined;
|
|
1853
|
-
colorScheme?: ColorScheme | undefined;
|
|
1854
1857
|
invalid?: boolean | undefined;
|
|
1855
|
-
|
|
1856
|
-
labelAs?: react.ElementType | undefined;
|
|
1857
|
-
labelHiddenText?: string | undefined;
|
|
1858
|
-
labelId?: string | undefined;
|
|
1859
|
-
labelSuffix?: react.ReactNode;
|
|
1860
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1858
|
+
colorScheme?: ColorScheme | undefined;
|
|
1861
1859
|
mediaType?: MediaType | undefined;
|
|
1862
1860
|
addons?: FieldAddon[] | undefined;
|
|
1863
1861
|
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
1864
1862
|
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
1865
1863
|
controlWidth?: csstype.Property.Width | undefined;
|
|
1864
|
+
errorMessage?: react.ReactNode;
|
|
1866
1865
|
hiddenHintText?: react.ReactNode;
|
|
1867
1866
|
hintText?: react.ReactNode;
|
|
1868
1867
|
layout?: FieldWrapperLayout | undefined;
|
|
1869
1868
|
note?: react.ReactNode;
|
|
1870
1869
|
optionality?: FieldOptionality | undefined;
|
|
1871
1870
|
successMessage?: react.ReactNode;
|
|
1871
|
+
labelAs?: react.ElementType | undefined;
|
|
1872
|
+
labelHiddenText?: string | undefined;
|
|
1873
|
+
labelId?: string | undefined;
|
|
1874
|
+
labelSuffix?: react.ReactNode;
|
|
1875
|
+
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1872
1876
|
}, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
1873
1877
|
type MaskedInputProps = ComponentProps<typeof MaskedInput>;
|
|
1874
1878
|
|
|
@@ -1880,25 +1884,25 @@ declare const withMaskedInputField: <TProps extends ManagedMaskedInputProps>(Com
|
|
|
1880
1884
|
declare const MaskedInputField: <TFieldValues extends FieldValues>(props: Omit<MaskedInputBaseProps & {
|
|
1881
1885
|
label?: react.ReactNode;
|
|
1882
1886
|
name?: string | undefined;
|
|
1883
|
-
colorScheme?: ColorScheme | undefined;
|
|
1884
1887
|
invalid?: boolean | undefined;
|
|
1885
|
-
|
|
1886
|
-
labelAs?: react.ElementType | undefined;
|
|
1887
|
-
labelHiddenText?: string | undefined;
|
|
1888
|
-
labelId?: string | undefined;
|
|
1889
|
-
labelSuffix?: react.ReactNode;
|
|
1890
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1888
|
+
colorScheme?: ColorScheme | undefined;
|
|
1891
1889
|
mediaType?: MediaType | undefined;
|
|
1892
1890
|
addons?: FieldAddon[] | undefined;
|
|
1893
1891
|
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
1894
1892
|
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
1895
1893
|
controlWidth?: csstype.Property.Width | undefined;
|
|
1894
|
+
errorMessage?: react.ReactNode;
|
|
1896
1895
|
hiddenHintText?: react.ReactNode;
|
|
1897
1896
|
hintText?: react.ReactNode;
|
|
1898
1897
|
layout?: FieldWrapperLayout | undefined;
|
|
1899
1898
|
note?: react.ReactNode;
|
|
1900
1899
|
optionality?: FieldOptionality | undefined;
|
|
1901
1900
|
successMessage?: react.ReactNode;
|
|
1901
|
+
labelAs?: react.ElementType | undefined;
|
|
1902
|
+
labelHiddenText?: string | undefined;
|
|
1903
|
+
labelId?: string | undefined;
|
|
1904
|
+
labelSuffix?: react.ReactNode;
|
|
1905
|
+
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1902
1906
|
}, "ref"> & react.RefAttributes<HTMLInputElement> & {
|
|
1903
1907
|
name: react_hook_form.Path<TFieldValues>;
|
|
1904
1908
|
options?: RegisterOptions<TFieldValues> | undefined;
|
|
@@ -2085,25 +2089,25 @@ declare const RadioButtonGroupControl: react.ForwardRefExoticComponent<RadioButt
|
|
|
2085
2089
|
declare const RadioButtonGroup: react.ForwardRefExoticComponent<Omit<RadioButtonGroupControlProps & {
|
|
2086
2090
|
label?: react.ReactNode;
|
|
2087
2091
|
name?: string | undefined;
|
|
2088
|
-
colorScheme?: ColorScheme | undefined;
|
|
2089
2092
|
invalid?: boolean | undefined;
|
|
2090
|
-
|
|
2091
|
-
labelAs?: react.ElementType | undefined;
|
|
2092
|
-
labelHiddenText?: string | undefined;
|
|
2093
|
-
labelId?: string | undefined;
|
|
2094
|
-
labelSuffix?: react.ReactNode;
|
|
2095
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2093
|
+
colorScheme?: ColorScheme | undefined;
|
|
2096
2094
|
mediaType?: MediaType | undefined;
|
|
2097
2095
|
addons?: FieldAddon[] | undefined;
|
|
2098
2096
|
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
2099
2097
|
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
2100
2098
|
controlWidth?: csstype.Property.Width | undefined;
|
|
2099
|
+
errorMessage?: react.ReactNode;
|
|
2101
2100
|
hiddenHintText?: react.ReactNode;
|
|
2102
2101
|
hintText?: react.ReactNode;
|
|
2103
2102
|
layout?: FieldWrapperLayout | undefined;
|
|
2104
2103
|
note?: react.ReactNode;
|
|
2105
2104
|
optionality?: FieldOptionality | undefined;
|
|
2106
2105
|
successMessage?: react.ReactNode;
|
|
2106
|
+
labelAs?: react.ElementType | undefined;
|
|
2107
|
+
labelHiddenText?: string | undefined;
|
|
2108
|
+
labelId?: string | undefined;
|
|
2109
|
+
labelSuffix?: react.ReactNode;
|
|
2110
|
+
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2107
2111
|
} & react.RefAttributes<HTMLInputElement>, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
2108
2112
|
type RadioButtonGroupProps = ComponentProps<typeof RadioButtonGroup>;
|
|
2109
2113
|
|
|
@@ -2161,25 +2165,25 @@ declare const RadioGroupControl: react.ForwardRefExoticComponent<RadioGroupContr
|
|
|
2161
2165
|
declare const RadioGroup: react.ForwardRefExoticComponent<Omit<RadioGroupControlProps & {
|
|
2162
2166
|
label?: react.ReactNode;
|
|
2163
2167
|
name?: string | undefined;
|
|
2164
|
-
colorScheme?: ColorScheme | undefined;
|
|
2165
2168
|
invalid?: boolean | undefined;
|
|
2166
|
-
|
|
2167
|
-
labelAs?: react.ElementType | undefined;
|
|
2168
|
-
labelHiddenText?: string | undefined;
|
|
2169
|
-
labelId?: string | undefined;
|
|
2170
|
-
labelSuffix?: react.ReactNode;
|
|
2171
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2169
|
+
colorScheme?: ColorScheme | undefined;
|
|
2172
2170
|
mediaType?: MediaType | undefined;
|
|
2173
2171
|
addons?: FieldAddon[] | undefined;
|
|
2174
2172
|
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
2175
2173
|
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
2176
2174
|
controlWidth?: csstype.Property.Width | undefined;
|
|
2175
|
+
errorMessage?: react.ReactNode;
|
|
2177
2176
|
hiddenHintText?: react.ReactNode;
|
|
2178
2177
|
hintText?: react.ReactNode;
|
|
2179
2178
|
layout?: FieldWrapperLayout | undefined;
|
|
2180
2179
|
note?: react.ReactNode;
|
|
2181
2180
|
optionality?: FieldOptionality | undefined;
|
|
2182
2181
|
successMessage?: react.ReactNode;
|
|
2182
|
+
labelAs?: react.ElementType | undefined;
|
|
2183
|
+
labelHiddenText?: string | undefined;
|
|
2184
|
+
labelId?: string | undefined;
|
|
2185
|
+
labelSuffix?: react.ReactNode;
|
|
2186
|
+
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2183
2187
|
} & react.RefAttributes<HTMLInputElement>, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
2184
2188
|
type RadioGroupProps = ComponentProps<typeof RadioGroup>;
|
|
2185
2189
|
|
|
@@ -2198,25 +2202,25 @@ interface SearchInputControlProps extends InputProps {
|
|
|
2198
2202
|
declare const SearchInput: react.ForwardRefExoticComponent<SearchInputControlProps & {
|
|
2199
2203
|
label?: ReactNode;
|
|
2200
2204
|
name?: string | undefined;
|
|
2201
|
-
colorScheme?: ColorScheme | undefined;
|
|
2202
2205
|
invalid?: boolean | undefined;
|
|
2203
|
-
|
|
2204
|
-
labelAs?: react.ElementType | undefined;
|
|
2205
|
-
labelHiddenText?: string | undefined;
|
|
2206
|
-
labelId?: string | undefined;
|
|
2207
|
-
labelSuffix?: ReactNode;
|
|
2208
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2206
|
+
colorScheme?: ColorScheme | undefined;
|
|
2209
2207
|
mediaType?: MediaType | undefined;
|
|
2210
2208
|
addons?: FieldAddon[] | undefined;
|
|
2211
2209
|
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
2212
2210
|
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
2213
2211
|
controlWidth?: csstype.Property.Width | undefined;
|
|
2212
|
+
errorMessage?: ReactNode;
|
|
2214
2213
|
hiddenHintText?: ReactNode;
|
|
2215
2214
|
hintText?: ReactNode;
|
|
2216
2215
|
layout?: FieldWrapperLayout | undefined;
|
|
2217
2216
|
note?: ReactNode;
|
|
2218
2217
|
optionality?: FieldOptionality | undefined;
|
|
2219
2218
|
successMessage?: ReactNode;
|
|
2219
|
+
labelAs?: react.ElementType | undefined;
|
|
2220
|
+
labelHiddenText?: string | undefined;
|
|
2221
|
+
labelId?: string | undefined;
|
|
2222
|
+
labelSuffix?: ReactNode;
|
|
2223
|
+
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2220
2224
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
2221
2225
|
type SearchInputProps = ComponentProps<typeof SearchInput>;
|
|
2222
2226
|
|
|
@@ -2647,25 +2651,25 @@ interface TextAreaControlProps extends TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
2647
2651
|
declare const TextArea: react.ForwardRefExoticComponent<TextAreaControlProps & {
|
|
2648
2652
|
label?: react.ReactNode;
|
|
2649
2653
|
name?: string | undefined;
|
|
2650
|
-
colorScheme?: ColorScheme | undefined;
|
|
2651
2654
|
invalid?: boolean | undefined;
|
|
2652
|
-
|
|
2653
|
-
labelAs?: react.ElementType | undefined;
|
|
2654
|
-
labelHiddenText?: string | undefined;
|
|
2655
|
-
labelId?: string | undefined;
|
|
2656
|
-
labelSuffix?: react.ReactNode;
|
|
2657
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2655
|
+
colorScheme?: ColorScheme | undefined;
|
|
2658
2656
|
mediaType?: MediaType | undefined;
|
|
2659
2657
|
addons?: FieldAddon[] | undefined;
|
|
2660
2658
|
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
2661
2659
|
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
2662
2660
|
controlWidth?: csstype.Property.Width | undefined;
|
|
2661
|
+
errorMessage?: react.ReactNode;
|
|
2663
2662
|
hiddenHintText?: react.ReactNode;
|
|
2664
2663
|
hintText?: react.ReactNode;
|
|
2665
2664
|
layout?: FieldWrapperLayout | undefined;
|
|
2666
2665
|
note?: react.ReactNode;
|
|
2667
2666
|
optionality?: FieldOptionality | undefined;
|
|
2668
2667
|
successMessage?: react.ReactNode;
|
|
2668
|
+
labelAs?: react.ElementType | undefined;
|
|
2669
|
+
labelHiddenText?: string | undefined;
|
|
2670
|
+
labelId?: string | undefined;
|
|
2671
|
+
labelSuffix?: react.ReactNode;
|
|
2672
|
+
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2669
2673
|
} & react.RefAttributes<HTMLTextAreaElement>>;
|
|
2670
2674
|
type TextAreaProps = ComponentProps<typeof TextArea>;
|
|
2671
2675
|
|
|
@@ -2682,25 +2686,25 @@ interface TextInputControlProps extends InputProps {
|
|
|
2682
2686
|
declare const TextInput: react.ForwardRefExoticComponent<TextInputControlProps & {
|
|
2683
2687
|
label?: react.ReactNode;
|
|
2684
2688
|
name?: string | undefined;
|
|
2685
|
-
colorScheme?: ColorScheme | undefined;
|
|
2686
2689
|
invalid?: boolean | undefined;
|
|
2687
|
-
|
|
2688
|
-
labelAs?: react.ElementType | undefined;
|
|
2689
|
-
labelHiddenText?: string | undefined;
|
|
2690
|
-
labelId?: string | undefined;
|
|
2691
|
-
labelSuffix?: react.ReactNode;
|
|
2692
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2690
|
+
colorScheme?: ColorScheme | undefined;
|
|
2693
2691
|
mediaType?: MediaType | undefined;
|
|
2694
2692
|
addons?: FieldAddon[] | undefined;
|
|
2695
2693
|
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
2696
2694
|
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
2697
2695
|
controlWidth?: csstype.Property.Width | undefined;
|
|
2696
|
+
errorMessage?: react.ReactNode;
|
|
2698
2697
|
hiddenHintText?: react.ReactNode;
|
|
2699
2698
|
hintText?: react.ReactNode;
|
|
2700
2699
|
layout?: FieldWrapperLayout | undefined;
|
|
2701
2700
|
note?: react.ReactNode;
|
|
2702
2701
|
optionality?: FieldOptionality | undefined;
|
|
2703
2702
|
successMessage?: react.ReactNode;
|
|
2703
|
+
labelAs?: react.ElementType | undefined;
|
|
2704
|
+
labelHiddenText?: string | undefined;
|
|
2705
|
+
labelId?: string | undefined;
|
|
2706
|
+
labelSuffix?: react.ReactNode;
|
|
2707
|
+
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2704
2708
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
2705
2709
|
type TextInputProps = ComponentProps<typeof TextInput>;
|
|
2706
2710
|
|
|
@@ -2729,25 +2733,25 @@ interface TrailingTextInputControlProps extends InputProps {
|
|
|
2729
2733
|
declare const TrailingTextInput: react.ForwardRefExoticComponent<TrailingTextInputControlProps & {
|
|
2730
2734
|
label?: ReactNode;
|
|
2731
2735
|
name?: string | undefined;
|
|
2732
|
-
colorScheme?: ColorScheme | undefined;
|
|
2733
2736
|
invalid?: boolean | undefined;
|
|
2734
|
-
|
|
2735
|
-
labelAs?: react.ElementType | undefined;
|
|
2736
|
-
labelHiddenText?: string | undefined;
|
|
2737
|
-
labelId?: string | undefined;
|
|
2738
|
-
labelSuffix?: ReactNode;
|
|
2739
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2737
|
+
colorScheme?: ColorScheme | undefined;
|
|
2740
2738
|
mediaType?: MediaType | undefined;
|
|
2741
2739
|
addons?: FieldAddon[] | undefined;
|
|
2742
2740
|
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
2743
2741
|
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
2744
2742
|
controlWidth?: csstype.Property.Width | undefined;
|
|
2743
|
+
errorMessage?: ReactNode;
|
|
2745
2744
|
hiddenHintText?: ReactNode;
|
|
2746
2745
|
hintText?: ReactNode;
|
|
2747
2746
|
layout?: FieldWrapperLayout | undefined;
|
|
2748
2747
|
note?: ReactNode;
|
|
2749
2748
|
optionality?: FieldOptionality | undefined;
|
|
2750
2749
|
successMessage?: ReactNode;
|
|
2750
|
+
labelAs?: react.ElementType | undefined;
|
|
2751
|
+
labelHiddenText?: string | undefined;
|
|
2752
|
+
labelId?: string | undefined;
|
|
2753
|
+
labelSuffix?: ReactNode;
|
|
2754
|
+
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2751
2755
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
2752
2756
|
type TrailingTextInputProps = ComponentProps<typeof TrailingTextInput>;
|
|
2753
2757
|
|
|
@@ -2835,11 +2839,11 @@ type UseFormReturn<TFieldValues extends FieldValues, TSubmitValues extends Field
|
|
|
2835
2839
|
*/
|
|
2836
2840
|
declare const useForm: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>(props?: UseFormProps<TFieldValues>) => UseFormReturn<TFieldValues, TSubmitValues>;
|
|
2837
2841
|
|
|
2838
|
-
interface FormProviderProps<TFieldValues extends FieldValues> {
|
|
2842
|
+
interface FormProviderProps<TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined> {
|
|
2839
2843
|
children: ReactNode;
|
|
2840
|
-
form: UseFormReturn<TFieldValues>;
|
|
2844
|
+
form: UseFormReturn<TFieldValues, TSubmitValues>;
|
|
2841
2845
|
}
|
|
2842
|
-
declare const FormProvider: <TFieldValues extends FieldValues>(props: FormProviderProps<TFieldValues>) => react_jsx_runtime.JSX.Element;
|
|
2846
|
+
declare const FormProvider: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>(props: FormProviderProps<TFieldValues, TSubmitValues>) => react_jsx_runtime.JSX.Element;
|
|
2843
2847
|
|
|
2844
2848
|
declare const FormConfigContext: react.Context<FormConfig>;
|
|
2845
2849
|
|
|
@@ -2852,7 +2856,7 @@ declare class ReCaptchaError extends Error {
|
|
|
2852
2856
|
constructor(type: ReCaptchaErrorType);
|
|
2853
2857
|
}
|
|
2854
2858
|
|
|
2855
|
-
declare const useFormContext: <TFieldValues extends FieldValues>() => UseFormReturn<TFieldValues>;
|
|
2859
|
+
declare const useFormContext: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>() => UseFormReturn<TFieldValues, TSubmitValues>;
|
|
2856
2860
|
|
|
2857
2861
|
declare const identityFormatter: afformative.Formatter<any, any, any, {
|
|
2858
2862
|
[x: string]: any;
|