@secondstaxorg/sscomp 1.9.53 → 1.9.56
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 +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +137 -144
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +23 -23
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/CountrySelector/CountrySelector.d.ts +0 -1
- package/types/components/CountrySelector/type.d.ts +1 -0
- package/types/components/CountrySelector_ori/style.d.ts +7 -0
- package/types/components/CountrySelector_ori/type.d.ts +58 -0
package/package.json
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const DropdownContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const LabelContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const DropdownField: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const DropdownIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const OptionsList: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const DropdownOption: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const DropdownOptionAlt: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export interface SelectorProps {
|
|
2
|
+
/**
|
|
3
|
+
* Array of countries containing objects of country name country short name country flag and subname to be used in the case of selecting currencies
|
|
4
|
+
*/
|
|
5
|
+
options: optionType[];
|
|
6
|
+
/**
|
|
7
|
+
* Function to receive the object of the selected item from the dropdown
|
|
8
|
+
*/
|
|
9
|
+
selectedOption: (a: any) => void;
|
|
10
|
+
/**
|
|
11
|
+
* Country to be prepopulated when component is rendered
|
|
12
|
+
*/
|
|
13
|
+
initialCountry?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Label for the field
|
|
16
|
+
*/
|
|
17
|
+
label?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Placeholder text for the field
|
|
20
|
+
*/
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Boolean to specify whether the dropdown is searchable
|
|
24
|
+
*/
|
|
25
|
+
searchable?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Division in the list to segment different groups of options
|
|
28
|
+
*/
|
|
29
|
+
sectionTitle?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Specify that the component is a required field
|
|
32
|
+
* */
|
|
33
|
+
required?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Input name as is with html input tag
|
|
36
|
+
* */
|
|
37
|
+
inputName?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Specify whether the component is a readonly field
|
|
40
|
+
*/
|
|
41
|
+
readonly?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Array containing list of items to be bubbled up to the top above all others
|
|
44
|
+
*/
|
|
45
|
+
priorityOptions?: string[];
|
|
46
|
+
/**
|
|
47
|
+
* Specify custom label for text displayed throughout component
|
|
48
|
+
*/
|
|
49
|
+
labelOverrides?: {
|
|
50
|
+
search?: string;
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export declare type optionType = {
|
|
54
|
+
optionName: string;
|
|
55
|
+
optionShortName: string;
|
|
56
|
+
optionFlag?: string;
|
|
57
|
+
subName?: string;
|
|
58
|
+
};
|