@secondstaxorg/sscomp 1.4.9 → 1.5.2

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.4.9",
3
+ "version": "1.5.2",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { LinksType } from "./type";
2
+ import { RibbonProps } from "./type";
3
3
  /**
4
4
  * Menu item displayed at the top of the LP app containing links to different products of the SSX ecosystem
5
5
  */
6
- declare const Ribbon: (props: LinksType) => JSX.Element;
6
+ declare const Ribbon: (props: RibbonProps) => JSX.Element;
7
7
  export default Ribbon;
@@ -1,4 +1,4 @@
1
- export interface LinksType {
1
+ export interface RibbonProps {
2
2
  /**
3
3
  * Array of links to be displayed in the ribbon containing the label and their respective URL
4
4
  */
@@ -10,4 +10,5 @@ export interface LinksType {
10
10
  * Background colour of the ribbon when rendered
11
11
  */
12
12
  bgColor: 'dark' | 'light';
13
+ openInNewTab?: boolean;
13
14
  }
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
- declare const SSXBar: (props: any) => JSX.Element;
2
+ import { SSXBarProps } from "./types";
3
+ declare const SSXBar: (props: SSXBarProps) => JSX.Element;
3
4
  export default SSXBar;
@@ -0,0 +1,5 @@
1
+ import { ReactNode } from "react";
2
+ export interface SSXBarProps {
3
+ children: ReactNode;
4
+ background: 'dark' | 'light';
5
+ }