@ansible/ansible-ui-framework 0.0.638 → 0.0.640
Sign up to get free protection for your applications and to get access to all the features.
- package/framework/utils/compare.d.ts +3 -3
- package/index.js +2015 -2072
- package/index.umd.cjs +30 -32
- package/package.json +1 -1
- package/framework/PageAlerts.d.ts +0 -14
package/package.json
CHANGED
@@ -1,14 +0,0 @@
|
|
1
|
-
import { AlertProps } from '@patternfly/react-core';
|
2
|
-
import { ReactNode } from 'react';
|
3
|
-
export interface IPageAlerts {
|
4
|
-
addAlert: (alert: AlertProps) => void;
|
5
|
-
removeAlert: (alert: AlertProps) => void;
|
6
|
-
replaceAlert: (oldAlert: AlertProps, newAlert: AlertProps) => void;
|
7
|
-
removeAlerts: (filter?: (alert: AlertProps) => boolean) => void;
|
8
|
-
}
|
9
|
-
export declare const PageAlertsContext: import("react").Context<IPageAlerts>;
|
10
|
-
export declare const PageAlertsArrayContext: import("react").Context<AlertProps[]>;
|
11
|
-
export declare function usePageAlerts(): IPageAlerts;
|
12
|
-
export declare function PageAlertsProvider(props: {
|
13
|
-
children: ReactNode;
|
14
|
-
}): JSX.Element;
|