@parasutcom/fds 0.1.9 → 0.1.10

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +41 -1
  2. package/dist/index.js +14717 -12831
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -5,15 +5,23 @@ import { Checkbox as Checkbox_2 } from '@base-ui/react/checkbox';
5
5
  import { ClassProp } from 'class-variance-authority/types';
6
6
  import { ClassValue } from 'clsx';
7
7
  import { Collapsible as Collapsible_2 } from '@base-ui/react/collapsible';
8
+ import { ColumnDef } from '@tanstack/react-table';
9
+ import { ColumnFiltersState } from '@tanstack/react-table';
8
10
  import { Combobox as Combobox_2 } from '@base-ui/react';
9
11
  import { Command as Command_2 } from 'cmdk';
10
12
  import { DayButton } from 'react-day-picker';
11
13
  import { DayPicker } from 'react-day-picker';
12
14
  import { Dialog as Dialog_2 } from '@base-ui/react/dialog';
15
+ import { flexRender } from '@tanstack/react-table';
16
+ import { getCoreRowModel } from '@tanstack/react-table';
17
+ import { getFilteredRowModel } from '@tanstack/react-table';
18
+ import { getPaginationRowModel } from '@tanstack/react-table';
19
+ import { getSortedRowModel } from '@tanstack/react-table';
13
20
  import { Input as Input_2 } from '@base-ui/react/input';
14
21
  import { JSX } from 'react/jsx-runtime';
15
22
  import { JSXElementConstructor } from 'react';
16
23
  import { Menu } from '@base-ui/react/menu';
24
+ import { OnChangeFn } from '@tanstack/react-table';
17
25
  import { OTPInput } from 'input-otp';
18
26
  import { Progress as Progress_2 } from '@base-ui/react/progress';
19
27
  import { Radio } from '@base-ui/react/radio';
@@ -21,15 +29,21 @@ import { RadioGroup as RadioGroup_2 } from '@base-ui/react/radio-group';
21
29
  import * as React_2 from 'react';
22
30
  import { ReactElement } from 'react';
23
31
  import * as RechartsPrimitive from 'recharts';
32
+ import { Row } from '@tanstack/react-table';
33
+ import { RowSelectionState } from '@tanstack/react-table';
24
34
  import { Select as Select_2 } from '@base-ui/react/select';
25
35
  import { Separator as Separator_2 } from '@base-ui/react/separator';
36
+ import { SortingState } from '@tanstack/react-table';
26
37
  import { Switch as Switch_2 } from '@base-ui/react/switch';
38
+ import { Table } from '@tanstack/react-table';
27
39
  import { Tabs as Tabs_2 } from '@base-ui/react/tabs';
28
40
  import { ToasterProps } from 'sonner';
29
41
  import { Toggle as Toggle_2 } from '@base-ui/react/toggle';
30
42
  import { Tooltip as Tooltip_2 } from '@base-ui/react/tooltip';
43
+ import { useReactTable } from '@tanstack/react-table';
31
44
  import { useRender } from '@base-ui/react/use-render';
32
45
  import { VariantProps } from 'class-variance-authority';
46
+ import { VisibilityState } from '@tanstack/react-table';
33
47
 
34
48
  export declare function Alert({ className, variant, ...props }: React_2.ComponentProps<'div'> & VariantProps<typeof alertVariants>): JSX.Element;
35
49
 
@@ -215,6 +229,10 @@ export declare function CollapsibleContent({ ...props }: Collapsible_2.Panel.Pro
215
229
 
216
230
  export declare function CollapsibleTrigger({ ...props }: Collapsible_2.Trigger.Props): JSX.Element;
217
231
 
232
+ export { ColumnDef }
233
+
234
+ export { ColumnFiltersState }
235
+
218
236
  export declare const Combobox: typeof Combobox_2.Root;
219
237
 
220
238
  export declare function ComboboxChip({ className, children, showRemove, ...props }: Combobox_2.Chip.Props & {
@@ -422,6 +440,16 @@ declare const fieldVariants: (props?: ({
422
440
  orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
423
441
  } & ClassProp) | undefined) => string;
424
442
 
443
+ export { flexRender }
444
+
445
+ export { getCoreRowModel }
446
+
447
+ export { getFilteredRowModel }
448
+
449
+ export { getPaginationRowModel }
450
+
451
+ export { getSortedRowModel }
452
+
425
453
  export declare function IbanField({ value, onChange, showPrefix, error, placeholder, ...props }: IbanFieldProps): JSX.Element;
426
454
 
427
455
  export declare interface IbanFieldProps extends Omit<TextFieldProps, 'type' | 'value' | 'onChange' | 'prefix'> {
@@ -570,6 +598,8 @@ export declare interface NumericFieldProps extends Omit<React_2.ComponentPropsWi
570
598
  suffix?: React_2.ReactNode;
571
599
  }
572
600
 
601
+ export { OnChangeFn }
602
+
573
603
  export declare function Pagination({ className, ...props }: React_2.ComponentProps<'nav'>): JSX.Element;
574
604
 
575
605
  export declare function PaginationContent({ className, ...props }: React_2.ComponentProps<'ul'>): JSX.Element;
@@ -602,6 +632,10 @@ export declare function RadioGroup({ className, ...props }: RadioGroup_2.Props):
602
632
 
603
633
  export declare function RadioGroupItem({ className, ...props }: Radio.Root.Props): JSX.Element;
604
634
 
635
+ export { Row }
636
+
637
+ export { RowSelectionState }
638
+
605
639
  export declare const Select: typeof Select_2.Root;
606
640
 
607
641
  export declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: Select_2.Popup.Props & Pick<Select_2.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">): JSX.Element;
@@ -726,13 +760,15 @@ export declare function SidebarTrigger({ className, onClick, ...props }: React_2
726
760
 
727
761
  export declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
728
762
 
763
+ export { SortingState }
764
+
729
765
  export declare function Spinner({ className, ...props }: React.ComponentProps<"svg">): JSX.Element;
730
766
 
731
767
  export declare function Switch({ className, size, ...props }: Switch_2.Root.Props & {
732
768
  size?: "sm" | "default";
733
769
  }): JSX.Element;
734
770
 
735
- export declare function Table({ className, ...props }: React_2.ComponentProps<"table">): JSX.Element;
771
+ export { Table }
736
772
 
737
773
  export declare function TableBody({ className, ...props }: React_2.ComponentProps<"tbody">): JSX.Element;
738
774
 
@@ -813,6 +849,10 @@ export declare function useComboboxAnchor(): React_2.RefObject<HTMLDivElement |
813
849
 
814
850
  export declare function useIsMobile(): boolean;
815
851
 
852
+ export { useReactTable }
853
+
816
854
  export declare function useSidebar(): SidebarContextProps;
817
855
 
856
+ export { VisibilityState }
857
+
818
858
  export { }