@dovetail-v2/refine 0.4.4 → 0.4.5
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/components/ErrorContent/index.d.ts +3 -4
- package/dist/components/IngressRulesComponent/PathWithCopy.d.ts +7 -0
- package/dist/components/Table/index.d.ts +2 -2
- package/dist/components/index.d.ts +0 -1
- package/dist/refine.cjs +195 -188
- package/dist/refine.js +195 -188
- package/dist/style.css +42 -27
- package/package.json +1 -1
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const ErrorWrapper: import("@linaria/react").StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const ErrorContentBody: import("@linaria/react").StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
4
4
|
export declare enum ErrorContentType {
|
|
5
5
|
List = "list",
|
|
6
6
|
Card = "card",
|
|
7
7
|
Widget = "widget",
|
|
8
8
|
Item = "item"
|
|
9
9
|
}
|
|
10
|
-
export type
|
|
10
|
+
export type ErrorContentProps = {
|
|
11
11
|
className?: string;
|
|
12
12
|
style?: React.CSSProperties;
|
|
13
13
|
errorText?: React.ReactNode;
|
|
14
14
|
type?: ErrorContentType;
|
|
15
15
|
refetch?: () => void;
|
|
16
16
|
};
|
|
17
|
-
declare const
|
|
18
|
-
export default WidgetErrorContent;
|
|
17
|
+
export declare const ErrorContent: React.FunctionComponent<ErrorContentProps>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { ErrorContentProps } from 'src/components/ErrorContent';
|
|
3
3
|
import { InternalTableProps } from 'src/components/InternalBaseTable';
|
|
4
4
|
import { ResourceModel } from 'src/models';
|
|
5
5
|
interface TableProps<Model extends ResourceModel> {
|
|
6
6
|
tableProps: InternalTableProps<Model>;
|
|
7
7
|
displayName: string;
|
|
8
|
-
errorContentProps?:
|
|
8
|
+
errorContentProps?: ErrorContentProps;
|
|
9
9
|
isSearching?: boolean;
|
|
10
10
|
}
|
|
11
11
|
export declare function Table<Model extends ResourceModel>(props: TableProps<Model>): JSX.Element;
|
|
@@ -52,7 +52,6 @@ export * from './ResourceSelect';
|
|
|
52
52
|
export * from './PodShellModal';
|
|
53
53
|
export * from './ResourceTable';
|
|
54
54
|
export * from './ErrorContent';
|
|
55
|
-
export { default as WidgetErrorContent } from './ErrorContent';
|
|
56
55
|
export * from './KeyValueTableForm';
|
|
57
56
|
export * from './MatchLabelSelector';
|
|
58
57
|
export * from './PortsConfigForm';
|