@oliasoft-open-source/react-ui-library 10.0.0-beta-37 → 10.0.0-beta-39
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/global.css +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.js +1002 -913
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -105,6 +105,12 @@ export declare const Column: ({ background, borderLeft, borderRight, children, f
|
|
|
105
105
|
|
|
106
106
|
export declare const Dialog: ({ dialog }: IDialogProps) => JSX.Element;
|
|
107
107
|
|
|
108
|
+
/**
|
|
109
|
+
* Skinny wrapper around Table that highlights row/cell differences between
|
|
110
|
+
* `table.rows` (current) and `compareRows` (previous).
|
|
111
|
+
*/
|
|
112
|
+
export declare const DiffTable: ({ table, compareRows, beforeRenderRow: beforeRenderRowProp, ...rest }: IDiffTableProps) => JSX.Element;
|
|
113
|
+
|
|
108
114
|
export declare const DiffViewer: ({ oldJson, newJson, viewType }: IDiffViewerProps) => JSX.Element;
|
|
109
115
|
|
|
110
116
|
export declare const DisabledContext: default_2.Context<boolean>;
|
|
@@ -500,6 +506,11 @@ export declare interface IDialogProps {
|
|
|
500
506
|
dialog: IDialog;
|
|
501
507
|
}
|
|
502
508
|
|
|
509
|
+
export declare interface IDiffTableProps extends Omit<ITableProps, 'table'> {
|
|
510
|
+
table: ITableTableProps;
|
|
511
|
+
compareRows: TRowsType;
|
|
512
|
+
}
|
|
513
|
+
|
|
503
514
|
export declare type IDiffViewerProps = {
|
|
504
515
|
oldJson: string;
|
|
505
516
|
newJson: string;
|
|
@@ -2367,6 +2378,7 @@ export declare enum TriggerType {
|
|
|
2367
2378
|
declare type TRowsType = TRowType[];
|
|
2368
2379
|
|
|
2369
2380
|
declare type TRowType = {
|
|
2381
|
+
id?: TStringOrNumber;
|
|
2370
2382
|
cells: TCellShape[];
|
|
2371
2383
|
actions?: any[];
|
|
2372
2384
|
testId?: string;
|