@mmb-digital/design-system-web 0.1.342-alpha.0 → 0.1.343

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.d.ts CHANGED
@@ -1444,25 +1444,25 @@ 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
- colorScheme?: ColorScheme | undefined;
1448
- invalid?: boolean | undefined;
1449
- errorMessage?: react.ReactNode;
1450
- labelAs?: react.ElementType | undefined;
1451
- labelHiddenText?: string | undefined;
1452
- labelId?: string | undefined;
1453
- labelSuffix?: react.ReactNode;
1454
- tooltip?: TooltipInfoDescriptor | undefined;
1455
- mediaType?: MediaType | undefined;
1456
1447
  addons?: FieldAddon[] | undefined;
1457
1448
  controlMobileWidth?: csstype.Property.Width | undefined;
1458
1449
  controlSectionWidth?: csstype.Property.Width | undefined;
1459
1450
  controlWidth?: csstype.Property.Width | undefined;
1451
+ errorMessage?: react.ReactNode;
1460
1452
  hiddenHintText?: react.ReactNode;
1461
1453
  hintText?: react.ReactNode;
1454
+ invalid?: boolean | undefined;
1462
1455
  layout?: FieldWrapperLayout | undefined;
1463
1456
  note?: react.ReactNode;
1464
1457
  optionality?: FieldOptionality | undefined;
1465
1458
  successMessage?: react.ReactNode;
1459
+ colorScheme?: ColorScheme | undefined;
1460
+ mediaType?: MediaType | undefined;
1461
+ labelAs?: react.ElementType | undefined;
1462
+ labelHiddenText?: string | undefined;
1463
+ labelId?: string | undefined;
1464
+ labelSuffix?: react.ReactNode;
1465
+ tooltip?: TooltipInfoDescriptor | undefined;
1466
1466
  } & react.RefAttributes<HTMLInputElement>>;
1467
1467
  type DatePickerProps = ComponentProps<typeof DatePicker>;
1468
1468
 
@@ -1479,25 +1479,25 @@ interface EmailInputControlProps extends InputProps {
1479
1479
  declare const EmailInput: react.ForwardRefExoticComponent<EmailInputControlProps & {
1480
1480
  label?: react.ReactNode;
1481
1481
  name?: string | undefined;
1482
- colorScheme?: ColorScheme | undefined;
1483
- invalid?: boolean | undefined;
1484
- errorMessage?: react.ReactNode;
1485
- labelAs?: react.ElementType | undefined;
1486
- labelHiddenText?: string | undefined;
1487
- labelId?: string | undefined;
1488
- labelSuffix?: react.ReactNode;
1489
- tooltip?: TooltipInfoDescriptor | undefined;
1490
- mediaType?: MediaType | undefined;
1491
1482
  addons?: FieldAddon[] | undefined;
1492
1483
  controlMobileWidth?: csstype.Property.Width | undefined;
1493
1484
  controlSectionWidth?: csstype.Property.Width | undefined;
1494
1485
  controlWidth?: csstype.Property.Width | undefined;
1486
+ errorMessage?: react.ReactNode;
1495
1487
  hiddenHintText?: react.ReactNode;
1496
1488
  hintText?: react.ReactNode;
1489
+ invalid?: boolean | undefined;
1497
1490
  layout?: FieldWrapperLayout | undefined;
1498
1491
  note?: react.ReactNode;
1499
1492
  optionality?: FieldOptionality | undefined;
1500
1493
  successMessage?: react.ReactNode;
1494
+ colorScheme?: ColorScheme | undefined;
1495
+ mediaType?: MediaType | undefined;
1496
+ labelAs?: react.ElementType | undefined;
1497
+ labelHiddenText?: string | undefined;
1498
+ labelId?: string | undefined;
1499
+ labelSuffix?: react.ReactNode;
1500
+ tooltip?: TooltipInfoDescriptor | undefined;
1501
1501
  } & react.RefAttributes<HTMLInputElement>>;
1502
1502
  type EmailInputProps = ComponentProps<typeof EmailInput>;
1503
1503
 
@@ -1581,25 +1581,25 @@ 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
- colorScheme?: ColorScheme | undefined;
1585
- invalid?: boolean | undefined;
1586
- errorMessage?: react.ReactNode;
1587
- labelAs?: react.ElementType | undefined;
1588
- labelHiddenText?: string | undefined;
1589
- labelId?: string | undefined;
1590
- labelSuffix?: react.ReactNode;
1591
- tooltip?: TooltipInfoDescriptor | undefined;
1592
- mediaType?: MediaType | undefined;
1593
1584
  addons?: FieldAddon[] | undefined;
1594
1585
  controlMobileWidth?: csstype.Property.Width | undefined;
1595
1586
  controlSectionWidth?: csstype.Property.Width | undefined;
1596
1587
  controlWidth?: csstype.Property.Width | undefined;
1588
+ errorMessage?: react.ReactNode;
1597
1589
  hiddenHintText?: react.ReactNode;
1598
1590
  hintText?: react.ReactNode;
1591
+ invalid?: boolean | undefined;
1599
1592
  layout?: FieldWrapperLayout | undefined;
1600
1593
  note?: react.ReactNode;
1601
1594
  optionality?: FieldOptionality | undefined;
1602
1595
  successMessage?: react.ReactNode;
1596
+ colorScheme?: ColorScheme | undefined;
1597
+ mediaType?: MediaType | undefined;
1598
+ labelAs?: react.ElementType | undefined;
1599
+ labelHiddenText?: string | undefined;
1600
+ labelId?: string | undefined;
1601
+ labelSuffix?: react.ReactNode;
1602
+ tooltip?: TooltipInfoDescriptor | undefined;
1603
1603
  } & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
