@apexcura/ui-components 0.0.16-Beta75 → 0.0.16-Beta77

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.
@@ -13,7 +13,7 @@ type dropDownValueProps = {
13
13
  } | undefined;
14
14
  };
15
15
  type dropDownGroupProps = ElementType & {
16
- value: dropDownValueProps;
16
+ value?: dropDownValueProps;
17
17
  };
18
18
  export declare const DropDownGroup: (props: dropDownGroupProps) => React.JSX.Element;
19
19
  export {};
@@ -5,7 +5,7 @@ interface PaginationType {
5
5
  pageSize?: number;
6
6
  }
7
7
  interface TableElementProps extends ElementType {
8
- value?: PaginationType;
8
+ value?: PaginationType | null;
9
9
  }
10
10
  export declare const TableElement: (props: TableElementProps) => React.JSX.Element;
11
11
  export {};
@@ -2,6 +2,22 @@ import { UploadFile } from 'antd';
2
2
  import { SizeType } from 'antd/es/config-provider/SizeContext';
3
3
  import { TooltipPlacement } from 'antd/es/tooltip';
4
4
  import { CSSProperties } from 'react';
5
+ type PaginationType = {
6
+ page?: number;
7
+ pageSize?: number;
8
+ };
9
+ type dropDownValueProps = {
10
+ firstValue: {
11
+ key?: string | undefined;
12
+ label?: string | undefined;
13
+ value?: string | undefined;
14
+ } | undefined;
15
+ secondValue: {
16
+ key?: string | undefined;
17
+ label?: string | undefined;
18
+ value?: string | undefined;
19
+ } | undefined;
20
+ };
5
21
  export type ElementType = {
6
22
  accept?: string | undefined;
7
23
  max_count?: number | undefined;
@@ -20,7 +36,7 @@ export type ElementType = {
20
36
  prefix?: React.ReactNode;
21
37
  type?: string;
22
38
  size?: SizeType;
23
- value?: string | number | boolean | null | object | undefined | string[] | UploadFile[];
39
+ value?: string | number | boolean | null | object | undefined | string[] | UploadFile[] | PaginationType | dropDownValueProps;
24
40
  status?: 'error' | 'warning';
25
41
  styles?: React.CSSProperties;
26
42
  variant?: 'outlined' | 'borderless' | 'filled';
@@ -123,3 +139,4 @@ export type ElementType = {
123
139
  notificationType?: 'success' | 'info' | 'warning' | 'error';
124
140
  showProgress?: boolean;
125
141
  };
142
+ export {};