@risalabs_frontend_org/oasis-ui-kit 0.83.0 → 0.85.0
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.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/components/list-item-card/list-item-card.d.ts +19 -0
- package/dist/src/components/nav-menu-item/nav-menu-item.d.ts +2 -1
- package/dist/src/components/tags/tags.d.ts +1 -2
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./list-item-card.scss";
|
|
3
|
+
export interface ListItemCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
statusLabel?: string;
|
|
7
|
+
statusBackgroundColor?: string;
|
|
8
|
+
statusTextColor?: string;
|
|
9
|
+
selected?: boolean;
|
|
10
|
+
accentColor?: string;
|
|
11
|
+
shouldTruncate?: boolean;
|
|
12
|
+
leadingContent?: React.ReactNode;
|
|
13
|
+
titleAdornment?: React.ReactNode;
|
|
14
|
+
trailingContent?: React.ReactNode;
|
|
15
|
+
footerContent?: React.ReactNode;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const ListItemCard: React.FC<ListItemCardProps>;
|
|
19
|
+
export default ListItemCard;
|
|
@@ -12,5 +12,6 @@ export interface NavMenuItemProps {
|
|
|
12
12
|
backgroundColor?: string;
|
|
13
13
|
activeLabelClassName?: string;
|
|
14
14
|
inactiveLabelClassName?: string;
|
|
15
|
+
shouldTruncate?: boolean;
|
|
15
16
|
}
|
|
16
|
-
export declare function NavMenuItem({ label, active, accentColor, onClick, prefix, suffix, disabled, className, backgroundColor, activeLabelClassName, inactiveLabelClassName, }: NavMenuItemProps): React.JSX.Element;
|
|
17
|
+
export declare function NavMenuItem({ label, active, accentColor, onClick, prefix, suffix, disabled, className, backgroundColor, activeLabelClassName, inactiveLabelClassName, shouldTruncate, }: NavMenuItemProps): React.JSX.Element;
|