@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.
@@ -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 ErrorContent: import("@linaria/react").StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
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 WidgetErrorContentProps = {
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 WidgetErrorContent: React.FunctionComponent<WidgetErrorContentProps>;
18
- export default WidgetErrorContent;
17
+ export declare const ErrorContent: React.FunctionComponent<ErrorContentProps>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ type Props = {
3
+ value: string;
4
+ children: React.ReactNode;
5
+ };
6
+ export declare const PathWithCopy: React.FC<Props>;
7
+ export {};
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
- import { WidgetErrorContentProps } from 'src/components/ErrorContent';
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?: WidgetErrorContentProps;
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';