@oliasoft-open-source/react-ui-library 4.17.0-beta-3 → 4.17.1
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/README.md +8 -0
- package/dist/global.css +122 -135
- package/dist/index.d.ts +27 -25
- package/dist/index.js +701 -1077
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1128,8 +1128,12 @@ export declare interface IRowProps {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
1130
|
declare interface IScrollDetails {
|
|
1131
|
+
scrollable?: boolean;
|
|
1131
1132
|
hideScrollbar?: boolean;
|
|
1132
1133
|
triggerScrollToActiveItem?: boolean;
|
|
1134
|
+
infiniteScroll?: boolean;
|
|
1135
|
+
infiniteScrollTarget?: string;
|
|
1136
|
+
limit?: number;
|
|
1133
1137
|
}
|
|
1134
1138
|
|
|
1135
1139
|
declare interface ISelectCell extends TCommonCell {
|
|
@@ -1333,30 +1337,28 @@ export declare interface ITableProps {
|
|
|
1333
1337
|
from: number;
|
|
1334
1338
|
to: number;
|
|
1335
1339
|
}) => void;
|
|
1336
|
-
table:
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
stickyHeaders?: string | boolean;
|
|
1359
|
-
actions?: any;
|
|
1340
|
+
table: {
|
|
1341
|
+
name?: TStringOrNumber | ReactNode;
|
|
1342
|
+
actionsRight?: boolean;
|
|
1343
|
+
fixedWidth?: TStringOrNumber;
|
|
1344
|
+
maxHeight?: TStringOrNumber;
|
|
1345
|
+
columnWidths?: string[];
|
|
1346
|
+
className?: string;
|
|
1347
|
+
columnHeaderAlignments?: Array<TAlign | string>;
|
|
1348
|
+
columnAlignment?: Array<TAlign | string>;
|
|
1349
|
+
infiniteScroll?: boolean;
|
|
1350
|
+
headers?: any[];
|
|
1351
|
+
rows?: TRowsType;
|
|
1352
|
+
footer?: IFooterProps;
|
|
1353
|
+
draggable?: boolean;
|
|
1354
|
+
bordered?: boolean;
|
|
1355
|
+
striped?: boolean;
|
|
1356
|
+
testId?: string;
|
|
1357
|
+
onAddRow?: any;
|
|
1358
|
+
defaultEmptyRow?: any;
|
|
1359
|
+
stickyHeaders?: string | boolean;
|
|
1360
|
+
actions?: any;
|
|
1361
|
+
};
|
|
1360
1362
|
}
|
|
1361
1363
|
|
|
1362
1364
|
declare interface ITabOption {
|
|
@@ -1602,7 +1604,7 @@ declare interface IUnitTable extends Omit<ITableProps['table'], 'rows'> {
|
|
|
1602
1604
|
declare interface IUnitTableCell {
|
|
1603
1605
|
autoUnit: boolean;
|
|
1604
1606
|
unitKey: string;
|
|
1605
|
-
formatDisplayValue?: (value: TStringNumberNull) => TStringNumberNull;
|
|
1607
|
+
formatDisplayValue?: (value: TStringNumberNull, selectedUnit: string) => TStringNumberNull;
|
|
1606
1608
|
}
|
|
1607
1609
|
|
|
1608
1610
|
declare interface IUnitTableInputCell extends IInputCell, IUnitTableCell {
|