@secondstaxorg/sscomp 1.6.26 → 1.6.52

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.26",
3
+ "version": "1.6.52",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -33,5 +33,5 @@ export interface DropdownProps {
33
33
  * Boolean to specify whether the list is searchable
34
34
  */
35
35
  searchable?: boolean;
36
- width?: number;
36
+ width?: number | "fit-content";
37
37
  }
@@ -1,7 +1,7 @@
1
1
  export declare const MarketdataWidgetContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
2
  export declare const MarketDataItemContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
3
  export declare const MarketNameFlagContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- export declare const EntityName: import("styled-components").StyledComponent<"p", any, {}, never>;
4
+ export declare const EntityName: import("styled-components").StyledComponent<"h6", any, {}, never>;
5
5
  export declare const DataContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
6
6
  export declare const DataInfoContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
7
7
  export declare const InfoItem: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,4 +1,4 @@
1
- export declare const NewsCardContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const NewsCardContainer: any;
2
2
  export declare const FeaturedImg: import("styled-components").StyledComponent<"div", any, {}, never>;
3
3
  export declare const SourceDate: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  export declare const NewsTitle: import("styled-components").StyledComponent<"h5", any, {}, never>;
@@ -31,4 +31,16 @@ export interface NewsProps {
31
31
  * URL of the news item
32
32
  */
33
33
  storyUrl: string;
34
+ inSearchPage: boolean;
35
+ navigationOverride?: (a: navOverrideType) => void;
34
36
  }
37
+ export declare type navOverrideType = {
38
+ id?: string;
39
+ title: string;
40
+ excerpt: string;
41
+ source: string;
42
+ sourceCountryFlag: string;
43
+ date: string;
44
+ featuredImg: string;
45
+ storyUrl: string;
46
+ };
@@ -18,4 +18,11 @@ export interface RibbonProps {
18
18
  * label of the current page to be used for current page highlighting. Must match the label of the current page item to be highlighted.
19
19
  */
20
20
  currentPageItem?: string;
21
+ /**
22
+ * if needed, a function to replace the normal browser navigation
23
+ * */
24
+ navigationOverride?: (a: {
25
+ url: string;
26
+ label: string;
27
+ }) => void;
21
28
  }
@@ -27,4 +27,5 @@ export interface SmallNewsCardProps {
27
27
  * URL to the news item
28
28
  */
29
29
  storyUrl: string;
30
+ navigationOverride?: (a: any) => void;
30
31
  }
@@ -10,4 +10,6 @@ export interface StocksType {
10
10
  changeValue: string | null;
11
11
  changePercent: string | null;
12
12
  }[];
13
+ tickerTheme: 'light' | 'dark';
14
+ customBgColor?: string;
13
15
  }
@@ -20,4 +20,8 @@ export interface TabType {
20
20
  * Callback function returning the value of the currently active tab when selected
21
21
  */
22
22
  selectedTab?: (a: string | number) => void;
23
+ /**
24
+ * Add shared content to be displayed in the body of both tabs
25
+ */
26
+ header?: ReactNode;
23
27
  }