@dfds-ui/forms 0.9.3-alpha.0dc66d72 → 0.9.3-alpha.29e4eca3

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.
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { Locale } from '@dfds-ui/react-components';
2
3
  import { BaseFieldProps } from '../types';
3
4
  export declare type TelFieldProps = BaseFieldProps & {
4
5
  /**
@@ -12,7 +13,7 @@ export declare type TelFieldProps = BaseFieldProps & {
12
13
  /**
13
14
  * Default locale. Will set the matching country in the dropdown
14
15
  */
15
- defaultLocale?: string;
16
+ defaultLocale?: Locale;
16
17
  /**
17
18
  * Show trunk values (the local area code shown in parenthesis)
18
19
  */
@@ -41,7 +42,7 @@ export declare const TelField: React.ForwardRefExoticComponent<BaseFieldProps &
41
42
  /**
42
43
  * Default locale. Will set the matching country in the dropdown
43
44
  */
44
- defaultLocale?: string | undefined;
45
+ defaultLocale?: "en" | "nl-BE" | "bg-BG" | "pt-BR" | "en-CA" | "zh-CN" | "cs-CZ" | "da-DK" | "et-EE" | "fi-FI" | "fr-FR" | "de-DE" | "hu-HU" | "it-IT" | "ja-JP" | "lv-LV" | "lt-LT" | "nl-NL" | "nb-NO" | "pl-PL" | "ro-RO" | "ru-RU" | "sk-SK" | "ko-KR" | "es-ES" | "sv-SE" | "tr-TR" | "en-GB" | "en-US" | undefined;
45
46
  /**
46
47
  * Show trunk values (the local area code shown in parenthesis)
47
48
  */