1604
1604
  type FileInputProps = ComponentProps<typeof FileInput>;
1605
1605
 
@@ -1850,25 +1850,25 @@ 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
- colorScheme?: ColorScheme | undefined;
1854
- invalid?: boolean | undefined;
1855
- errorMessage?: react.ReactNode;
1856
- labelAs?: react.ElementType | undefined;
1857
- labelHiddenText?: string | undefined;
1858
- labelId?: string | undefined;
1859
- labelSuffix?: react.ReactNode;
1860
- tooltip?: TooltipInfoDescriptor | undefined;
1861
- mediaType?: MediaType | undefined;
1862
1853
  addons?: FieldAddon[] | undefined;
1863
1854
  controlMobileWidth?: csstype.Property.Width | undefined;
1864
1855
  controlSectionWidth?: csstype.Property.Width | undefined;
1865
1856
  controlWidth?: csstype.Property.Width | undefined;
1857
+ errorMessage?: react.ReactNode;
1866
1858
  hiddenHintText?: react.ReactNode;
1867
1859
  hintText?: react.ReactNode;
1860
+ invalid?: boolean | undefined;
1868
1861
  layout?: FieldWrapperLayout | undefined;
1869
1862
  note?: react.ReactNode;
1870
1863
  optionality?: FieldOptionality | undefined;
1871
1864
  successMessage?: react.ReactNode;
1865
+ colorScheme?: ColorScheme | undefined;
1866
+ mediaType?: MediaType | undefined;
1867
+ labelAs?: react.ElementType | undefined;
1868
+ labelHiddenText?: string | undefined;
1869
+ labelId?: string | undefined;
1870
+ labelSuffix?: react.ReactNode;
1871
+ tooltip?: TooltipInfoDescriptor | undefined;
1872
1872
  }, "ref"> & react.RefAttributes<HTMLInputElement>>;
1873
1873
  type MaskedInputProps = ComponentProps<typeof MaskedInput>;
1874
1874
 
@@ -1880,25 +1880,25 @@ 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
- colorScheme?: ColorScheme | undefined;
1884
- invalid?: boolean | undefined;
1885
- errorMessage?: react.ReactNode;
1886
- labelAs?: react.ElementType | undefined;
1887
- labelHiddenText?: string | undefined;
1888
- labelId?: string | undefined;
1889
- labelSuffix?: react.ReactNode;
1890
- tooltip?: TooltipInfoDescriptor | undefined;
1891
- mediaType?: MediaType | undefined;
1892
1883
  addons?: FieldAddon[] | undefined;
1893
1884
  controlMobileWidth?: csstype.Property.Width | undefined;
1894
1885
  controlSectionWidth?: csstype.Property.Width | undefined;
1895
1886
  controlWidth?: csstype.Property.Width | undefined;
1887
+ errorMessage?: react.ReactNode;
1896
1888
  hiddenHintText?: react.ReactNode;
1897
1889
  hintText?: react.ReactNode;
