@ceed/ads 0.1.56 → 0.1.57
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/components/NavigationGroup/NavigationGroup.d.ts +9 -0
- package/dist/components/NavigationGroup/index.d.ts +3 -0
- package/dist/components/NavigationItem/NavigationItem.d.ts +11 -0
- package/dist/components/NavigationItem/index.d.ts +3 -0
- package/dist/components/Navigator/Navigator.d.ts +24 -0
- package/dist/components/Navigator/index.d.ts +3 -0
- package/dist/components/index.d.ts +3 -0
- package/package.json +2 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import { Accordion as JoyAccordion } from "@mui/joy";
|
|
3
|
+
declare function NavigationGroup(props: Omit<ComponentProps<typeof JoyAccordion>, "title"> & {
|
|
4
|
+
title: string | ReactNode;
|
|
5
|
+
startDecorator?: ReactNode;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
level?: number;
|
|
8
|
+
}): React.JSX.Element;
|
|
9
|
+
export { NavigationGroup };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import { ListItem as JoyListItem } from "@mui/joy";
|
|
3
|
+
declare function NavigationItem(props: Omit<ComponentProps<typeof JoyListItem>, "onClick"> & {
|
|
4
|
+
id: string;
|
|
5
|
+
startDecorator?: ReactNode;
|
|
6
|
+
level?: number;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
onClick?: (id: string) => void;
|
|
10
|
+
}): React.JSX.Element;
|
|
11
|
+
export { NavigationItem };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type NavigatorItemProperty = {
|
|
3
|
+
id: string;
|
|
4
|
+
type: "item";
|
|
5
|
+
title: string | React.ReactNode;
|
|
6
|
+
startDecorator?: React.ReactNode;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type NavigatorGroupProperty = {
|
|
10
|
+
type: "group";
|
|
11
|
+
title: string | React.ReactNode;
|
|
12
|
+
startDecorator?: React.ReactNode;
|
|
13
|
+
expanded?: boolean;
|
|
14
|
+
content: React.ReactNode;
|
|
15
|
+
};
|
|
16
|
+
declare function Navigator(props: {
|
|
17
|
+
level?: number;
|
|
18
|
+
items: (NavigatorItemProperty | NavigatorGroupProperty)[];
|
|
19
|
+
onSelect?: (id: string) => void;
|
|
20
|
+
}): React.JSX.Element;
|
|
21
|
+
declare namespace Navigator {
|
|
22
|
+
var displayName: string;
|
|
23
|
+
}
|
|
24
|
+
export { Navigator };
|
|
@@ -33,6 +33,9 @@ export { Menu, MenuButton, MenuItem } from "./Menu";
|
|
|
33
33
|
export { Modal, ModalClose, ModalDialog, ModalOverflow, ModalFrame, } from "./Modal";
|
|
34
34
|
export { MonthPicker } from "./MonthPicker";
|
|
35
35
|
export { MonthRangePicker } from "./MonthRangePicker";
|
|
36
|
+
export { NavigationGroup } from "./NavigationGroup";
|
|
37
|
+
export { NavigationItem } from "./NavigationItem";
|
|
38
|
+
export { Navigator } from "./Navigator";
|
|
36
39
|
export { Pagination } from "./Pagination";
|
|
37
40
|
export { PercentageInput } from "./PercentageInput";
|
|
38
41
|
export { ProfileMenu } from "./ProfileMenu";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ceed/ads",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.57",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -74,4 +74,4 @@
|
|
|
74
74
|
"url": "git+ssh://git@github.com/Ecube-Labs/hds.git"
|
|
75
75
|
},
|
|
76
76
|
"packageManager": "yarn@4.1.0"
|
|
77
|
-
}
|
|
77
|
+
}
|