@secondstaxorg/sscomp 1.7.74 → 1.7.76

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.7.74",
3
+ "version": "1.7.76",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -2,12 +2,7 @@ export interface SelectorProps {
2
2
  /**
3
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
4
  */
5
- options: {
6
- optionName: string;
7
- optionShortName: string;
8
- optionFlag?: string;
9
- subName?: string;
10
- }[];
5
+ options: optionType[];
11
6
  /**
12
7
  * Function to receive the object of the selected item from the dropdown
13
8
  */
@@ -45,3 +40,9 @@ export interface SelectorProps {
45
40
  */
46
41
  readonly?: boolean;
47
42
  }
43
+ export declare type optionType = {
44
+ optionName: string;
45
+ optionShortName: string;
46
+ optionFlag?: string;
47
+ subName?: string;
48
+ };
@@ -32,9 +32,13 @@ export interface DatePickerProps {
32
32
  */
33
33
  required?: boolean;
34
34
  /**
35
- * Number of years back to exclude from valid years.
35
+ * Number of years *(not the year)* back to exclude from valid years.
36
36
  */
37
- minYear?: number;
37
+ numInvalidPastYears?: number;
38
+ /**
39
+ * Number of years *(not the year)* into the future to exclude from valid years.
40
+ */
41
+ numInvalidFutureYears?: number;
38
42
  /**
39
43
  * Initial value to be displayed when the component is rendered.
40
44
  */