@majoo-ui/react 1.60.43 → 1.61.0-rc.10
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/components/form/components/InputCounter/InputCounter.d.ts +4 -0
- package/components/form/components/InputSignature/InputSignature.d.ts +12 -0
- package/components/form/components/InputSignature/SignatureModal.d.ts +11 -0
- package/components/form/components/InputSignature/index.d.ts +2 -0
- package/components/form/components/index.d.ts +2 -0
- package/components/table/Table.d.ts +4 -0
- package/index.esm.js +1852 -1598
- package/index.umd.js +1855 -1598
- package/package.json +3 -2
|
@@ -49,6 +49,10 @@ interface CounterProps {
|
|
|
49
49
|
* add suffix to input.
|
|
50
50
|
*/
|
|
51
51
|
suffix?: string;
|
|
52
|
+
/**
|
|
53
|
+
* disable manual input.
|
|
54
|
+
*/
|
|
55
|
+
disableManualInput?: boolean;
|
|
52
56
|
}
|
|
53
57
|
declare const InputCounter: React.ForwardRefExoticComponent<CounterProps & React.RefAttributes<unknown>>;
|
|
54
58
|
export default InputCounter;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CSS } from '@stitches/react';
|
|
3
|
+
interface InputSignatureProps {
|
|
4
|
+
onChange?: (value: string) => void;
|
|
5
|
+
title?: string;
|
|
6
|
+
defaultValue?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
css?: CSS;
|
|
9
|
+
isMobile?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function InputSignature({ title, onChange, defaultValue, disabled, css, isMobile, }: InputSignatureProps): JSX.Element;
|
|
12
|
+
export default InputSignature;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SignatureModalProps {
|
|
3
|
+
t: any;
|
|
4
|
+
open?: boolean;
|
|
5
|
+
onOpenChange?: (open: boolean) => void;
|
|
6
|
+
onSave?: (signature: string) => void;
|
|
7
|
+
title?: any;
|
|
8
|
+
isMobile?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const SignatureModal: React.FC<SignatureModalProps>;
|
|
11
|
+
export default SignatureModal;
|
|
@@ -1322,6 +1322,10 @@ export interface TableProps {
|
|
|
1322
1322
|
* Add additional table header component
|
|
1323
1323
|
*/
|
|
1324
1324
|
additionalHeader?: React.ReactNode;
|
|
1325
|
+
/**
|
|
1326
|
+
* Additional props for autoResetExpanded
|
|
1327
|
+
*/
|
|
1328
|
+
autoResetExpanded?: boolean;
|
|
1325
1329
|
}
|
|
1326
1330
|
export declare function Table({ columns, data: rawData, keyId, pageIndex: controlledPageIndex, totalPage, totalData, fetchData, hideDataInfo, rowsPerPageOptions, emptyDataMessage, customEmptyDataProps: emptyDataProps, isLoading, css, headerCss, hideHeader, onSelectedChange, isInfiniteScroll, hasMoreItems, rowLimit, cellAlign, selectedIds, rowGroup, decoration, hiddenColumns, columnOrder, customRowsStyle, isMobileLayout, showDuplicatedData, onRowClick, hidePagination, searchQuery, additionalExceptionIds, expanded: controlledExpanded, onExpandedChange, id, onColumnChange, virtualized, withoutLimit, additionalHeader, outerContainerCss, autoResetExpanded, }: TableProps): JSX.Element;
|
|
1327
1331
|
export interface TableColumnProps {
|