duokit-ui 0.1.1 → 0.1.3
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.cjs +2646 -3575
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +106 -319
- package/dist/index.d.ts +106 -319
- package/dist/index.js +2652 -3582
- package/dist/index.js.map +1 -1
- package/package.json +2 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
2
3
|
import * as React$1 from 'react';
|
|
3
4
|
import { ReactNode } from 'react';
|
|
4
|
-
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
5
5
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
7
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -34,7 +34,8 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
|
34
34
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
35
35
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
36
36
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
37
|
-
import
|
|
37
|
+
import * as _tanstack_react_table from '@tanstack/react-table';
|
|
38
|
+
import { Table as Table$1, ColumnDef, TableOptions } from '@tanstack/react-table';
|
|
38
39
|
import { ClassValue } from 'clsx';
|
|
39
40
|
import { z } from 'zod';
|
|
40
41
|
|
|
@@ -483,249 +484,100 @@ declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrim
|
|
|
483
484
|
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
484
485
|
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
485
486
|
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
*/
|
|
489
|
-
interface AnimationConfig$1 {
|
|
490
|
-
/** Badge animation type */
|
|
491
|
-
badgeAnimation?: "bounce" | "pulse" | "wiggle" | "fade" | "slide" | "none";
|
|
492
|
-
/** Popover animation type */
|
|
493
|
-
popoverAnimation?: "scale" | "slide" | "fade" | "flip" | "none";
|
|
494
|
-
/** Option hover animation type */
|
|
495
|
-
optionHoverAnimation?: "highlight" | "scale" | "glow" | "none";
|
|
496
|
-
/** Animation duration in seconds */
|
|
497
|
-
duration?: number;
|
|
498
|
-
/** Animation delay in seconds */
|
|
499
|
-
delay?: number;
|
|
500
|
-
}
|
|
501
|
-
/**
|
|
502
|
-
* Variants for the multi-select component to handle different styles.
|
|
503
|
-
* Uses class-variance-authority (cva) to define different styles based on "variant" prop.
|
|
504
|
-
*/
|
|
505
|
-
declare const multiSelectVariants$2: (props?: ({
|
|
506
|
-
variant?: "default" | "destructive" | "secondary" | "inverted" | null | undefined;
|
|
507
|
-
badgeAnimation?: "none" | "bounce" | "pulse" | "wiggle" | "fade" | "slide" | null | undefined;
|
|
487
|
+
declare const multiSelectVariants$1: (props?: ({
|
|
488
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
508
489
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
}>;
|
|
521
|
-
/** Whether this option is disabled */
|
|
522
|
-
disabled?: boolean;
|
|
523
|
-
/** Custom styling for the option */
|
|
524
|
-
style?: {
|
|
525
|
-
/** Custom badge color */
|
|
526
|
-
badgeColor?: string;
|
|
527
|
-
/** Custom icon color */
|
|
528
|
-
iconColor?: string;
|
|
529
|
-
/** Gradient background for badge */
|
|
530
|
-
gradient?: string;
|
|
531
|
-
};
|
|
532
|
-
}
|
|
533
|
-
/**
|
|
534
|
-
* Group interface for organizing options
|
|
535
|
-
*/
|
|
536
|
-
interface MultiSelectGroup$1 {
|
|
537
|
-
/** Group heading */
|
|
538
|
-
heading: string;
|
|
539
|
-
/** Options in this group */
|
|
540
|
-
options: MultiSelectOption$1[];
|
|
490
|
+
interface CalendarDatePickerProps extends React$1.HTMLAttributes<HTMLButtonElement>, VariantProps<typeof multiSelectVariants$1> {
|
|
491
|
+
id?: string;
|
|
492
|
+
className?: string;
|
|
493
|
+
date: DateRange;
|
|
494
|
+
closeOnSelect?: boolean;
|
|
495
|
+
numberOfMonths?: 1 | 2;
|
|
496
|
+
yearsRange?: number;
|
|
497
|
+
onDateSelect: (range: {
|
|
498
|
+
from: Date;
|
|
499
|
+
to: Date;
|
|
500
|
+
}) => void;
|
|
541
501
|
}
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
interface MultiSelectProps$1 extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "animationConfig">, VariantProps<typeof multiSelectVariants$2> {
|
|
546
|
-
/**
|
|
547
|
-
* An array of option objects or groups to be displayed in the multi-select component.
|
|
548
|
-
*/
|
|
549
|
-
options: MultiSelectOption$1[] | MultiSelectGroup$1[];
|
|
550
|
-
/**
|
|
551
|
-
* Callback function triggered when the selected values change.
|
|
552
|
-
* Receives an array of the new selected values.
|
|
553
|
-
*/
|
|
554
|
-
onValueChange: (value: string[]) => void;
|
|
555
|
-
/** The default selected values when the component mounts. */
|
|
556
|
-
defaultValue?: string[];
|
|
557
|
-
/**
|
|
558
|
-
* Placeholder text to be displayed when no values are selected.
|
|
559
|
-
* Optional, defaults to "Select options".
|
|
560
|
-
*/
|
|
561
|
-
placeholder?: string;
|
|
502
|
+
declare const CalendarDatePicker: React$1.ForwardRefExoticComponent<CalendarDatePickerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
503
|
+
|
|
504
|
+
interface DataTableProps<TData> {
|
|
562
505
|
/**
|
|
563
|
-
*
|
|
564
|
-
* Optional, defaults to 0 (no animation).
|
|
506
|
+
* Table instance from useReactTable
|
|
565
507
|
*/
|
|
566
|
-
|
|
508
|
+
table: Table$1<TData>;
|
|
567
509
|
/**
|
|
568
|
-
*
|
|
569
|
-
* Optional, allows fine-tuning of various animation effects.
|
|
510
|
+
* Whether the table is in a loading state
|
|
570
511
|
*/
|
|
571
|
-
|
|
512
|
+
isLoading?: boolean;
|
|
572
513
|
/**
|
|
573
|
-
*
|
|
574
|
-
* Optional, defaults to 3.
|
|
514
|
+
* Custom empty state message
|
|
575
515
|
*/
|
|
576
|
-
|
|
516
|
+
emptyMessage?: ReactNode;
|
|
577
517
|
/**
|
|
578
|
-
*
|
|
579
|
-
* will be disabled and only popover content will be visible to screen readers.
|
|
580
|
-
* Optional, defaults to false.
|
|
518
|
+
* Custom loading message
|
|
581
519
|
*/
|
|
582
|
-
|
|
520
|
+
loadingMessage?: string;
|
|
583
521
|
/**
|
|
584
|
-
*
|
|
585
|
-
* Optional, defaults to false.
|
|
522
|
+
* Children components
|
|
586
523
|
*/
|
|
587
|
-
|
|
524
|
+
children?: ReactNode;
|
|
588
525
|
/**
|
|
589
|
-
*
|
|
590
|
-
* Optional, can be used to add custom styles.
|
|
526
|
+
* Custom className for the root container
|
|
591
527
|
*/
|
|
592
528
|
className?: string;
|
|
529
|
+
}
|
|
530
|
+
interface DataTableSearchProps {
|
|
593
531
|
/**
|
|
594
|
-
*
|
|
595
|
-
* Optional, defaults to false.
|
|
596
|
-
*/
|
|
597
|
-
hideSelectAll?: boolean;
|
|
598
|
-
/**
|
|
599
|
-
* If true, shows search functionality in the popover.
|
|
600
|
-
* If false, hides the search input completely.
|
|
601
|
-
* Optional, defaults to true.
|
|
602
|
-
*/
|
|
603
|
-
searchable?: boolean;
|
|
604
|
-
/**
|
|
605
|
-
* Custom empty state message when no options match search.
|
|
606
|
-
* Optional, defaults to "No results found."
|
|
607
|
-
*/
|
|
608
|
-
emptyIndicator?: React$1.ReactNode;
|
|
609
|
-
/**
|
|
610
|
-
* If true, allows the component to grow and shrink with its content.
|
|
611
|
-
* If false, uses fixed width behavior.
|
|
612
|
-
* Optional, defaults to false.
|
|
613
|
-
*/
|
|
614
|
-
autoSize?: boolean;
|
|
615
|
-
/**
|
|
616
|
-
* If true, shows badges in a single line with horizontal scroll.
|
|
617
|
-
* If false, badges wrap to multiple lines.
|
|
618
|
-
* Optional, defaults to false.
|
|
619
|
-
*/
|
|
620
|
-
singleLine?: boolean;
|
|
621
|
-
/**
|
|
622
|
-
* Custom CSS class for the popover content.
|
|
623
|
-
* Optional, can be used to customize popover appearance.
|
|
624
|
-
*/
|
|
625
|
-
popoverClassName?: string;
|
|
626
|
-
/**
|
|
627
|
-
* If true, disables the component completely.
|
|
628
|
-
* Optional, defaults to false.
|
|
629
|
-
*/
|
|
630
|
-
disabled?: boolean;
|
|
631
|
-
/**
|
|
632
|
-
* Responsive configuration for different screen sizes.
|
|
633
|
-
* Allows customizing maxCount and other properties based on viewport.
|
|
634
|
-
* Can be boolean true for default responsive behavior or an object for custom configuration.
|
|
635
|
-
*/
|
|
636
|
-
responsive?: boolean | {
|
|
637
|
-
/** Configuration for mobile devices (< 640px) */
|
|
638
|
-
mobile?: {
|
|
639
|
-
maxCount?: number;
|
|
640
|
-
hideIcons?: boolean;
|
|
641
|
-
compactMode?: boolean;
|
|
642
|
-
};
|
|
643
|
-
/** Configuration for tablet devices (640px - 1024px) */
|
|
644
|
-
tablet?: {
|
|
645
|
-
maxCount?: number;
|
|
646
|
-
hideIcons?: boolean;
|
|
647
|
-
compactMode?: boolean;
|
|
648
|
-
};
|
|
649
|
-
/** Configuration for desktop devices (> 1024px) */
|
|
650
|
-
desktop?: {
|
|
651
|
-
maxCount?: number;
|
|
652
|
-
hideIcons?: boolean;
|
|
653
|
-
compactMode?: boolean;
|
|
654
|
-
};
|
|
655
|
-
};
|
|
656
|
-
/**
|
|
657
|
-
* Minimum width for the component.
|
|
658
|
-
* Optional, defaults to auto-sizing based on content.
|
|
659
|
-
* When set, component will not shrink below this width.
|
|
660
|
-
*/
|
|
661
|
-
minWidth?: string;
|
|
662
|
-
/**
|
|
663
|
-
* Maximum width for the component.
|
|
664
|
-
* Optional, defaults to 100% of container.
|
|
665
|
-
* Component will not exceed container boundaries.
|
|
666
|
-
*/
|
|
667
|
-
maxWidth?: string;
|
|
668
|
-
/**
|
|
669
|
-
* If true, automatically removes duplicate options based on their value.
|
|
670
|
-
* Optional, defaults to false (shows warning in dev mode instead).
|
|
532
|
+
* Placeholder text for the search input
|
|
671
533
|
*/
|
|
672
|
-
|
|
534
|
+
placeholder?: string;
|
|
673
535
|
/**
|
|
674
|
-
*
|
|
675
|
-
* Useful for React Hook Form integration and form reset functionality.
|
|
676
|
-
* Optional, defaults to true.
|
|
536
|
+
* Debounce delay in milliseconds
|
|
677
537
|
*/
|
|
678
|
-
|
|
538
|
+
debounceMs?: number;
|
|
679
539
|
/**
|
|
680
|
-
*
|
|
681
|
-
* Useful for single-selection-like behavior or mobile UX.
|
|
682
|
-
* Optional, defaults to false.
|
|
540
|
+
* Custom className
|
|
683
541
|
*/
|
|
684
|
-
|
|
542
|
+
className?: string;
|
|
685
543
|
}
|
|
686
|
-
|
|
687
|
-
* Imperative methods exposed through ref
|
|
688
|
-
*/
|
|
689
|
-
interface MultiSelectRef$1 {
|
|
690
|
-
/**
|
|
691
|
-
* Programmatically reset the component to its default value
|
|
692
|
-
*/
|
|
693
|
-
reset: () => void;
|
|
694
|
-
/**
|
|
695
|
-
* Get current selected values
|
|
696
|
-
*/
|
|
697
|
-
getSelectedValues: () => string[];
|
|
544
|
+
interface DataTablePaginationProps {
|
|
698
545
|
/**
|
|
699
|
-
*
|
|
546
|
+
* Show page size selector
|
|
700
547
|
*/
|
|
701
|
-
|
|
548
|
+
showPageSizeSelector?: boolean;
|
|
702
549
|
/**
|
|
703
|
-
*
|
|
550
|
+
* Available page sizes
|
|
704
551
|
*/
|
|
705
|
-
|
|
552
|
+
pageSizeOptions?: number[];
|
|
706
553
|
/**
|
|
707
|
-
*
|
|
554
|
+
* Custom className
|
|
708
555
|
*/
|
|
709
|
-
|
|
556
|
+
className?: string;
|
|
710
557
|
}
|
|
711
|
-
declare const MultiSelect: React$1.ForwardRefExoticComponent<MultiSelectProps$1 & React$1.RefAttributes<MultiSelectRef$1>>;
|
|
712
558
|
|
|
713
|
-
declare
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
559
|
+
declare function DataTableRoot<TData>({ table, isLoading, emptyMessage, loadingMessage, children, className, }: DataTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
560
|
+
declare function DataTableHeader<TData>(): react_jsx_runtime.JSX.Element;
|
|
561
|
+
declare function DataTableBody<TData>(): react_jsx_runtime.JSX.Element;
|
|
562
|
+
declare function DataTablePagination({ showPageSizeSelector, className, }: DataTablePaginationProps): react_jsx_runtime.JSX.Element;
|
|
563
|
+
declare function DataTableFilters({ children, className, }: {
|
|
564
|
+
children?: React.ReactNode;
|
|
718
565
|
className?: string;
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
566
|
+
}): react_jsx_runtime.JSX.Element;
|
|
567
|
+
declare const DataTable: {
|
|
568
|
+
Root: typeof DataTableRoot;
|
|
569
|
+
Header: typeof DataTableHeader;
|
|
570
|
+
Body: typeof DataTableBody;
|
|
571
|
+
Pagination: typeof DataTablePagination;
|
|
572
|
+
Filters: typeof DataTableFilters;
|
|
573
|
+
};
|
|
574
|
+
|
|
575
|
+
type Condition<Value = unknown> = Value | false | null | undefined | 0 | "";
|
|
576
|
+
declare function If<Value = unknown>({ condition, children, fallback, }: React.PropsWithoutRef<{
|
|
577
|
+
condition: Condition<Value>;
|
|
578
|
+
children: React.ReactNode | ((value: Value) => React.ReactNode);
|
|
579
|
+
fallback?: React.ReactNode;
|
|
580
|
+
}>): react_jsx_runtime.JSX.Element | null;
|
|
729
581
|
|
|
730
582
|
declare const multiSelectVariants: (props?: ({
|
|
731
583
|
variant?: "default" | "destructive" | "secondary" | "inverted" | null | undefined;
|
|
@@ -947,105 +799,11 @@ declare const ClientMultiSelect: React$1.ForwardRefExoticComponent<MultiSelectPr
|
|
|
947
799
|
|
|
948
800
|
declare const PaginatedMultiSelect: React$1.ForwardRefExoticComponent<MultiSelectProps & PaginationProps & React$1.RefAttributes<MultiSelectRef>>;
|
|
949
801
|
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
*/
|
|
954
|
-
table: Table$1<TData>;
|
|
955
|
-
/**
|
|
956
|
-
* Whether the table is in a loading state
|
|
957
|
-
*/
|
|
958
|
-
isLoading?: boolean;
|
|
959
|
-
/**
|
|
960
|
-
* Custom empty state message
|
|
961
|
-
*/
|
|
962
|
-
emptyMessage?: ReactNode;
|
|
963
|
-
/**
|
|
964
|
-
* Custom loading message
|
|
965
|
-
*/
|
|
966
|
-
loadingMessage?: string;
|
|
967
|
-
/**
|
|
968
|
-
* Children components
|
|
969
|
-
*/
|
|
970
|
-
children?: ReactNode;
|
|
971
|
-
/**
|
|
972
|
-
* Custom className for the root container
|
|
973
|
-
*/
|
|
974
|
-
className?: string;
|
|
975
|
-
}
|
|
976
|
-
interface DataTableSearchProps {
|
|
977
|
-
/**
|
|
978
|
-
* Placeholder text for the search input
|
|
979
|
-
*/
|
|
980
|
-
placeholder?: string;
|
|
981
|
-
/**
|
|
982
|
-
* Debounce delay in milliseconds
|
|
983
|
-
*/
|
|
984
|
-
debounceMs?: number;
|
|
985
|
-
/**
|
|
986
|
-
* Custom className
|
|
987
|
-
*/
|
|
988
|
-
className?: string;
|
|
989
|
-
}
|
|
990
|
-
interface DataTablePaginationProps {
|
|
991
|
-
/**
|
|
992
|
-
* Show page size selector
|
|
993
|
-
*/
|
|
994
|
-
showPageSizeSelector?: boolean;
|
|
995
|
-
/**
|
|
996
|
-
* Available page sizes
|
|
997
|
-
*/
|
|
998
|
-
pageSizeOptions?: number[];
|
|
999
|
-
/**
|
|
1000
|
-
* Custom className
|
|
1001
|
-
*/
|
|
1002
|
-
className?: string;
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
declare function DataTableRoot<TData>({ table, isLoading, emptyMessage, loadingMessage, children, className, }: DataTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
1006
|
-
declare function DataTableHeader<TData>(): react_jsx_runtime.JSX.Element;
|
|
1007
|
-
declare function DataTableBody<TData>(): react_jsx_runtime.JSX.Element;
|
|
1008
|
-
declare function DataTablePagination({ showPageSizeSelector, className, }: DataTablePaginationProps): react_jsx_runtime.JSX.Element;
|
|
1009
|
-
declare function DataTableFilters({ children, className, }: {
|
|
1010
|
-
children?: React.ReactNode;
|
|
1011
|
-
className?: string;
|
|
1012
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1013
|
-
declare const DataTable: {
|
|
1014
|
-
Root: typeof DataTableRoot;
|
|
1015
|
-
Header: typeof DataTableHeader;
|
|
1016
|
-
Body: typeof DataTableBody;
|
|
1017
|
-
Pagination: typeof DataTablePagination;
|
|
1018
|
-
Filters: typeof DataTableFilters;
|
|
1019
|
-
};
|
|
1020
|
-
|
|
1021
|
-
declare function H1({ children, className, }: {
|
|
1022
|
-
children: React.ReactNode;
|
|
1023
|
-
className?: string;
|
|
1024
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1025
|
-
|
|
1026
|
-
declare function H2({ children, className, }: {
|
|
1027
|
-
children: React.ReactNode;
|
|
1028
|
-
className?: string;
|
|
1029
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1030
|
-
|
|
1031
|
-
declare function H3({ children, className, }: {
|
|
1032
|
-
children: React.ReactNode;
|
|
1033
|
-
className?: string;
|
|
1034
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1035
|
-
|
|
1036
|
-
declare function H4({ children, className, }: {
|
|
1037
|
-
children: React.ReactNode;
|
|
1038
|
-
className?: string;
|
|
1039
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1040
|
-
|
|
1041
|
-
declare function Paragraph({ children, className, }: {
|
|
1042
|
-
children: React.ReactNode;
|
|
1043
|
-
className?: string;
|
|
1044
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1045
|
-
|
|
1046
|
-
declare function Blockquote({ children, className, }: {
|
|
1047
|
-
children: React.ReactNode;
|
|
802
|
+
declare function PasswordInput({ value, onChange, className, autoComplete, }: {
|
|
803
|
+
value: string;
|
|
804
|
+
onChange: (value: string) => void;
|
|
1048
805
|
className?: string;
|
|
806
|
+
autoComplete?: string;
|
|
1049
807
|
}): react_jsx_runtime.JSX.Element;
|
|
1050
808
|
|
|
1051
809
|
declare const NavigationConfigSchema: z.ZodObject<{
|
|
@@ -1287,12 +1045,35 @@ declare const SidebarMenuSubButton: React$1.FC<React$1.ComponentProps<"a"> & {
|
|
|
1287
1045
|
isActive?: boolean;
|
|
1288
1046
|
}>;
|
|
1289
1047
|
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
}
|
|
1048
|
+
declare function Blockquote({ children, className, }: {
|
|
1049
|
+
children: React.ReactNode;
|
|
1050
|
+
className?: string;
|
|
1051
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1052
|
+
|
|
1053
|
+
declare function H1({ children, className, }: {
|
|
1054
|
+
children: React.ReactNode;
|
|
1055
|
+
className?: string;
|
|
1056
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1057
|
+
|
|
1058
|
+
declare function H2({ children, className, }: {
|
|
1059
|
+
children: React.ReactNode;
|
|
1060
|
+
className?: string;
|
|
1061
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1062
|
+
|
|
1063
|
+
declare function H3({ children, className, }: {
|
|
1064
|
+
children: React.ReactNode;
|
|
1065
|
+
className?: string;
|
|
1066
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1067
|
+
|
|
1068
|
+
declare function H4({ children, className, }: {
|
|
1069
|
+
children: React.ReactNode;
|
|
1070
|
+
className?: string;
|
|
1071
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1072
|
+
|
|
1073
|
+
declare function Paragraph({ children, className, }: {
|
|
1074
|
+
children: React.ReactNode;
|
|
1075
|
+
className?: string;
|
|
1076
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1296
1077
|
|
|
1297
1078
|
/**
|
|
1298
1079
|
* @name isRouteActive
|
|
@@ -1314,8 +1095,14 @@ declare function checkIfRouteIsActive(targetLink: string, currentRoute: string,
|
|
|
1314
1095
|
|
|
1315
1096
|
declare function cn(...inputs: ClassValue[]): string;
|
|
1316
1097
|
|
|
1098
|
+
type TableProps<TData extends ColumnDef<TData>> = Pick<TableOptions<TData>, "data" | "columns" | "state" | "onPaginationChange" | "onSortingChange" | "onColumnFiltersChange" | "enableSorting">;
|
|
1099
|
+
interface UseCreateTableProps<TData extends ColumnDef<TData>> extends TableProps<TData> {
|
|
1100
|
+
totalItems?: number;
|
|
1101
|
+
}
|
|
1102
|
+
declare const useCreateTable: <TData extends ColumnDef<TData>>(props: UseCreateTableProps<TData>) => _tanstack_react_table.Table<TData>;
|
|
1103
|
+
|
|
1317
1104
|
declare function useIsMobile(): boolean;
|
|
1318
1105
|
|
|
1319
1106
|
declare const useToast: () => typeof toast;
|
|
1320
1107
|
|
|
1321
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle,
|
|
1108
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Blockquote, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDatePicker, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, ClientMultiSelect, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataTable, type DataTablePaginationProps, type DataTableProps, type DataTableSearchProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, H1, H2, H3, H4, HoverCard, HoverCardContent, HoverCardTrigger, If, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationConfigSchema, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PaginatedMultiSelect, Paragraph, PasswordInput, Popover, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, type SidebarConfig, SidebarContent, SidebarContext, type SidebarContextValue, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonGroupVariants, buttonVariants, checkIfRouteIsActive, cn, isRouteActive, navigationMenuTriggerStyle, sidebarMenuButtonVariants, tabsListVariants, toggleVariants, useComboboxAnchor, useCreateTable, useIsMobile, useSidebar, useToast };
|