@ansible/ansible-ui-framework 2.4.282 → 2.4.284

Sign up to get free protection for your applications and to get access to all the features.
@@ -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;