@secondstaxorg/sscomp 1.7.42 → 1.7.44
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 +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +101 -74
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/PhoneInput/type.d.ts +4 -0
- package/types/components/Selector/types.d.ts +6 -4
package/package.json
CHANGED
|
@@ -3,6 +3,10 @@ export interface PhoneInputProps {
|
|
|
3
3
|
* Country code to be displayed on page load
|
|
4
4
|
*/
|
|
5
5
|
initialCountryCode?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Country code to be displayed on page load
|
|
8
|
+
*/
|
|
9
|
+
initialPhoneNumber?: number;
|
|
6
10
|
/**
|
|
7
11
|
* Placeholder text to be displayed in the field
|
|
8
12
|
*/
|
|
@@ -2,10 +2,7 @@ export interface SelectorProps {
|
|
|
2
2
|
/**
|
|
3
3
|
* Array containing items to be listed in the component
|
|
4
4
|
*/
|
|
5
|
-
itemsList:
|
|
6
|
-
value?: string;
|
|
7
|
-
label: string;
|
|
8
|
-
}[];
|
|
5
|
+
itemsList: itemType[];
|
|
9
6
|
/**
|
|
10
7
|
* Callback function passing out the selected item when clicked
|
|
11
8
|
*/
|
|
@@ -60,4 +57,9 @@ export interface SelectorProps {
|
|
|
60
57
|
* Specify the number of columns if arrangement is horizontal
|
|
61
58
|
* */
|
|
62
59
|
numCols?: number;
|
|
60
|
+
value?: itemType | itemType[];
|
|
63
61
|
}
|
|
62
|
+
export declare type itemType = {
|
|
63
|
+
label: string;
|
|
64
|
+
value?: string;
|
|
65
|
+
};
|