@starasia/admin 3.2.3 → 3.2.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.
- package/dist/components/RightDrawer/index.d.ts +3 -0
- package/dist/components/TableSection/components/DataTable.d.ts +1 -1
- package/dist/components/TableSection/types.d.ts +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1669 -1669
- package/dist/index.umd.js +1 -1
- package/package.json +3 -3
|
@@ -13,6 +13,9 @@ export interface RightDrawerProps {
|
|
|
13
13
|
children: ReactNode;
|
|
14
14
|
closeButton?: CloseButton | null | false;
|
|
15
15
|
paddingHorizontal?: boolean;
|
|
16
|
+
width?: CSSProperties["width"];
|
|
17
|
+
minWidth?: CSSProperties["minWidth"];
|
|
18
|
+
maxWidth?: CSSProperties["maxWidth"];
|
|
16
19
|
}
|
|
17
20
|
export declare const RightDrawer: React.ForwardRefExoticComponent<RightDrawerProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
21
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { BaseRecord, DataTableProps } from '../types';
|
|
3
3
|
|
|
4
|
-
export declare const DataTable: <T extends BaseRecord>({ columns, records, handleDetail, handleUpdate, handleDelete, isLoading, visibleHandleDelete, visibleHandleUpdate, visibleHandleDetail, showHeadBorder, scrollParentRef, frozenCount, onFrozenCountChange, customActions, actionsOrder, customEmptyState, enableColumnResize, defaultColumnWidths, onColumnWidthsChange, defaultMinColumnWidth, sort, defaultSort, onSortChange }: DataTableProps<T>) => React.JSX.Element;
|
|
4
|
+
export declare const DataTable: <T extends BaseRecord>({ columns, records, handleDetail, handleUpdate, handleDelete, isLoading, visibleHandleDelete, visibleHandleUpdate, visibleHandleDetail, showHeadBorder, scrollParentRef, frozenCount, onFrozenCountChange, customActions, actionsOrder, customEmptyState, enableColumnResize, defaultColumnWidths, onColumnWidthsChange, defaultMinColumnWidth, sort, defaultSort, onSortChange, showActionDivider }: DataTableProps<T>) => React.JSX.Element;
|
|
@@ -80,6 +80,7 @@ export interface DataTableProps<T extends BaseRecord> {
|
|
|
80
80
|
sort?: SortState | null;
|
|
81
81
|
defaultSort?: SortState | null;
|
|
82
82
|
onSortChange?: (sort: SortState | null) => void;
|
|
83
|
+
showActionDivider?: boolean;
|
|
83
84
|
}
|
|
84
85
|
export type WrapperProps = {
|
|
85
86
|
children: React.ReactNode;
|