@oliasoft-open-source/react-ui-library 4.18.0-beta-3 → 4.18.0-beta-4
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 +38 -24
- package/dist/index.js +706 -1079
- 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 {
|
|
@@ -1193,6 +1197,16 @@ declare interface ISelectSelectedOption {
|
|
|
1193
1197
|
testId?: string;
|
|
1194
1198
|
}
|
|
1195
1199
|
|
|
1200
|
+
export declare interface ISettingFieldProps {
|
|
1201
|
+
helpText: string;
|
|
1202
|
+
children: ReactNode;
|
|
1203
|
+
active?: boolean;
|
|
1204
|
+
noPermission?: boolean;
|
|
1205
|
+
isLastField?: boolean;
|
|
1206
|
+
selectedOption?: 'all_users' | 'superusers_admin';
|
|
1207
|
+
handleSelectChange?: (value: 'all_users' | 'superusers_admin') => void;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1196
1210
|
export declare interface ISideBarProps {
|
|
1197
1211
|
options: {
|
|
1198
1212
|
title: string;
|
|
@@ -1333,30 +1347,28 @@ export declare interface ITableProps {
|
|
|
1333
1347
|
from: number;
|
|
1334
1348
|
to: number;
|
|
1335
1349
|
}) => 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;
|
|
1350
|
+
table: {
|
|
1351
|
+
name?: TStringOrNumber | ReactNode;
|
|
1352
|
+
actionsRight?: boolean;
|
|
1353
|
+
fixedWidth?: TStringOrNumber;
|
|
1354
|
+
maxHeight?: TStringOrNumber;
|
|
1355
|
+
columnWidths?: string[];
|
|
1356
|
+
className?: string;
|
|
1357
|
+
columnHeaderAlignments?: Array<TAlign | string>;
|
|
1358
|
+
columnAlignment?: Array<TAlign | string>;
|
|
1359
|
+
infiniteScroll?: boolean;
|
|
1360
|
+
headers?: any[];
|
|
1361
|
+
rows?: TRowsType;
|
|
1362
|
+
footer?: IFooterProps;
|
|
1363
|
+
draggable?: boolean;
|
|
1364
|
+
bordered?: boolean;
|
|
1365
|
+
striped?: boolean;
|
|
1366
|
+
testId?: string;
|
|
1367
|
+
onAddRow?: any;
|
|
1368
|
+
defaultEmptyRow?: any;
|
|
1369
|
+
stickyHeaders?: string | boolean;
|
|
1370
|
+
actions?: any;
|
|
1371
|
+
};
|
|
1360
1372
|
}
|
|
1361
1373
|
|
|
1362
1374
|
declare interface ITabOption {
|
|
@@ -1702,6 +1714,8 @@ export declare const Row: ({ alignItems, justifyContent, children, flex, height,
|
|
|
1702
1714
|
|
|
1703
1715
|
export declare const Select: (props: ISelectProps) => JSX_2.Element;
|
|
1704
1716
|
|
|
1717
|
+
export declare const SettingField: ({ helpText, active, children, isLastField, noPermission, selectedOption, handleSelectChange, }: ISettingFieldProps) => JSX_2.Element;
|
|
1718
|
+
|
|
1705
1719
|
export declare const SideBar: default_2.MemoExoticComponent<({ options, startOpen, onShiftClickToggleOpen, top, }: ISideBarProps) => JSX_2.Element>;
|
|
1706
1720
|
|
|
1707
1721
|
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;
|