1890
+ invalid?: boolean | undefined;
1898
1891
  layout?: FieldWrapperLayout | undefined;
1899
1892
  note?: react.ReactNode;
1900
1893
  optionality?: FieldOptionality | undefined;
1901
1894
  successMessage?: react.ReactNode;
1895
+ colorScheme?: ColorScheme | undefined;
1896
+ mediaType?: MediaType | undefined;
1897
+ labelAs?: react.ElementType | undefined;
1898
+ labelHiddenText?: string | undefined;
1899
+ labelId?: string | undefined;
1900
+ labelSuffix?: react.ReactNode;
1901
+ tooltip?: TooltipInfoDescriptor | undefined;
1902
1902
  }, "ref"> & react.RefAttributes<HTMLInputElement> & {
1903
1903
  name: react_hook_form.Path<TFieldValues>;
1904
1904
  options?: RegisterOptions<TFieldValues> | undefined;
@@ -2085,25 +2085,25 @@ 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
- colorScheme?: ColorScheme | undefined;
2089
- invalid?: boolean | undefined;
2090
- errorMessage?: react.ReactNode;
2091
- labelAs?: react.ElementType | undefined;
2092
- labelHiddenText?: string | undefined;
2093
- labelId?: string | undefined;
2094
- labelSuffix?: react.ReactNode;
2095
- tooltip?: TooltipInfoDescriptor | undefined;
2096
- mediaType?: MediaType | undefined;
2097
2088
  addons?: FieldAddon[] | undefined;
2098
2089
  controlMobileWidth?: csstype.Property.Width | undefined;
2099
2090
  controlSectionWidth?: csstype.Property.Width | undefined;
2100
2091
  controlWidth?: csstype.Property.Width | undefined;
2092
+ errorMessage?: react.ReactNode;
2101
2093
  hiddenHintText?: react.ReactNode;
2102
2094
  hintText?: react.ReactNode;
2095
+ invalid?: boolean | undefined;
2103
2096
  layout?: FieldWrapperLayout | undefined;
2104
2097
  note?: react.ReactNode;
2105
2098
  optionality?: FieldOptionality | undefined;
2106
2099
  successMessage?: react.ReactNode;
2100
+ colorScheme?: ColorScheme | undefined;
2101
+ mediaType?: MediaType | undefined;
2102
+ labelAs?: react.ElementType | undefined;
2103
+ labelHiddenText?: string | undefined;
2104
+ labelId?: string | undefined;
2105
+ labelSuffix?: react.ReactNode;
2106
+ tooltip?: TooltipInfoDescriptor | undefined;
2107
2107
  } & react.RefAttributes<HTMLInputElement>, "ref"> & react.RefAttributes<HTMLInputElement>>;
2108
2108
  type RadioButtonGroupProps = ComponentProps<typeof RadioButtonGroup>;
2109
2109
 
@@ -2161,25 +2161,25 @@ 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
- colorScheme?: ColorScheme | undefined;
2165
- invalid?: boolean | undefined;
2166
- errorMessage?: react.ReactNode;
2167
- labelAs?: react.ElementType | undefined;
2168
- labelHiddenText?: string | undefined;
2169
- labelId?: string | undefined;
2170
- labelSuffix?: react.ReactNode;
2171
- tooltip?: TooltipInfoDescriptor | undefined;
2172
- mediaType?: MediaType | undefined;
2173
2164
  addons?: FieldAddon[] | undefined;
2174
2165
  controlMobileWidth?: csstype.Property.Width | undefined;
2175
2166
  controlSectionWidth?: csstype.Property.Width | undefined;
2176
2167
  controlWidth?: csstype.Property.Width | undefined;
2168
+ errorMessage?: react.ReactNode;
2177
2169
  hiddenHintText?: react.ReactNode;
2178
2170
  hintText?: react.ReactNode;
2171
+ invalid?: boolean | undefined;
2179
2172
  layout?: FieldWrapperLayout | undefined;
2180
2173
  note?: react.ReactNode;
2181
2174
  optionality?: FieldOptionality | undefined;
2182
2175
  successMessage?: react.ReactNode;
2176
+ colorScheme?: ColorScheme | undefined;
2177
+ mediaType?: MediaType | undefined;
2178
+ labelAs?: react.ElementType | undefined;
2179
+ labelHiddenText?: string | undefined;
2180
+ labelId?: string | undefined;
2181
+ labelSuffix?: react.ReactNode;
2182
+ tooltip?: TooltipInfoDescriptor | undefined;
2183
2183
  } & react.RefAttributes<HTMLInputElement>, "ref"> & react.RefAttributes<HTMLInputElement>>;
