@secondstaxorg/sscomp 1.6.95 → 1.6.96

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondstaxorg/sscomp",
3
- "version": "1.6.95",
3
+ "version": "1.6.96",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -2,11 +2,14 @@ export interface MarketDataProps {
2
2
  /**
3
3
  * Array of data to be displayed in the cards
4
4
  */
5
- marketData: {
6
- market: string;
7
- marketCountryFlag: string;
8
- volume: number;
9
- marketCap: number;
10
- lastUpdated: string;
11
- }[];
5
+ marketData: MarketDataItem[];
12
6
  }
7
+ export declare type MarketDataItem = {
8
+ market: string;
9
+ marketCountryFlag: string;
10
+ volume: number;
11
+ volumeLabel?: string;
12
+ marketCap: number;
13
+ marketCapLabel?: string;
14
+ lastUpdated: string;
15
+ };
@@ -0,0 +1,7 @@
1
+ export declare const InputLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const FieldContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const DropdownField: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const DisabledContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const DropdownIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const OptionsList: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export declare const DropdownOption: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,48 @@
1
+ export interface PhoneInputProps {
2
+ /**
3
+ * Array with object containing the label and value for each item to be displayed in the list
4
+ */
5
+ options: {
6
+ label: string;
7
+ value: string;
8
+ }[];
9
+ /**
10
+ * Initial text to be displayed in the field. Ideal for when using an update form to display the current value of the field
11
+ */
12
+ initialText?: string;
13
+ /**
14
+ * Placeholder text to be displayed in the field
15
+ */
16
+ placeholder?: string;
17
+ /**
18
+ * Function to receive the object of the selected item
19
+ */
20
+ returnedSelection: (a: {
21
+ label: string;
22
+ value: string;
23
+ }) => void;
24
+ /**
25
+ * Boolean to specify whether the field is active or disabled
26
+ */
27
+ disabled?: boolean;
28
+ /**
29
+ * Label of the field
30
+ */
31
+ label?: string;
32
+ /**
33
+ * Boolean to specify whether the list is searchable
34
+ */
35
+ searchable?: boolean;
36
+ /**
37
+ * Specify the width of the component
38
+ */
39
+ width?: number | "fit-content";
40
+ /**
41
+ * Boolean to specify whether the field is required
42
+ */
43
+ required?: boolean;
44
+ /**
45
+ * Input name as is with html input tag
46
+ * */
47
+ inputName: string;
48
+ }