@oliasoft-open-source/react-ui-library 4.18.6 → 4.18.7-beta-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 CHANGED
@@ -1098,8 +1098,6 @@ The `List` component renders a list of data items with various customization opt
1098
1098
  | `hideScrollbar` | Determines whether to hide the scrollbar when scrolling. | `false` |
1099
1099
  | `triggerScrollToActiveItem` | Specifies whether scrolling should be triggered to display the active item. | `false` |
1100
1100
  | `infiniteScroll` | Specifies whether to enable infinite scroll functionality. | `false` |
1101
- | `limit` | The limit of items to load per page when using infinite scroll. | `10` |
1102
- | `infiniteScrollTarget` | The target element for infinite scroll (e.g., the list container). | - |
1103
1101
 
1104
1102
  ### Usage Example
1105
1103
 
@@ -1114,12 +1112,8 @@ The `List` component renders a list of data items with various customization opt
1114
1112
  height={300}
1115
1113
  testId="my-list"
1116
1114
  scrollDetails={{
1117
- scrollable: true,
1118
1115
  hideScrollbar: true,
1119
1116
  triggerScrollToActiveItem: true,
1120
- infiniteScroll: true,
1121
- limit: 10,
1122
- infiniteScrollTarget: document.getElementById('list-container'),
1123
1117
  }}
1124
1118
  />
1125
1119
  ```
@@ -1995,6 +1989,7 @@ The `Table` component renders tabular data with various customization options.
1995
1989
  | Prop | Description | Default Value |
1996
1990
  |-----------------------|--------------------------------------------------------------------------------------------------|---------------|
1997
1991
  | `onListReorder` | Function called when rows are reordered. | `() => {}` |
1992
+ | `canListReorder` | Function to compare `from` and `to` to determine if reordering is allowed. | `() => true` |
1998
1993
  | `table` | An object containing table configuration. | |
1999
1994
  | `table.name` | Name or title of the table. | |
2000
1995
  | `table.actionsRight` | Determines if actions should be displayed on the right side of the table. | `false` |