@oliasoft-open-source/react-ui-library 4.18.0-beta-12 → 4.18.0

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/index.d.ts CHANGED
@@ -670,8 +670,6 @@ declare interface IListItem {
670
670
  disabled?: boolean;
671
671
  onClick?: (evt: any) => void;
672
672
  title?: string;
673
- details?: string;
674
- metadata?: string;
675
673
  testId?: string;
676
674
  level?: number;
677
675
  label?: ILabel;
@@ -1130,8 +1128,12 @@ export declare interface IRowProps {
1130
1128
  }
1131
1129
 
1132
1130
  declare interface IScrollDetails {
1131
+ scrollable?: boolean;
1133
1132
  hideScrollbar?: boolean;
1134
1133
  triggerScrollToActiveItem?: boolean;
1134
+ infiniteScroll?: boolean;
1135
+ infiniteScrollTarget?: string;
1136
+ limit?: number;
1135
1137
  }
1136
1138
 
1137
1139
  declare interface ISelectCell extends TCommonCell {
@@ -1195,6 +1197,15 @@ declare interface ISelectSelectedOption {
1195
1197
  testId?: string;
1196
1198
  }
1197
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
+
1198
1209
  export declare interface ISideBarProps {
1199
1210
  options: {
1200
1211
  title: string;
@@ -1335,30 +1346,28 @@ export declare interface ITableProps {
1335
1346
  from: number;
1336
1347
  to: number;
1337
1348
  }) => void;
1338
- table: ITableTableProps;
1339
- }
1340
-
1341
- declare interface ITableTableProps {
1342
- name?: TStringOrNumber | ReactNode;
1343
- actionsRight?: boolean;
1344
- fixedWidth?: TStringOrNumber;
1345
- maxHeight?: TStringOrNumber;
1346
- columnWidths?: string[];
1347
- className?: string;
1348
- columnHeaderAlignments?: Array<TAlign | string>;
1349
- columnAlignment?: Array<TAlign | string>;
1350
- infiniteScroll?: boolean;
1351
- headers?: any[];
1352
- rows?: TRowsType;
1353
- footer?: IFooterProps;
1354
- draggable?: boolean;
1355
- bordered?: boolean;
1356
- striped?: boolean;
1357
- testId?: string;
1358
- onAddRow?: any;
1359
- defaultEmptyRow?: any;
1360
- stickyHeaders?: string | boolean;
1361
- 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
+ };
1362
1371
  }
1363
1372
 
1364
1373
  declare interface ITabOption {
@@ -1704,6 +1713,8 @@ export declare const Row: ({ alignItems, justifyContent, children, flex, height,
1704
1713
 
1705
1714
  export declare const Select: (props: ISelectProps) => JSX_2.Element;
1706
1715
 
1716
+ export declare const SettingField: ({ helpText, active, children, noPermission, selectedOption, handleSelectChange, }: ISettingFieldProps) => JSX_2.Element;
1717
+
1707
1718
  export declare const SideBar: default_2.MemoExoticComponent<({ options, startOpen, onShiftClickToggleOpen, top, }: ISideBarProps) => JSX_2.Element>;
1708
1719
 
1709
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;