@parasutcom/fds 0.1.26 → 0.1.27
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 +18 -0
- package/dist/index.js +1837 -1829
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -290,6 +290,8 @@ export declare const DataTable: typeof DataTableRoot & {
|
|
|
290
290
|
Summary: typeof DataTableSummary;
|
|
291
291
|
ColumnVisibility: typeof DataTableColumnVisibility;
|
|
292
292
|
EmptyState: typeof DataTableEmptyState;
|
|
293
|
+
SelectionMode: typeof DataTableSelectionMode;
|
|
294
|
+
NormalMode: typeof DataTableNormalMode;
|
|
293
295
|
};
|
|
294
296
|
|
|
295
297
|
/**
|
|
@@ -415,6 +417,14 @@ declare interface DataTableFooterProps {
|
|
|
415
417
|
sticky?: string;
|
|
416
418
|
}
|
|
417
419
|
|
|
420
|
+
/**
|
|
421
|
+
* DataTable.NormalMode — renders children only when NO rows are selected.
|
|
422
|
+
* Place inside DataTable.Toolbar to show search/filter UI.
|
|
423
|
+
*/
|
|
424
|
+
declare function DataTableNormalMode<TData>({ children }: {
|
|
425
|
+
children: ReactNode;
|
|
426
|
+
}): JSX.Element | null;
|
|
427
|
+
|
|
418
428
|
/**
|
|
419
429
|
* DataTable.Pagination — pagination controls
|
|
420
430
|
*/
|
|
@@ -447,6 +457,14 @@ declare interface DataTableRowCountProps {
|
|
|
447
457
|
count?: number;
|
|
448
458
|
}
|
|
449
459
|
|
|
460
|
+
/**
|
|
461
|
+
* DataTable.SelectionMode — renders children only when rows are selected.
|
|
462
|
+
* Place inside DataTable.Toolbar to show bulk-action UI.
|
|
463
|
+
*/
|
|
464
|
+
declare function DataTableSelectionMode<TData>({ children }: {
|
|
465
|
+
children: ReactNode;
|
|
466
|
+
}): JSX.Element | null;
|
|
467
|
+
|
|
450
468
|
/**
|
|
451
469
|
* DataTable.Summary — slot for custom summary content
|
|
452
470
|
*/
|