@secondstaxorg/sscomp 1.6.2 → 1.6.6
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.css +2 -1
- package/dist/index.es.css +2 -1
- package/dist/index.es.js +469 -451
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1763 -1670
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +2 -1
- package/dist/index.min.js +424 -406
- package/dist/index.min.js.map +1 -1
- package/package.json +2 -2
- package/types/components/AuditLog/type.d.ts +4 -0
- package/types/components/Chart/style.d.ts +2 -1
- package/types/components/ChartMedium/style.d.ts +2 -1
- package/types/components/CookieConsent/style.d.ts +0 -1
- package/types/components/DropdownList/type.d.ts +1 -1
- package/types/components/LoadingSpinner/LoadingSpinner.d.ts +1 -6
- package/types/components/LoadingSpinner/type.d.ts +6 -0
- package/types/components/MarketData/style.d.ts +1 -1
- package/types/components/NewsCard/style.d.ts +1 -1
- package/types/components/NewsCard/type.d.ts +12 -0
- package/types/components/NewsFilterBar/NewsFilterBar.d.ts +1 -0
- package/types/components/NewsFilterBar/type.d.ts +4 -0
- package/types/components/NewsTitleBar/NewsTitleBar.d.ts +1 -0
- package/types/components/NewsTitleBar/type.d.ts +4 -0
- package/types/components/Ribbon/type.d.ts +7 -0
- package/types/components/Selector/Selector.d.ts +7 -0
- package/types/components/SmallNewsCard/type.d.ts +1 -0
- package/types/components/StatusBadge/type.d.ts +1 -1
- package/types/components/StocksTicker/type.d.ts +2 -0
- package/types/components/Tab/type.d.ts +4 -0
- package/types/components/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@secondstaxorg/sscomp",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/"
|
|
6
6
|
},
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
},
|
|
97
97
|
"readme": "ERROR: No README data found!",
|
|
98
98
|
"homepage": "https://github.com/Secondstax/sscomp#readme",
|
|
99
|
-
"_id": "@secondstaxorg/sscomp@1.
|
|
99
|
+
"_id": "@secondstaxorg/sscomp@1.6.26"
|
|
100
100
|
}
|
|
@@ -2,5 +2,6 @@ export declare const ChartContainer: import("styled-components").StyledComponent
|
|
|
2
2
|
export declare const GraphArea: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const TextArea: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
4
|
export declare const ExchangeCurr: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export declare const RateInfo: import("styled-components").StyledComponent<"
|
|
5
|
+
export declare const RateInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const ExchangeRate: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
6
7
|
export declare const RateDate: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -2,5 +2,6 @@ export declare const ChartContainer: import("styled-components").StyledComponent
|
|
|
2
2
|
export declare const GraphArea: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const TextArea: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
4
|
export declare const ExchangeCurr: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export declare const RateInfo: import("styled-components").StyledComponent<"
|
|
5
|
+
export declare const RateInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const ExchangeRate: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
6
7
|
export declare const RateDate: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -2,5 +2,4 @@ export declare const ConsentContainer: import("styled-components").StyledCompone
|
|
|
2
2
|
export declare const ConsentNotice: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const ConsentHeading: import("styled-components").StyledComponent<"h5", any, {}, never>;
|
|
4
4
|
export declare const ConsentDesc: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
5
|
-
export declare const ConsentButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
6
5
|
export declare const ConsentButtonsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import './style.css';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Variant of the loader whether
|
|
6
|
-
*/
|
|
7
|
-
variant: 'primary' | 'error';
|
|
8
|
-
}
|
|
3
|
+
import { LoaderProps } from "./type";
|
|
9
4
|
/**
|
|
10
5
|
* Component for displaying a loading spinner for when data is being loaded
|
|
11
6
|
*/
|
|
@@ -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<"
|
|
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:
|
|
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
|
+
};
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
|
@@ -64,3 +64,4 @@ export { default as SSXBar } from './SSXBar/SSXBar';
|
|
|
64
64
|
export { default as BidsCards } from './BidsCards/BidsCard';
|
|
65
65
|
export { default as TablePrimary } from './TablePrimary';
|
|
66
66
|
export { default as TableAlternative } from './TableAlternative';
|
|
67
|
+
export { default as Selector } from './Selector/Selector';
|