@woovi/ui 6.6.0 → 6.6.2
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 +1 -1
- package/dist/index.js +2 -2
- package/dist/router/drawRoutes.d.ts +3 -3
- package/dist/sidebar/Group.d.ts +1 -1
- package/dist/sidebar/utils.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ReactNode } from
|
|
2
|
-
import type { RouteType } from
|
|
3
|
-
export declare const drawRoutes: (routes: RouteType[], company: Record<string, unknown> | null, componentProps: Record<string, unknown> | null) => ReactNode
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { RouteType } from "./types.ts";
|
|
3
|
+
export declare const drawRoutes: (routes: RouteType[], company: Record<string, unknown> | null, componentProps: Record<string, unknown> | null) => ReactNode;
|
package/dist/sidebar/Group.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import type { ItemType } from "./Sidebar.tsx";
|
|
|
3
3
|
type Props = ItemType & {
|
|
4
4
|
isMobile: boolean;
|
|
5
5
|
newChip?: boolean;
|
|
6
|
-
notificationCounter?: number;
|
|
7
6
|
disabled?: boolean;
|
|
8
7
|
requiredRoles?: string[];
|
|
8
|
+
notificationCounter?: number;
|
|
9
9
|
};
|
|
10
10
|
declare const Group: (props: Props) => ReactElement;
|
|
11
11
|
export default Group;
|
package/dist/sidebar/utils.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ItemType } from
|
|
2
|
-
export declare const getItemsPath: (items: ItemType[]) => string;
|
|
1
|
+
import type { ItemType } from "./Sidebar.tsx";
|
|
2
|
+
export declare const getItemsPath: (items: ItemType[]) => string[];
|