@selfdecode/sd-component-library 2.42.35 → 2.42.39
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/lib/components/complex/navbar/presentational/constants-v3.d.ts +1 -1
- package/lib/components/modals/modal/interfaces.d.ts +5 -0
- package/lib/components/modals/modal/modal.d.ts +1 -1
- package/lib/components/tabs/tab-bar/interfaces.d.ts +1 -1
- package/lib/components/tabs/tab-bar/partials/tab/interfaces.d.ts +4 -0
- package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +3 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { NavItem } from "../partials/navbar-v2/partials/interfaces";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const getgeneticsNavItem: (isPractitioner: boolean) => NavItem;
|
|
3
3
|
export declare const labsNavItem: NavItem;
|
|
4
4
|
export declare const getMyAccountNavItem: (isPractitioner: boolean, onLogout?: (() => void) | undefined) => NavItem;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { SxProps } from "rebass";
|
|
2
3
|
export interface ModalProps {
|
|
3
4
|
/**
|
|
4
5
|
* The theme variant to use for the modal's styles.
|
|
@@ -64,4 +65,8 @@ export interface ModalProps {
|
|
|
64
65
|
* content is shown at the top
|
|
65
66
|
*/
|
|
66
67
|
popUpHeight?: string | string[];
|
|
68
|
+
/**
|
|
69
|
+
* Additional props for the modal outer container.
|
|
70
|
+
*/
|
|
71
|
+
containerSx?: SxProps["sx"];
|
|
67
72
|
}
|
|
@@ -2,7 +2,7 @@ import { TabProps } from "./partials/tab/interfaces";
|
|
|
2
2
|
/**
|
|
3
3
|
* Configuration describing each tab
|
|
4
4
|
*/
|
|
5
|
-
export declare type TabConfig<T> = Pick<TabProps<T>, "id" | "label" | "secondaryText" | "icon" | "bg" | "activeBg">;
|
|
5
|
+
export declare type TabConfig<T> = Pick<TabProps<T>, "id" | "label" | "secondaryText" | "icon" | "bg" | "activeBg" | "elementId">;
|
|
6
6
|
/**
|
|
7
7
|
* Props for TabBar
|
|
8
8
|
*/
|
|
@@ -4,4 +4,4 @@ export declare const Ribbon: ({ active, activeColor }: {
|
|
|
4
4
|
active?: boolean | undefined;
|
|
5
5
|
activeColor?: string | undefined;
|
|
6
6
|
}) => JSX.Element;
|
|
7
|
-
export declare function Tab<T>({ width, label, secondaryText, icon, id, onClick, selected, activeColor, color, tabPadding, bg, activeBg, activeRibbonColor, borderRadius, tabHeaderComponent, }: TabProps<T>): JSX.Element;
|
|
7
|
+
export declare function Tab<T>({ width, label, secondaryText, icon, id, onClick, selected, activeColor, color, tabPadding, bg, activeBg, activeRibbonColor, borderRadius, tabHeaderComponent, elementId, }: TabProps<T>): JSX.Element;
|