@lzzjokerzzl/react-ui-components 1.4.7 → 1.4.9
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/README.md +34 -126
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +0 -75
- package/dist/index.js +3178 -3324
- package/dist/index.js.map +1 -1
- package/dist/react-ui-components.css +1 -1
- package/package.json +2 -11
package/dist/index.d.ts
CHANGED
|
@@ -978,7 +978,6 @@ export declare const BreadcrumbItem: default_2.ForwardRefExoticComponent<Breadcr
|
|
|
978
978
|
export declare interface BreadcrumbItemProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {
|
|
979
979
|
children: ReactNode;
|
|
980
980
|
href?: string;
|
|
981
|
-
to?: string;
|
|
982
981
|
isDisabled?: boolean;
|
|
983
982
|
isCurrent?: boolean;
|
|
984
983
|
startContent?: ReactNode;
|
|
@@ -1961,33 +1960,6 @@ declare type InputType = "text" | "email" | "url" | "password" | "tel" | "search
|
|
|
1961
1960
|
*/
|
|
1962
1961
|
declare type InputVariant = "flat" | "bordered" | "faded" | "underlined";
|
|
1963
1962
|
|
|
1964
|
-
export declare const LibraryLink: default_2.FC<LibraryLinkProps>;
|
|
1965
|
-
|
|
1966
|
-
export declare interface LibraryLinkProps {
|
|
1967
|
-
to: string;
|
|
1968
|
-
children: React.ReactNode;
|
|
1969
|
-
className?: string;
|
|
1970
|
-
activeClassName?: string;
|
|
1971
|
-
exact?: boolean;
|
|
1972
|
-
replace?: boolean;
|
|
1973
|
-
onClick?: (event: React.MouseEvent) => void;
|
|
1974
|
-
}
|
|
1975
|
-
|
|
1976
|
-
export declare interface LibraryRouterProps {
|
|
1977
|
-
children: React.ReactNode;
|
|
1978
|
-
basePath?: string;
|
|
1979
|
-
routes?: Route[];
|
|
1980
|
-
onRouteChange?: (path: string) => void;
|
|
1981
|
-
}
|
|
1982
|
-
|
|
1983
|
-
export declare const LibraryRouterProvider: default_2.FC<LibraryRouterProviderProps>;
|
|
1984
|
-
|
|
1985
|
-
declare interface LibraryRouterProviderProps {
|
|
1986
|
-
children: default_2.ReactNode;
|
|
1987
|
-
initialRoutes?: Route[];
|
|
1988
|
-
onRouteChange?: (path: string) => void;
|
|
1989
|
-
}
|
|
1990
|
-
|
|
1991
1963
|
/**
|
|
1992
1964
|
* Loading state types
|
|
1993
1965
|
*/
|
|
@@ -2228,14 +2200,6 @@ declare interface NavbarSlots {
|
|
|
2228
2200
|
menuItem?: string;
|
|
2229
2201
|
}
|
|
2230
2202
|
|
|
2231
|
-
export declare const Navigation: default_2.FC<NavigationProps>;
|
|
2232
|
-
|
|
2233
|
-
export declare interface NavigationProps {
|
|
2234
|
-
routes: RouteGroup[];
|
|
2235
|
-
className?: string;
|
|
2236
|
-
renderItem?: (route: Route, isActive: boolean) => React.ReactNode;
|
|
2237
|
-
}
|
|
2238
|
-
|
|
2239
2203
|
/**
|
|
2240
2204
|
* Main Pagination component that provides pagination functionality
|
|
2241
2205
|
*/
|
|
@@ -2645,31 +2609,6 @@ export declare interface RotateInProps extends BaseAnimationProps {
|
|
|
2645
2609
|
transformOrigin?: string;
|
|
2646
2610
|
}
|
|
2647
2611
|
|
|
2648
|
-
export declare interface Route {
|
|
2649
|
-
path: string;
|
|
2650
|
-
element: React.ComponentType;
|
|
2651
|
-
label: string;
|
|
2652
|
-
icon?: React.ReactNode;
|
|
2653
|
-
category?: string;
|
|
2654
|
-
exact?: boolean;
|
|
2655
|
-
}
|
|
2656
|
-
|
|
2657
|
-
export declare interface RouteGroup {
|
|
2658
|
-
label: string;
|
|
2659
|
-
routes: Route[];
|
|
2660
|
-
}
|
|
2661
|
-
|
|
2662
|
-
export declare interface RouterContextType {
|
|
2663
|
-
routes: Route[];
|
|
2664
|
-
currentPath: string;
|
|
2665
|
-
navigate: (path: string) => void;
|
|
2666
|
-
goBack: () => void;
|
|
2667
|
-
goForward: () => void;
|
|
2668
|
-
addRoute: (route: Route) => void;
|
|
2669
|
-
removeRoute: (path: string) => void;
|
|
2670
|
-
getRoutesByCategory: (category: string) => Route[];
|
|
2671
|
-
}
|
|
2672
|
-
|
|
2673
2612
|
/**
|
|
2674
2613
|
* Row data interface
|
|
2675
2614
|
*/
|
|
@@ -2765,7 +2704,6 @@ export declare interface SidebarItemProps {
|
|
|
2765
2704
|
icon?: ReactNode;
|
|
2766
2705
|
isActive?: boolean;
|
|
2767
2706
|
href?: string;
|
|
2768
|
-
to?: string;
|
|
2769
2707
|
onClick?: () => void;
|
|
2770
2708
|
className?: string;
|
|
2771
2709
|
disabled?: boolean;
|
|
@@ -3582,19 +3520,6 @@ declare interface UseAvatarReturn {
|
|
|
3582
3520
|
fallbackProps: ComponentPropsWithoutRef<"div">;
|
|
3583
3521
|
}
|
|
3584
3522
|
|
|
3585
|
-
export declare const useLibraryNavigation: () => {
|
|
3586
|
-
navigateTo: (path: string, replace?: boolean) => void;
|
|
3587
|
-
goBack: () => void;
|
|
3588
|
-
goForward: () => void;
|
|
3589
|
-
isActive: (path: string, exact?: boolean) => boolean;
|
|
3590
|
-
currentPath: string;
|
|
3591
|
-
getCurrentRoute: () => Route | undefined;
|
|
3592
|
-
getRouteByPath: (path: string) => Route | undefined;
|
|
3593
|
-
routes: Route[];
|
|
3594
|
-
};
|
|
3595
|
-
|
|
3596
|
-
export declare const useLibraryRouter: () => RouterContextType;
|
|
3597
|
-
|
|
3598
3523
|
export declare function useModal(props?: UseModalProps): UseModalReturn;
|
|
3599
3524
|
|
|
3600
3525
|
declare interface UseModalProps {
|