@starasia/admin 1.3.0 → 1.3.2

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.
@@ -40,7 +40,7 @@ export type ChangeHandler = (params: {
40
40
  }) => void;
41
41
  export type ExtendedFilter = {
42
42
  minWidth?: string;
43
- title: string;
43
+ title?: string;
44
44
  content: React.ReactNode;
45
45
  onClickContainer?: () => void;
46
46
  };
@@ -0,0 +1,11 @@
1
+ import { BoxProps } from '@starasia/box';
2
+ import { default as React, PropsWithChildren } from 'react';
3
+
4
+ interface FullSectionProps extends PropsWithChildren {
5
+ height?: BoxProps['height'];
6
+ minHeight?: BoxProps['customMaxHeight'];
7
+ customHeight?: BoxProps['customHeight'];
8
+ paddingInline?: BoxProps['paddingInline'];
9
+ }
10
+ export declare const FullSection: React.FC<FullSectionProps>;
11
+ export {};
@@ -7,6 +7,15 @@ import { ReactNode } from 'react';
7
7
  export interface BaseRecord {
8
8
  id: number | string;
9
9
  }
10
+ export interface Pagination {
11
+ currentPage: number;
12
+ perPage: number;
13
+ totalPage: number;
14
+ totalData: number;
15
+ totalCurrentPage: number;
16
+ rangeStart?: number;
17
+ rangeEnd?: number;
18
+ }
10
19
  type Accessor<T> = keyof T | ((record: T) => React.ReactNode) | string;
11
20
  export interface ColumnFilter {
12
21
  options: {
@@ -25,3 +25,4 @@ export * from './FloatingFooter';
25
25
  export * from './VerticalField';
26
26
  export * from './PageState';
27
27
  export * from './Dialog';
28
+ export * from './FullSection';