@ansible/ansible-ui-framework 2.4.281 → 2.4.283
Sign up to get free protection for your applications and to get access to all the features.
- package/framework/PageCarousel/PageCarousel.d.ts +5 -0
- package/framework/PageTable/PageTableCard.d.ts +5 -0
- package/index.js +2863 -2845
- package/index.umd.cjs +126 -124
- package/package.json +1 -1
@@ -1,4 +1,9 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
|
+
export declare const CardSpan: number;
|
3
|
+
export declare function useCarouselContext(): {
|
4
|
+
width: number;
|
5
|
+
visibleCards: number;
|
6
|
+
};
|
2
7
|
export declare function PageCarousel(props: {
|
3
8
|
children: ReactNode;
|
4
9
|
carouselId: string;
|
@@ -2,6 +2,7 @@ import { ReactNode } from 'react';
|
|
2
2
|
import { IPageAction } from '../PageActions/PageAction';
|
3
3
|
import { LabelColor } from '../components/pfcolors';
|
4
4
|
import { ITableColumn } from './PageTableColumn';
|
5
|
+
export declare const Small: import("styled-components").StyledComponent<"small", any, {}, never>;
|
5
6
|
export interface IPageTableCard {
|
6
7
|
id: string | number;
|
7
8
|
icon?: ReactNode;
|
@@ -11,6 +12,8 @@ export interface IPageTableCard {
|
|
11
12
|
labels?: {
|
12
13
|
label: string;
|
13
14
|
color?: LabelColor;
|
15
|
+
icon?: ReactNode;
|
16
|
+
variant?: 'outline' | 'filled' | undefined;
|
14
17
|
}[];
|
15
18
|
badge?: string;
|
16
19
|
badgeColor?: LabelColor;
|
@@ -20,6 +23,8 @@ export interface IPageTableCard {
|
|
20
23
|
alertContent?: ReactNode;
|
21
24
|
alertVariant?: 'success' | 'danger' | 'warning' | 'info' | 'default';
|
22
25
|
}
|
26
|
+
export declare const PageDetailDiv: import("styled-components").StyledComponent<"div", any, {}, never>;
|
27
|
+
export declare const ColumnsDiv: import("styled-components").StyledComponent<"div", any, {}, never>;
|
23
28
|
export declare function PageTableCard<T extends object>(props: {
|
24
29
|
item: T;
|
25
30
|
itemToCardFn: (item: T) => IPageTableCard;
|