@secondstaxorg/sscomp 1.7.59 → 1.7.61
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.es.js +234 -226
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1240 -1289
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +246 -238
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/CountrySelector/CountrySelector.d.ts +1 -1
- package/types/components/CountrySelector/type.d.ts +3 -7
- package/types/components/PhoneInput/countries.d.ts +6 -0
- package/types/components/PhoneInput/type.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SelectorProps } from "./type";
|
|
3
3
|
/**
|
|
4
|
-
* Dropdown selector for selecting countries
|
|
4
|
+
* Dropdown selector for selecting <b>countries</b> or <b>currencies</b>
|
|
5
5
|
*/
|
|
6
6
|
declare const CountrySelector: (props: SelectorProps) => JSX.Element;
|
|
7
7
|
export default CountrySelector;
|
|
@@ -13,13 +13,9 @@ export interface SelectorProps {
|
|
|
13
13
|
*/
|
|
14
14
|
selectedOption: (a: any) => void;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Country to be prepopulated when component is rendered
|
|
17
17
|
*/
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Initial flag to be displayed in the field along with the initial text. Suitable to for when there is the need to display the current value of when updating a form
|
|
21
|
-
*/
|
|
22
|
-
initialFlag?: string;
|
|
18
|
+
initialCountry?: string;
|
|
23
19
|
/**
|
|
24
20
|
* Label for the field
|
|
25
21
|
*/
|
|
@@ -40,5 +36,5 @@ export interface SelectorProps {
|
|
|
40
36
|
/**
|
|
41
37
|
* Input name as is with html input tag
|
|
42
38
|
* */
|
|
43
|
-
inputName
|
|
39
|
+
inputName?: string;
|
|
44
40
|
}
|