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