@mmb-digital/design-system-web 0.1.341 → 0.1.342-alpha.0
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.js +1 -53
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +14 -14
- package/dist/index.esm.js +1 -53
- package/dist/index.esm.js.map +1 -1
- package/package.json +21 -28
package/dist/index.d.ts
CHANGED
|
@@ -544,7 +544,7 @@ declare enum Spacing {
|
|
|
544
544
|
xxxxl = "xxxxl",
|
|
545
545
|
xxxxxl = "xxxxxl"
|
|
546
546
|
}
|
|
547
|
-
declare const resolveSpacingValue: (theme: Theme$1, spacing: Spacing) => "
|
|
547
|
+
declare const resolveSpacingValue: (theme: Theme$1, spacing: Spacing) => "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "48px" | "56px" | "64px" | "0";
|
|
548
548
|
|
|
549
549
|
declare enum WhiteSpace {
|
|
550
550
|
inherit = "inherit",
|
|
@@ -1127,7 +1127,7 @@ declare enum BorderRadius {
|
|
|
1127
1127
|
xl = "xl",
|
|
1128
1128
|
full = "full"
|
|
1129
1129
|
}
|
|
1130
|
-
declare const resolveBorderRadiusValue: (theme: Theme$1, borderRadius: BorderRadius) => "
|
|
1130
|
+
declare const resolveBorderRadiusValue: (theme: Theme$1, borderRadius: BorderRadius) => "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "9999px" | "0";
|
|
1131
1131
|
|
|
1132
1132
|
declare enum FlexWrap {
|
|
1133
1133
|
noWrap = "noWrap",
|
|
@@ -1444,9 +1444,9 @@ declare const DatePickerControl: react.ForwardRefExoticComponent<DatePickerContr
|
|
|
1444
1444
|
declare const DatePicker: react.ForwardRefExoticComponent<DatePickerControlProps & {
|
|
1445
1445
|
label?: react.ReactNode;
|
|
1446
1446
|
name?: string | undefined;
|
|
1447
|
-
errorMessage?: react.ReactNode;
|
|
1448
1447
|
colorScheme?: ColorScheme | undefined;
|
|
1449
1448
|
invalid?: boolean | undefined;
|
|
1449
|
+
errorMessage?: react.ReactNode;
|
|
1450
1450
|
labelAs?: react.ElementType | undefined;
|
|
1451
1451
|
labelHiddenText?: string | undefined;
|
|
1452
1452
|
labelId?: string | undefined;
|
|
@@ -1479,9 +1479,9 @@ interface EmailInputControlProps extends InputProps {
|
|
|
1479
1479
|
declare const EmailInput: react.ForwardRefExoticComponent<EmailInputControlProps & {
|
|
1480
1480
|
label?: react.ReactNode;
|
|
1481
1481
|
name?: string | undefined;
|
|
1482
|
-
errorMessage?: react.ReactNode;
|
|
1483
1482
|
colorScheme?: ColorScheme | undefined;
|
|
1484
1483
|
invalid?: boolean | undefined;
|
|
1484
|
+
errorMessage?: react.ReactNode;
|
|
1485
1485
|
labelAs?: react.ElementType | undefined;
|
|
1486
1486
|
labelHiddenText?: string | undefined;
|
|
1487
1487
|
labelId?: string | undefined;
|
|
@@ -1581,9 +1581,9 @@ declare const FileInputControl: react.ForwardRefExoticComponent<FileInputControl
|
|
|
1581
1581
|
declare const FileInput: react.ForwardRefExoticComponent<Omit<FileInputControlProps & {
|
|
1582
1582
|
label?: react.ReactNode;
|
|
1583
1583
|
name?: string | undefined;
|
|
1584
|
-
errorMessage?: react.ReactNode;
|
|
1585
1584
|
colorScheme?: ColorScheme | undefined;
|
|
1586
1585
|
invalid?: boolean | undefined;
|
|
1586
|
+
errorMessage?: react.ReactNode;
|
|
1587
1587
|
labelAs?: react.ElementType | undefined;
|
|
1588
1588
|
labelHiddenText?: string | undefined;
|
|
1589
1589
|
labelId?: string | undefined;
|
|
@@ -1850,9 +1850,9 @@ declare const MaskedInputBase: react.ForwardRefExoticComponent<Omit<MaskedInputB
|
|
|
1850
1850
|
declare const MaskedInput: react.ForwardRefExoticComponent<Omit<MaskedInputBaseProps & {
|
|
1851
1851
|
label?: react.ReactNode;
|
|
1852
1852
|
name?: string | undefined;
|
|
1853
|
-
errorMessage?: react.ReactNode;
|
|
1854
1853
|
colorScheme?: ColorScheme | undefined;
|
|
1855
1854
|
invalid?: boolean | undefined;
|
|
1855
|
+
errorMessage?: react.ReactNode;
|
|
1856
1856
|
labelAs?: react.ElementType | undefined;
|
|
1857
1857
|
labelHiddenText?: string | undefined;
|
|
1858
1858
|
labelId?: string | undefined;
|
|
@@ -1880,9 +1880,9 @@ declare const withMaskedInputField: <TProps extends ManagedMaskedInputProps>(Com
|
|
|
1880
1880
|
declare const MaskedInputField: <TFieldValues extends FieldValues>(props: Omit<MaskedInputBaseProps & {
|
|
1881
1881
|
label?: react.ReactNode;
|
|
1882
1882
|
name?: string | undefined;
|
|
1883
|
-
errorMessage?: react.ReactNode;
|
|
1884
1883
|
colorScheme?: ColorScheme | undefined;
|
|
1885
1884
|
invalid?: boolean | undefined;
|
|
1885
|
+
errorMessage?: react.ReactNode;
|
|
1886
1886
|
labelAs?: react.ElementType | undefined;
|
|
1887
1887
|
labelHiddenText?: string | undefined;
|
|
1888
1888
|
labelId?: string | undefined;
|
|
@@ -2085,9 +2085,9 @@ declare const RadioButtonGroupControl: react.ForwardRefExoticComponent<RadioButt
|
|
|
2085
2085
|
declare const RadioButtonGroup: react.ForwardRefExoticComponent<Omit<RadioButtonGroupControlProps & {
|
|
2086
2086
|
label?: react.ReactNode;
|
|
2087
2087
|
name?: string | undefined;
|
|
2088
|
-
errorMessage?: react.ReactNode;
|
|
2089
2088
|
colorScheme?: ColorScheme | undefined;
|
|
2090
2089
|
invalid?: boolean | undefined;
|
|
2090
|
+
errorMessage?: react.ReactNode;
|
|
2091
2091
|
labelAs?: react.ElementType | undefined;
|
|
2092
2092
|
labelHiddenText?: string | undefined;
|
|
2093
2093
|
labelId?: string | undefined;
|
|
@@ -2161,9 +2161,9 @@ declare const RadioGroupControl: react.ForwardRefExoticComponent<RadioGroupContr
|
|
|
2161
2161
|
declare const RadioGroup: react.ForwardRefExoticComponent<Omit<RadioGroupControlProps & {
|
|
2162
2162
|
label?: react.ReactNode;
|
|
2163
2163
|
name?: string | undefined;
|
|
2164
|
-
errorMessage?: react.ReactNode;
|
|
2165
2164
|
colorScheme?: ColorScheme | undefined;
|
|
2166
2165
|
invalid?: boolean | undefined;
|
|
2166
|
+
errorMessage?: react.ReactNode;
|
|
2167
2167
|
labelAs?: react.ElementType | undefined;
|
|
2168
2168
|
labelHiddenText?: string | undefined;
|
|
2169
2169
|
labelId?: string | undefined;
|
|
@@ -2198,9 +2198,9 @@ interface SearchInputControlProps extends InputProps {
|
|
|
2198
2198
|
declare const SearchInput: react.ForwardRefExoticComponent<SearchInputControlProps & {
|
|
2199
2199
|
label?: ReactNode;
|
|
2200
2200
|
name?: string | undefined;
|
|
2201
|
-
errorMessage?: ReactNode;
|
|
2202
2201
|
colorScheme?: ColorScheme | undefined;
|
|
2203
2202
|
invalid?: boolean | undefined;
|
|
2203
|
+
errorMessage?: ReactNode;
|
|
2204
2204
|
labelAs?: react.ElementType | undefined;
|
|
2205
2205
|
labelHiddenText?: string | undefined;
|
|
2206
2206
|
labelId?: string | undefined;
|
|
@@ -2647,9 +2647,9 @@ interface TextAreaControlProps extends TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
2647
2647
|
declare const TextArea: react.ForwardRefExoticComponent<TextAreaControlProps & {
|
|
2648
2648
|
label?: react.ReactNode;
|
|
2649
2649
|
name?: string | undefined;
|
|
2650
|
-
errorMessage?: react.ReactNode;
|
|
2651
2650
|
colorScheme?: ColorScheme | undefined;
|
|
2652
2651
|
invalid?: boolean | undefined;
|
|
2652
|
+
errorMessage?: react.ReactNode;
|
|
2653
2653
|
labelAs?: react.ElementType | undefined;
|
|
2654
2654
|
labelHiddenText?: string | undefined;
|
|
2655
2655
|
labelId?: string | undefined;
|
|
@@ -2682,9 +2682,9 @@ interface TextInputControlProps extends InputProps {
|
|
|
2682
2682
|
declare const TextInput: react.ForwardRefExoticComponent<TextInputControlProps & {
|
|
2683
2683
|
label?: react.ReactNode;
|
|
2684
2684
|
name?: string | undefined;
|
|
2685
|
-
errorMessage?: react.ReactNode;
|
|
2686
2685
|
colorScheme?: ColorScheme | undefined;
|
|
2687
2686
|
invalid?: boolean | undefined;
|
|
2687
|
+
errorMessage?: react.ReactNode;
|
|
2688
2688
|
labelAs?: react.ElementType | undefined;
|
|
2689
2689
|
labelHiddenText?: string | undefined;
|
|
2690
2690
|
labelId?: string | undefined;
|
|
@@ -2729,9 +2729,9 @@ interface TrailingTextInputControlProps extends InputProps {
|
|
|
2729
2729
|
declare const TrailingTextInput: react.ForwardRefExoticComponent<TrailingTextInputControlProps & {
|
|
2730
2730
|
label?: ReactNode;
|
|
2731
2731
|
name?: string | undefined;
|
|
2732
|
-
errorMessage?: ReactNode;
|
|
2733
2732
|
colorScheme?: ColorScheme | undefined;
|
|
2734
2733
|
invalid?: boolean | undefined;
|
|
2734
|
+
errorMessage?: ReactNode;
|
|
2735
2735
|
labelAs?: react.ElementType | undefined;
|
|
2736
2736
|
labelHiddenText?: string | undefined;
|
|
2737
2737
|
labelId?: string | undefined;
|
|
@@ -2814,7 +2814,7 @@ interface UseFormCaptchaProp {
|
|
|
2814
2814
|
}
|
|
2815
2815
|
interface UseFormProps<TFieldValues extends FieldValues> extends UseFormProps$1<TFieldValues>, Pick<FormConfig, 'onSubmitHandlerError' | 'reCaptchaV3Config' | 'resolveThrownFormErrors' | 'thrownFieldLevelErrorFormatter'> {
|
|
2816
2816
|
captcha?: UseFormCaptchaProp;
|
|
2817
|
-
schema?: z.
|
|
2817
|
+
schema?: z.ZodType;
|
|
2818
2818
|
}
|
|
2819
2819
|
type UseFormHandleSubmit<TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined> = (onValid: TSubmitValues extends FieldValues ? SubmitHandler<TSubmitValues> : SubmitHandler<TFieldValues>, onInvalid?: SubmitErrorHandler<TFieldValues>) => (event?: BaseSyntheticEvent) => Promise<void>;
|
|
2820
2820
|
type UseFormReturn<TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined> = Omit<UseFormReturn$1<TFieldValues, any, TSubmitValues>, 'handleSubmit'> & {
|