@majoo-ui/react 1.58.19 → 1.58.20-rc.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.
- package/components/modalDialog/ModalDialog.d.ts +26 -10
- package/components/table/Table.d.ts +14 -1
- package/index.esm.js +521 -337
- package/index.umd.js +574 -355
- package/package.json +2 -2
|
@@ -54,7 +54,9 @@ export declare const ModalDialogFooter: import("@stitches/react/types/styled-com
|
|
|
54
54
|
}) => {
|
|
55
55
|
marginBottom: {
|
|
56
56
|
readonly [$$ScaleValue]: "space";
|
|
57
|
-
};
|
|
57
|
+
}; /**
|
|
58
|
+
* @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
|
|
59
|
+
*/
|
|
58
60
|
};
|
|
59
61
|
ml: (value: {
|
|
60
62
|
readonly [$$ScaleValue]: "space";
|
|
@@ -150,7 +152,9 @@ export declare const ModalDialogTitle: import("@stitches/react/types/styled-comp
|
|
|
150
152
|
}) => {
|
|
151
153
|
marginBottom: {
|
|
152
154
|
readonly [$$ScaleValue]: "space";
|
|
153
|
-
};
|
|
155
|
+
}; /**
|
|
156
|
+
* @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
|
|
157
|
+
*/
|
|
154
158
|
};
|
|
155
159
|
ml: (value: {
|
|
156
160
|
readonly [$$ScaleValue]: "space";
|
|
@@ -246,7 +250,9 @@ export declare const ModalDialogContent: import("@stitches/react/types/styled-co
|
|
|
246
250
|
}) => {
|
|
247
251
|
marginBottom: {
|
|
248
252
|
readonly [$$ScaleValue]: "space";
|
|
249
|
-
};
|
|
253
|
+
}; /**
|
|
254
|
+
* @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
|
|
255
|
+
*/
|
|
250
256
|
};
|
|
251
257
|
ml: (value: {
|
|
252
258
|
readonly [$$ScaleValue]: "space";
|
|
@@ -290,7 +296,7 @@ export declare const ModalDialogContent: import("@stitches/react/types/styled-co
|
|
|
290
296
|
backgroundColor: string;
|
|
291
297
|
};
|
|
292
298
|
}>>;
|
|
293
|
-
export declare const ModalDialogTrigger: import("@stitches/react/types/styled-component").StyledComponent<"
|
|
299
|
+
export declare const ModalDialogTrigger: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>, {}, {
|
|
294
300
|
sm: "(min-width: 359px)";
|
|
295
301
|
md: "(min-width: 767px)";
|
|
296
302
|
lg: "(min-width: 1023px)";
|
|
@@ -342,7 +348,9 @@ export declare const ModalDialogTrigger: import("@stitches/react/types/styled-co
|
|
|
342
348
|
}) => {
|
|
343
349
|
marginBottom: {
|
|
344
350
|
readonly [$$ScaleValue]: "space";
|
|
345
|
-
};
|
|
351
|
+
}; /**
|
|
352
|
+
* @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
|
|
353
|
+
*/
|
|
346
354
|
};
|
|
347
355
|
ml: (value: {
|
|
348
356
|
readonly [$$ScaleValue]: "space";
|
|
@@ -429,7 +437,7 @@ interface ModalDialogProps extends Omit<IDialog, 'children'>, DialogContentProps
|
|
|
429
437
|
*/
|
|
430
438
|
declare const ModalDialog: {
|
|
431
439
|
(props: ModalDialogProps): JSX.Element;
|
|
432
|
-
Trigger: import("@stitches/react/types/styled-component").StyledComponent<"
|
|
440
|
+
Trigger: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>, {}, {
|
|
433
441
|
sm: "(min-width: 359px)";
|
|
434
442
|
md: "(min-width: 767px)";
|
|
435
443
|
lg: "(min-width: 1023px)";
|
|
@@ -481,7 +489,9 @@ declare const ModalDialog: {
|
|
|
481
489
|
}) => {
|
|
482
490
|
marginBottom: {
|
|
483
491
|
readonly [$$ScaleValue]: "space";
|
|
484
|
-
};
|
|
492
|
+
}; /**
|
|
493
|
+
* @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
|
|
494
|
+
*/
|
|
485
495
|
};
|
|
486
496
|
ml: (value: {
|
|
487
497
|
readonly [$$ScaleValue]: "space";
|
|
@@ -577,7 +587,9 @@ declare const ModalDialog: {
|
|
|
577
587
|
}) => {
|
|
578
588
|
marginBottom: {
|
|
579
589
|
readonly [$$ScaleValue]: "space";
|
|
580
|
-
};
|
|
590
|
+
}; /**
|
|
591
|
+
* @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
|
|
592
|
+
*/
|
|
581
593
|
};
|
|
582
594
|
ml: (value: {
|
|
583
595
|
readonly [$$ScaleValue]: "space";
|
|
@@ -673,7 +685,9 @@ declare const ModalDialog: {
|
|
|
673
685
|
}) => {
|
|
674
686
|
marginBottom: {
|
|
675
687
|
readonly [$$ScaleValue]: "space";
|
|
676
|
-
};
|
|
688
|
+
}; /**
|
|
689
|
+
* @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
|
|
690
|
+
*/
|
|
677
691
|
};
|
|
678
692
|
ml: (value: {
|
|
679
693
|
readonly [$$ScaleValue]: "space";
|
|
@@ -769,7 +783,9 @@ declare const ModalDialog: {
|
|
|
769
783
|
}) => {
|
|
770
784
|
marginBottom: {
|
|
771
785
|
readonly [$$ScaleValue]: "space";
|
|
772
|
-
};
|
|
786
|
+
}; /**
|
|
787
|
+
* @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
|
|
788
|
+
*/
|
|
773
789
|
};
|
|
774
790
|
ml: (value: {
|
|
775
791
|
readonly [$$ScaleValue]: "space";
|
|
@@ -1280,8 +1280,17 @@ export interface TableProps {
|
|
|
1280
1280
|
* Callback fired when the expanded rows are updated.
|
|
1281
1281
|
*/
|
|
1282
1282
|
onExpand?: (expanded: object) => void;
|
|
1283
|
+
/**
|
|
1284
|
+
* Additional id table for unique identifier each table
|
|
1285
|
+
*/
|
|
1286
|
+
id?: string | null;
|
|
1287
|
+
/**
|
|
1288
|
+
* Option for customize column to show in table <br />
|
|
1289
|
+
* can be filled with 'string' value eg: 'product_table'
|
|
1290
|
+
*/
|
|
1291
|
+
customizableColumn?: string | null;
|
|
1283
1292
|
}
|
|
1284
|
-
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, onExpand, }: TableProps): JSX.Element;
|
|
1293
|
+
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, onExpand, id, customizableColumn, }: TableProps): JSX.Element;
|
|
1285
1294
|
export interface TableColumnProps {
|
|
1286
1295
|
/**
|
|
1287
1296
|
* Required if accessor is a function<br/>
|
|
@@ -1340,6 +1349,10 @@ export interface TableColumnProps {
|
|
|
1340
1349
|
* If true, the column will be rendered on the bottom flex of mobile layout.
|
|
1341
1350
|
*/
|
|
1342
1351
|
isAction?: boolean;
|
|
1352
|
+
/**
|
|
1353
|
+
* if true, the column that sticky will be styled with box shadow
|
|
1354
|
+
*/
|
|
1355
|
+
shadow?: boolean;
|
|
1343
1356
|
/**
|
|
1344
1357
|
* Additional column header styles css.
|
|
1345
1358
|
*/
|