@cagatayfdn/flora-components 0.0.165 → 0.0.166

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.mts CHANGED
@@ -1604,10 +1604,13 @@ export declare type TableProps = {
1604
1604
  rowSelection?: boolean;
1605
1605
  rowSelectionChange?: (value: any) => void;
1606
1606
  columnRenderer?: (columns: ColumnsType[], item: any) => JSX.Element[];
1607
+ rowRenderer?: (item: any, index: number) => ReactNode;
1607
1608
  fixedHeader?: boolean;
1608
1609
  customHeader?: ReactNode;
1609
1610
  scrollClass?: string;
1610
1611
  expandable?: ExpandableType;
1612
+ /** Enable react-virtuoso row virtualization. Pass `true` for defaults or an object to configure. */
1613
+ virtualized?: boolean | VirtualizedType;
1611
1614
  } & TableHeaderProps;
1612
1615
 
1613
1616
  export declare const TableSort: (props: TableSortProps) => JSX_2.Element;
@@ -2013,4 +2016,13 @@ export declare type ValidationErrorProps = {
2013
2016
  message: string;
2014
2017
  };
2015
2018
 
2019
+ declare type VirtualizedType = {
2020
+ /** Height of the scrollable viewport. Required for virtualization to work. Defaults to 400. */
2021
+ height?: string | number;
2022
+ /** Extra rows rendered above/below the visible area. */
2023
+ overscan?: number;
2024
+ /** Enlarge the rendered viewport in px (top/bottom) to reduce blank flashes while scrolling. */
2025
+ increaseViewportBy?: number;
2026
+ };
2027
+
2016
2028
  export { }
package/dist/index.d.ts CHANGED
@@ -1604,10 +1604,13 @@ export declare type TableProps = {
1604
1604
  rowSelection?: boolean;
1605
1605
  rowSelectionChange?: (value: any) => void;
1606
1606
  columnRenderer?: (columns: ColumnsType[], item: any) => JSX.Element[];
1607
+ rowRenderer?: (item: any, index: number) => ReactNode;
1607
1608
  fixedHeader?: boolean;
1608
1609
  customHeader?: ReactNode;
1609
1610
  scrollClass?: string;
1610
1611
  expandable?: ExpandableType;
1612
+ /** Enable react-virtuoso row virtualization. Pass `true` for defaults or an object to configure. */
1613
+ virtualized?: boolean | VirtualizedType;
1611
1614
  } & TableHeaderProps;
1612
1615
 
1613
1616
  export declare const TableSort: (props: TableSortProps) => JSX_2.Element;
@@ -2013,4 +2016,13 @@ export declare type ValidationErrorProps = {
2013
2016
  message: string;
2014
2017
  };
2015
2018
 
2019
+ declare type VirtualizedType = {
2020
+ /** Height of the scrollable viewport. Required for virtualization to work. Defaults to 400. */
2021
+ height?: string | number;
2022
+ /** Extra rows rendered above/below the visible area. */
2023
+ overscan?: number;
2024
+ /** Enlarge the rendered viewport in px (top/bottom) to reduce blank flashes while scrolling. */
2025
+ increaseViewportBy?: number;
2026
+ };
2027
+
2016
2028
  export { }
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ import { default as ue } from "./components/Datepicker/Datepicker.js";
24
24
  import { default as ne } from "./components/Divider/Divider.js";
25
25
  import { default as Te } from "./components/Drawer/index.js";
26
26
  import { default as Ae } from "./components/Dropdown/DropdownList.js";
27
- import { E as _e, R as Ce, T as Ie, a as Re } from "./ErrorLogModal-CQFdcFKP.js";
27
+ import { E as _e, R as Ce, T as Ie, a as Re } from "./ErrorLogModal-DJd2j2Qz.js";
28
28
  import { default as Se } from "./components/FileUpload/FileUpload.js";
29
29
  import { default as Fe } from "./components/FileUpload/ImagePreview.js";
30
30
  import { default as Le } from "./components/FileUpload/LengthCard.js";
package/dist/main.js CHANGED
@@ -17,7 +17,7 @@ import "./components/Checkbox/Checkbox.js";
17
17
  import "./components/Confirm/Confirm.js";
18
18
  import "./components/Datepicker/Datepicker.js";
19
19
  import "./components/Drawer/Provider.js";
20
- import "./ErrorLogModal-CQFdcFKP.js";
20
+ import "./ErrorLogModal-DJd2j2Qz.js";
21
21
  import "./components/FileUpload/FileUpload.js";
22
22
  import "./Select-nhp2PiJK.js";
23
23
  import "./components/StatusTag/StatusTag.js";
@@ -5,7 +5,7 @@ import { createFetchClient as N } from "./http/createFetchClient.js";
5
5
  import { FetchError as x, FetchErrorCode as g, isCancel as u, isFetchError as d } from "./http/errors.js";
6
6
  import { InterceptorManager as S } from "./http/interceptorManager.js";
7
7
  import { buildFullURL as P, combineURLs as y, defaultParamsSerializer as H } from "./http/helpers.js";
8
- import { T as V, a as j } from "../ErrorLogModal-CQFdcFKP.js";
8
+ import { T as V, a as j } from "../ErrorLogModal-DJd2j2Qz.js";
9
9
  import { IconTestIds as z } from "./test.js";
10
10
  import { f as W, p as Y } from "../helper-1SQ9SI45.js";
11
11
  export {
@@ -15,7 +15,7 @@ import "../components/Checkbox/Checkbox.js";
15
15
  import "../components/Confirm/Confirm.js";
16
16
  import "../components/Datepicker/Datepicker.js";
17
17
  import "../components/Drawer/Provider.js";
18
- import { T as w, a as y } from "../ErrorLogModal-CQFdcFKP.js";
18
+ import { T as w, a as y } from "../ErrorLogModal-DJd2j2Qz.js";
19
19
  import "../components/FileUpload/FileUpload.js";
20
20
  import "../components/IconBox/IconBox.js";
21
21
  import "../components/InfoDate/InfoDate.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cagatayfdn/flora-components",
3
- "version": "0.0.165",
3
+ "version": "0.0.166",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",