@apexcura/ui-components 0.0.16-Beta76 → 0.0.16-Beta78

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 | undefined;
16
+ value?: dropDownValueProps;
17
17
  };
18
18
  export declare const DropDownGroup: (props: dropDownGroupProps) => React.JSX.Element;
19
19
  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';
@@ -112,7 +128,7 @@ export type ElementType = {
112
128
  is_detail?: boolean;
113
129
  checkedChildren?: string;
114
130
  unCheckedChildren?: string;
115
- dateTime?: string;
131
+ dateTime?: boolean;
116
132
  minRows?: number;
117
133
  maxRows?: number;
118
134
  mode?: 'multiple' | 'tags' | undefined;
@@ -123,3 +139,4 @@ export type ElementType = {
123
139
  notificationType?: 'success' | 'info' | 'warning' | 'error';
124
140
  showProgress?: boolean;
125
141
  };
142
+ export {};