@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondstaxorg/sscomp",
3
- "version": "2.0.78",
3
+ "version": "2.0.81",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -1,2 +1,4 @@
1
- export declare const TitleBarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
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 +1,3 @@
1
- export declare const TitleBarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const TitleBarContainer: import("styled-components").StyledComponent<"div", any, {
2
+ barTheme: 'light' | 'dark';
3
+ }, never>;
@@ -1,4 +1,5 @@
1
1
  import { SmallNewsCardProps } from "./type";
2
+ import './style.css';
2
3
  /**
3
4
  * News cards displayed on the right side of the news page
4
5
  */
@@ -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
  }