2184
2184
  type RadioGroupProps = ComponentProps<typeof RadioGroup>;
2185
2185
 
@@ -2198,25 +2198,25 @@ interface SearchInputControlProps extends InputProps {
2198
2198
  declare const SearchInput: react.ForwardRefExoticComponent<SearchInputControlProps & {
2199
2199
  label?: ReactNode;
2200
2200
  name?: string | undefined;
2201
- colorScheme?: ColorScheme | undefined;
2202
- invalid?: boolean | undefined;
2203
- errorMessage?: ReactNode;
2204
- labelAs?: react.ElementType | undefined;
2205
- labelHiddenText?: string | undefined;
2206
- labelId?: string | undefined;
2207
- labelSuffix?: ReactNode;
2208
- tooltip?: TooltipInfoDescriptor | undefined;
2209
- mediaType?: MediaType | undefined;
2210
2201
  addons?: FieldAddon[] | undefined;
2211
2202
  controlMobileWidth?: csstype.Property.Width | undefined;
2212
2203
  controlSectionWidth?: csstype.Property.Width | undefined;
2213
2204
  controlWidth?: csstype.Property.Width | undefined;
2205
+ errorMessage?: ReactNode;
2214
2206
  hiddenHintText?: ReactNode;
2215
2207
  hintText?: ReactNode;
2208
+ invalid?: boolean | undefined;
2216
2209
  layout?: FieldWrapperLayout | undefined;
2217
2210
  note?: ReactNode;
2218
2211
  optionality?: FieldOptionality | undefined;
2219
2212
  successMessage?: ReactNode;
2213
+ colorScheme?: ColorScheme | undefined;
2214
+ mediaType?: MediaType | undefined;
2215
+ labelAs?: react.ElementType | undefined;
2216
+ labelHiddenText?: string | undefined;
2217
+ labelId?: string | undefined;
2218
+ labelSuffix?: ReactNode;
2219
+ tooltip?: TooltipInfoDescriptor | undefined;
2220
2220
  } & react.RefAttributes<HTMLInputElement>>;
2221
2221
  type SearchInputProps = ComponentProps<typeof SearchInput>;
2222
2222
 
@@ -2647,25 +2647,25 @@ interface TextAreaControlProps extends TextareaHTMLAttributes<HTMLTextAreaElemen
2647
2647
  declare const TextArea: react.ForwardRefExoticComponent<TextAreaControlProps & {
2648
2648
  label?: react.ReactNode;
2649
2649
  name?: string | undefined;
2650
- colorScheme?: ColorScheme | undefined;
2651
- invalid?: boolean | undefined;
2652
- errorMessage?: react.ReactNode;
2653
- labelAs?: react.ElementType | undefined;
2654
- labelHiddenText?: string | undefined;
2655
- labelId?: string | undefined;
2656
- labelSuffix?: react.ReactNode;
2657
- tooltip?: TooltipInfoDescriptor | undefined;
2658
- mediaType?: MediaType | undefined;
2659
2650
  addons?: FieldAddon[] | undefined;
2660
2651
  controlMobileWidth?: csstype.Property.Width | undefined;
2661
2652
  controlSectionWidth?: csstype.Property.Width | undefined;
2662
2653
  controlWidth?: csstype.Property.Width | undefined;
2654
+ errorMessage?: react.ReactNode;
2663
2655
  hiddenHintText?: react.ReactNode;
2664
2656
  hintText?: react.ReactNode;
2657
+ invalid?: boolean | undefined;
2665
2658
  layout?: FieldWrapperLayout | undefined;
2666
2659
  note?: react.ReactNode;
2667
2660
  optionality?: FieldOptionality | undefined;
2668
2661
  successMessage?: react.ReactNode;
2662
+ colorScheme?: ColorScheme | undefined;
2663
+ mediaType?: MediaType | undefined;
2664
+ labelAs?: react.ElementType | undefined;
2665
+ labelHiddenText?: string | undefined;
2666
+ labelId?: string | undefined;
2667
+ labelSuffix?: react.ReactNode;
2668
+ tooltip?: TooltipInfoDescriptor | undefined;
2669
2669
  } & react.RefAttributes<HTMLTextAreaElement>>;
2670
2670
  type TextAreaProps = ComponentProps<typeof TextArea>;
2671
2671
 
@@ -2682,25 +2682,25 @@ interface TextInputControlProps extends InputProps {
2682
2682
  declare const TextInput: react.ForwardRefExoticComponent<TextInputControlProps & {
2683
2683
  label?: react.ReactNode;
2684
2684
  name?: string | undefined;
2685
- colorScheme?: ColorScheme | undefined;
2686
- invalid?: boolean | undefined;
2687
- errorMessage?: react.ReactNode;
2688
- labelAs?: react.ElementType | undefined;
2689
- labelHiddenText?: string | undefined;
2690
- labelId?: string | undefined;
2691
- labelSuffix?: react.ReactNode;
2692
- tooltip?: TooltipInfoDescriptor | undefined;
2693
- mediaType?: MediaType | undefined;
2694
2685
  addons?: FieldAddon[] | undefined;
2695
2686
  controlMobileWidth?: csstype.Property.Width | undefined;
2696
2687
  controlSectionWidth?: csstype.Property.Width | undefined;
2697
2688
  controlWidth?: csstype.Property.Width | undefined;
2689
+ errorMessage?: react.ReactNode;
2698
2690
  hiddenHintText?: react.ReactNode;
2699
2691
  hintText?: react.ReactNode;
2692
+ invalid?: boolean | undefined;
2700
2693
  layout?: FieldWrapperLayout | undefined;
2701
2694
  note?: react.ReactNode;
2702
2695
  optionality?: FieldOptionality | undefined;
2703
2696
  successMessage?: react.ReactNode;
2697
+ colorScheme?: ColorScheme | undefined;
2698
+ mediaType?: MediaType | undefined;
2699
+ labelAs?: react.ElementType | undefined;
2700
+ labelHiddenText?: string | undefined;
2701
+ labelId?: string | undefined;
2702
+ labelSuffix?: react.ReactNode;
2703
+ tooltip?: TooltipInfoDescriptor | undefined;
2704
2704
  } & react.RefAttributes<HTMLInputElement>>;
2705
2705
  type TextInputProps = ComponentProps<typeof TextInput>;
2706
2706
 
@@ -2729,25 +2729,25 @@ interface TrailingTextInputControlProps extends InputProps {
2729
2729
  declare const TrailingTextInput: react.ForwardRefExoticComponent<TrailingTextInputControlProps & {
2730
2730
  label?: ReactNode;
2731
2731
  name?: string | undefined;
2732
- colorScheme?: ColorScheme | undefined;
2733
- invalid?: boolean | undefined;
2734
- errorMessage?: ReactNode;
2735
- labelAs?: react.ElementType | undefined;
2736
- labelHiddenText?: string | undefined;
2737
- labelId?: string | undefined;
2738
- labelSuffix?: ReactNode;
2739
- tooltip?: TooltipInfoDescriptor | undefined;
2740
- mediaType?: MediaType | undefined;
2741
2732
  addons?: FieldAddon[] | undefined;
2742
2733
  controlMobileWidth?: csstype.Property.Width | undefined;
2743
2734
  controlSectionWidth?: csstype.Property.Width | undefined;
2744
2735
  controlWidth?: csstype.Property.Width | undefined;
2736
+ errorMessage?: ReactNode;
2745
2737
  hiddenHintText?: ReactNode;
2746
2738
  hintText?: ReactNode;
2739
+ invalid?: boolean | undefined;
2747
2740
  layout?: FieldWrapperLayout | undefined;
2748
2741
  note?: ReactNode;
2749
2742
  optionality?: FieldOptionality | undefined;
2750
2743
  successMessage?: ReactNode;
2744
+ colorScheme?: ColorScheme | undefined;
2745
+ mediaType?: MediaType | undefined;
2746
+ labelAs?: react.ElementType | undefined;
2747
+ labelHiddenText?: string | undefined;
2748
+ labelId?: string | undefined;
2749
+ labelSuffix?: ReactNode;
2750
+ tooltip?: TooltipInfoDescriptor | undefined;
2751
2751
  } & react.RefAttributes<HTMLInputElement>>;
2752
2752
  type TrailingTextInputProps = ComponentProps<typeof TrailingTextInput>;
2753
2753