@secondstaxorg/sscomp 1.7.22 → 1.7.23
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 +103 -56
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +226 -131
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +110 -63
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/Selector/styles.d.ts +2 -1
- package/types/components/Selector/types.d.ts +12 -0
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const MainContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
2
|
export declare const FieldContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const OtherContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
4
|
export declare const InputLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
5
|
export declare const SrInput: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
5
|
-
export declare const SelectorContainer: import("styled-components").StyledComponent<"
|
|
6
|
+
export declare const SelectorContainer: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
@@ -44,4 +44,16 @@ export interface SelectorProps {
|
|
|
44
44
|
* Input name as is with html input tag
|
|
45
45
|
* */
|
|
46
46
|
inputName: string;
|
|
47
|
+
/**
|
|
48
|
+
* Specify whether the options should be displayed side-by-side or one on top of the other
|
|
49
|
+
* */
|
|
50
|
+
arrangement: 'vertical' | 'horizontal';
|
|
51
|
+
/**
|
|
52
|
+
* Specify whether there should be an "Other" option
|
|
53
|
+
* */
|
|
54
|
+
otherOption?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Specify the placeholder text for the "Other" option
|
|
57
|
+
* */
|
|
58
|
+
otherPlaceholder?: string;
|
|
47
59
|
}
|