@secondstaxorg/sscomp 2.0.78 → 2.0.81
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/bundle.css +2 -0
- package/dist/index.css +39 -0
- package/dist/index.es.css +39 -0
- package/dist/index.es.js +89 -90
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +228 -179
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +39 -0
- package/dist/index.min.js +154 -155
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/NewsFilterBar/style.d.ts +3 -1
- package/types/components/NewsFilterBar/type.d.ts +4 -0
- package/types/components/NewsTitleBar/style.d.ts +3 -1
- package/types/components/SmallNewsCard/SmallNewsCard.d.ts +1 -0
- package/types/components/VideoCard/VideoCard.d.ts +5 -0
- package/types/components/VideoCard/type.d.ts +12 -0
package/package.json
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export declare const TitleBarContainer: import("styled-components").StyledComponent<"div", any, {
|
|
1
|
+
export declare const TitleBarContainer: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
barTheme: 'light' | 'dark';
|
|
3
|
+
}, never>;
|
|
2
4
|
export declare const NewsFilters: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -51,4 +51,8 @@ export interface NewsFilterProps extends React.HTMLAttributes<any> {
|
|
|
51
51
|
* Callback function to return the label of the currently selected tab
|
|
52
52
|
*/
|
|
53
53
|
currentTab?: (a: string) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Specify the tab to be auto selected on mount by the value provided to `tabs.label` prop
|
|
56
|
+
*/
|
|
57
|
+
preselect?: string;
|
|
54
58
|
}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import './style.css';
|
|
1
2
|
import { VideoCardProps } from "./type";
|
|
3
|
+
/**
|
|
4
|
+
* Card to display thumbnail image and title of a video with a link to the page that hosts the actual video.<br>
|
|
5
|
+
* This is not a video player, hence will not play the video
|
|
6
|
+
*/
|
|
2
7
|
declare const VideoCard: ({ date, onClick, thumbnailUrl, videoTitle }: VideoCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
8
|
export default VideoCard;
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
export interface VideoCardProps {
|
|
2
|
+
/**
|
|
3
|
+
* Link to the thumbnail image file
|
|
4
|
+
*/
|
|
2
5
|
thumbnailUrl: string;
|
|
6
|
+
/**
|
|
7
|
+
* Title of the video
|
|
8
|
+
*/
|
|
3
9
|
videoTitle: string;
|
|
10
|
+
/**
|
|
11
|
+
* Date of the video
|
|
12
|
+
*/
|
|
4
13
|
date: Date | string;
|
|
14
|
+
/**
|
|
15
|
+
* A function to be triggered when the video card is clicked
|
|
16
|
+
*/
|
|
5
17
|
onClick: () => void;
|
|
6
18
|
}
|