@parasutcom/fds 0.1.25 → 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 +31 -0
- package/dist/index.js +8730 -8129
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
16
16
|
import { JSXElementConstructor } from 'react';
|
|
17
17
|
import { Menu } from '@base-ui/react/menu';
|
|
18
18
|
import { OTPInput } from 'input-otp';
|
|
19
|
+
import { Popover as Popover_2 } from '@base-ui/react/popover';
|
|
19
20
|
import { Progress as Progress_2 } from '@base-ui/react/progress';
|
|
20
21
|
import { Radio } from '@base-ui/react/radio';
|
|
21
22
|
import { RadioGroup as RadioGroup_2 } from '@base-ui/react/radio-group';
|
|
@@ -289,6 +290,8 @@ export declare const DataTable: typeof DataTableRoot & {
|
|
|
289
290
|
Summary: typeof DataTableSummary;
|
|
290
291
|
ColumnVisibility: typeof DataTableColumnVisibility;
|
|
291
292
|
EmptyState: typeof DataTableEmptyState;
|
|
293
|
+
SelectionMode: typeof DataTableSelectionMode;
|
|
294
|
+
NormalMode: typeof DataTableNormalMode;
|
|
292
295
|
};
|
|
293
296
|
|
|
294
297
|
/**
|
|
@@ -414,6 +417,14 @@ declare interface DataTableFooterProps {
|
|
|
414
417
|
sticky?: string;
|
|
415
418
|
}
|
|
416
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
|
+
|
|
417
428
|
/**
|
|
418
429
|
* DataTable.Pagination — pagination controls
|
|
419
430
|
*/
|
|
@@ -446,6 +457,14 @@ declare interface DataTableRowCountProps {
|
|
|
446
457
|
count?: number;
|
|
447
458
|
}
|
|
448
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
|
+
|
|
449
468
|
/**
|
|
450
469
|
* DataTable.Summary — slot for custom summary content
|
|
451
470
|
*/
|
|
@@ -780,6 +799,18 @@ export declare function PaginationNext({ className, ...props }: React_2.Componen
|
|
|
780
799
|
|
|
781
800
|
export declare function PaginationPrevious({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX.Element;
|
|
782
801
|
|
|
802
|
+
export declare function Popover({ ...props }: Popover_2.Root.Props): JSX.Element;
|
|
803
|
+
|
|
804
|
+
export declare function PopoverContent({ className, align, alignOffset, side, sideOffset, ...props }: Popover_2.Popup.Props & Pick<Popover_2.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): JSX.Element;
|
|
805
|
+
|
|
806
|
+
export declare function PopoverDescription({ className, ...props }: Popover_2.Description.Props): JSX.Element;
|
|
807
|
+
|
|
808
|
+
export declare function PopoverHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
809
|
+
|
|
810
|
+
export declare function PopoverTitle({ className, ...props }: Popover_2.Title.Props): JSX.Element;
|
|
811
|
+
|
|
812
|
+
export declare function PopoverTrigger({ ...props }: Popover_2.Trigger.Props): JSX.Element;
|
|
813
|
+
|
|
783
814
|
export declare function Progress({ className, children, value, ...props }: Progress_2.Root.Props): JSX.Element;
|
|
784
815
|
|
|
785
816
|
export declare function ProgressIndicator({ className, ...props }: Progress_2.Indicator.Props): JSX.Element;
|