@oliasoft-open-source/react-ui-library 4.18.0-beta-5 → 4.18.0-beta-7
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 +0 -8
- package/dist/global.css +135 -122
- package/dist/index.d.ts +25 -38
- package/dist/index.js +1080 -707
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1128,12 +1128,8 @@ export declare interface IRowProps {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
1130
|
declare interface IScrollDetails {
|
|
1131
|
-
scrollable?: boolean;
|
|
1132
1131
|
hideScrollbar?: boolean;
|
|
1133
1132
|
triggerScrollToActiveItem?: boolean;
|
|
1134
|
-
infiniteScroll?: boolean;
|
|
1135
|
-
infiniteScrollTarget?: string;
|
|
1136
|
-
limit?: number;
|
|
1137
1133
|
}
|
|
1138
1134
|
|
|
1139
1135
|
declare interface ISelectCell extends TCommonCell {
|
|
@@ -1197,15 +1193,6 @@ declare interface ISelectSelectedOption {
|
|
|
1197
1193
|
testId?: string;
|
|
1198
1194
|
}
|
|
1199
1195
|
|
|
1200
|
-
export declare interface ISettingFieldProps {
|
|
1201
|
-
helpText: string;
|
|
1202
|
-
children: ReactNode;
|
|
1203
|
-
active?: boolean;
|
|
1204
|
-
noPermission?: boolean;
|
|
1205
|
-
selectedOption?: 'all_users' | 'superusers_admin';
|
|
1206
|
-
handleSelectChange?: (value: 'all_users' | 'superusers_admin') => void;
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1209
1196
|
export declare interface ISideBarProps {
|
|
1210
1197
|
options: {
|
|
1211
1198
|
title: string;
|
|
@@ -1346,28 +1333,30 @@ export declare interface ITableProps {
|
|
|
1346
1333
|
from: number;
|
|
1347
1334
|
to: number;
|
|
1348
1335
|
}) => void;
|
|
1349
|
-
table:
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1336
|
+
table: ITableTableProps;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
declare interface ITableTableProps {
|
|
1340
|
+
name?: TStringOrNumber | ReactNode;
|
|
1341
|
+
actionsRight?: boolean;
|
|
1342
|
+
fixedWidth?: TStringOrNumber;
|
|
1343
|
+
maxHeight?: TStringOrNumber;
|
|
1344
|
+
columnWidths?: string[];
|
|
1345
|
+
className?: string;
|
|
1346
|
+
columnHeaderAlignments?: Array<TAlign | string>;
|
|
1347
|
+
columnAlignment?: Array<TAlign | string>;
|
|
1348
|
+
infiniteScroll?: boolean;
|
|
1349
|
+
headers?: any[];
|
|
1350
|
+
rows?: TRowsType;
|
|
1351
|
+
footer?: IFooterProps;
|
|
1352
|
+
draggable?: boolean;
|
|
1353
|
+
bordered?: boolean;
|
|
1354
|
+
striped?: boolean;
|
|
1355
|
+
testId?: string;
|
|
1356
|
+
onAddRow?: any;
|
|
1357
|
+
defaultEmptyRow?: any;
|
|
1358
|
+
stickyHeaders?: string | boolean;
|
|
1359
|
+
actions?: any;
|
|
1371
1360
|
}
|
|
1372
1361
|
|
|
1373
1362
|
declare interface ITabOption {
|
|
@@ -1613,7 +1602,7 @@ declare interface IUnitTable extends Omit<ITableProps['table'], 'rows'> {
|
|
|
1613
1602
|
declare interface IUnitTableCell {
|
|
1614
1603
|
autoUnit: boolean;
|
|
1615
1604
|
unitKey: string;
|
|
1616
|
-
formatDisplayValue?: (value: TStringNumberNull) => TStringNumberNull;
|
|
1605
|
+
formatDisplayValue?: (value: TStringNumberNull, selectedUnit: string) => TStringNumberNull;
|
|
1617
1606
|
}
|
|
1618
1607
|
|
|
1619
1608
|
declare interface IUnitTableInputCell extends IInputCell, IUnitTableCell {
|
|
@@ -1713,8 +1702,6 @@ export declare const Row: ({ alignItems, justifyContent, children, flex, height,
|
|
|
1713
1702
|
|
|
1714
1703
|
export declare const Select: (props: ISelectProps) => JSX_2.Element;
|
|
1715
1704
|
|
|
1716
|
-
export declare const SettingField: ({ helpText, active, children, noPermission, selectedOption, handleSelectChange, }: ISettingFieldProps) => JSX_2.Element;
|
|
1717
|
-
|
|
1718
1705
|
export declare const SideBar: default_2.MemoExoticComponent<({ options, startOpen, onShiftClickToggleOpen, top, }: ISideBarProps) => JSX_2.Element>;
|
|
1719
1706
|
|
|
1720
1707
|
export declare const Slider: ({ name, label, width, labelWidth, value, min, max, step, marks, showArrows, showTooltip, tooltipFormatter, disabled, range, small, vertical, onChange, }: ISliderProps) => JSX_2.Element;
|