@apexcura/ui-components 0.0.15-Beta58 → 0.0.15-Beta59

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/index.d.mts CHANGED
@@ -3,6 +3,10 @@ import { SizeType } from 'antd/es/config-provider/SizeContext';
3
3
  import { UploadFile } from 'antd/lib/upload/interface';
4
4
  import { CheckboxOptionType } from 'antd';
5
5
 
6
+ type pagenationType = {
7
+ page?: number;
8
+ pageSize?: number;
9
+ };
6
10
  type ElementType$1 = {
7
11
  [x: string]: any;
8
12
  selectedStyle?: boolean;
@@ -17,7 +21,7 @@ type ElementType$1 = {
17
21
  firstValue?: string;
18
22
  secondValue?: string;
19
23
  size?: SizeType;
20
- value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile<any>[];
24
+ value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile[] | pagenationType;
21
25
  status?: "error" | "warning";
22
26
  styles?: React.CSSProperties;
23
27
  variant?: "outlined" | "borderless" | "filled";
@@ -132,14 +136,7 @@ declare const Sidebar: (props: ElementType$1) => React$1.JSX.Element;
132
136
 
133
137
  declare const Navbar: (props: ElementType$1) => React$1.JSX.Element;
134
138
 
135
- interface PaginationType {
136
- page?: number;
137
- pageSize?: number;
138
- }
139
- interface TableElementProps extends ElementType$1 {
140
- value?: PaginationType;
141
- }
142
- declare const TableElement: (props: TableElementProps) => React$1.JSX.Element;
139
+ declare const TableElement: (props: ElementType$1) => React$1.JSX.Element;
143
140
 
144
141
  declare const DatePickerElement: (props: ElementType$1) => React$1.JSX.Element;
145
142
 
package/dist/index.d.ts CHANGED
@@ -3,6 +3,10 @@ import { SizeType } from 'antd/es/config-provider/SizeContext';
3
3
  import { UploadFile } from 'antd/lib/upload/interface';
4
4
  import { CheckboxOptionType } from 'antd';
5
5
 
6
+ type pagenationType = {
7
+ page?: number;
8
+ pageSize?: number;
9
+ };
6
10
  type ElementType$1 = {
7
11
  [x: string]: any;
8
12
  selectedStyle?: boolean;
@@ -17,7 +21,7 @@ type ElementType$1 = {
17
21
  firstValue?: string;
18
22
  secondValue?: string;
19
23
  size?: SizeType;
20
- value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile<any>[];
24
+ value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile[] | pagenationType;
21
25
  status?: "error" | "warning";
22
26
  styles?: React.CSSProperties;
23
27
  variant?: "outlined" | "borderless" | "filled";
@@ -132,14 +136,7 @@ declare const Sidebar: (props: ElementType$1) => React$1.JSX.Element;
132
136
 
133
137
  declare const Navbar: (props: ElementType$1) => React$1.JSX.Element;
134
138
 
135
- interface PaginationType {
136
- page?: number;
137
- pageSize?: number;
138
- }
139
- interface TableElementProps extends ElementType$1 {
140
- value?: PaginationType;
141
- }
142
- declare const TableElement: (props: TableElementProps) => React$1.JSX.Element;
139
+ declare const TableElement: (props: ElementType$1) => React$1.JSX.Element;
143
140
 
144
141
  declare const DatePickerElement: (props: ElementType$1) => React$1.JSX.Element;
145
142
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.15-Beta58",
3
+ "version": "0.0.15-Beta59",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",