@secondstaxorg/sscomp 1.5.97 → 1.6.21

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.5.97",
3
+ "version": "1.6.21",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -1 +1 @@
1
- export declare function dayDiff(rateDate: string): "today, " | "yesterday, " | "" | undefined;
1
+ export declare function dayDiff(rateDate: string): "" | "today, " | "yesterday, " | undefined;
@@ -1 +1 @@
1
- export declare function dayDiff(rateDate: string): "today, " | "yesterday, " | "" | undefined;
1
+ export declare function dayDiff(rateDate: string): "" | "today, " | "yesterday, " | undefined;
@@ -1 +1 @@
1
- export declare function dayDiff(rateDate: string): "today, " | "yesterday, " | "" | undefined;
1
+ export declare function dayDiff(rateDate: string): "" | "today, " | "yesterday, " | undefined;
@@ -22,4 +22,8 @@ export interface NewsFilterProps extends React.HTMLAttributes<any> {
22
22
  * Callback function to receive the selected source country
23
23
  */
24
24
  selectedCountryFxn?: Function;
25
+ /**
26
+ * Theme of the component whether to be in light mode or dark
27
+ */
28
+ theme: 'light' | 'dark';
25
29
  }
@@ -4,4 +4,8 @@ export interface NewsBarProps extends React.HTMLAttributes<any> {
4
4
  * Title of the section
5
5
  */
6
6
  title: string;
7
+ /**
8
+ * Theme of the component whether to be in light mode or dark
9
+ */
10
+ theme: 'dark' | 'light';
7
11
  }