@turystack/ui 0.0.28 → 0.0.29
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.d.ts +14 -2
- package/dist/index.js +271 -252
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -952,7 +952,9 @@ export declare const Layout: typeof LayoutRoot & {
|
|
|
952
952
|
Right: HeaderRight;
|
|
953
953
|
};
|
|
954
954
|
Main: typeof LayoutMain;
|
|
955
|
-
Nav:
|
|
955
|
+
Nav: (({ items }: NavProps) => JSX.Element) & {
|
|
956
|
+
Item: ({ active, children, }: PropsWithChildren<NavItemSlotProps>) => JSX.Element;
|
|
957
|
+
};
|
|
956
958
|
Sidebar: (({ children, bordered, width, paddingHorizontal, paddingVertical, }: PropsWithChildren<LayoutSidebarProps>) => JSX.Element) & {
|
|
957
959
|
Body: SidebarBody;
|
|
958
960
|
Footer: SidebarFooter;
|
|
@@ -1011,7 +1013,11 @@ export declare type LayoutMainProps = {};
|
|
|
1011
1013
|
|
|
1012
1014
|
export declare type LayoutMainSlots = 'root';
|
|
1013
1015
|
|
|
1014
|
-
export declare
|
|
1016
|
+
export declare const LayoutNav: typeof LayoutNavRoot & {
|
|
1017
|
+
Item: typeof NavItemSlot;
|
|
1018
|
+
};
|
|
1019
|
+
|
|
1020
|
+
declare function LayoutNavRoot({ items }: NavProps): JSX.Element;
|
|
1015
1021
|
|
|
1016
1022
|
export declare type LayoutProps = {};
|
|
1017
1023
|
|
|
@@ -1141,6 +1147,12 @@ declare type MultipleUploaderProps = {
|
|
|
1141
1147
|
onUpload?: (response: UploaderHandlerResponse[], index: number) => void;
|
|
1142
1148
|
};
|
|
1143
1149
|
|
|
1150
|
+
declare function NavItemSlot({ active, children, }: PropsWithChildren<NavItemSlotProps>): JSX.Element;
|
|
1151
|
+
|
|
1152
|
+
export declare type NavItemSlotProps = {
|
|
1153
|
+
active?: boolean;
|
|
1154
|
+
};
|
|
1155
|
+
|
|
1144
1156
|
export declare type NavProps = {
|
|
1145
1157
|
items: SidebarNavEntry[];
|
|
1146
1158
|
};
|