@sikka/hawa 0.17.4-next → 0.17.5-next
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.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +5 -4
- package/dist/index.mjs +5 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1047,7 +1047,8 @@ type NavbarType = {
|
|
|
1047
1047
|
declare const Navbar: React__default.FC<NavbarType>;
|
|
1048
1048
|
|
|
1049
1049
|
type AppLayoutTypes$1 = {
|
|
1050
|
-
header
|
|
1050
|
+
/** a custom header to replace the logoLink & logoSymbol */
|
|
1051
|
+
header?: React__default.ReactNode;
|
|
1051
1052
|
design?: "default";
|
|
1052
1053
|
/** The pages of the side drawer */
|
|
1053
1054
|
drawerItems: AppSidebarItemProps[];
|
|
@@ -1089,11 +1090,12 @@ type AppLayoutTypes$1 = {
|
|
|
1089
1090
|
* - 'lg': Large width.
|
|
1090
1091
|
* - 'parent': Inherits width from parent element.
|
|
1091
1092
|
*/
|
|
1092
|
-
profileMenuWidth
|
|
1093
|
+
profileMenuWidth?: "default" | "sm" | "lg" | "parent";
|
|
1093
1094
|
/** Event handler for drawer expansion. */
|
|
1094
1095
|
onDrawerExpand?: (e: any) => void;
|
|
1095
1096
|
/** Specifies whether to keep the drawer open. */
|
|
1096
1097
|
keepOpen: boolean;
|
|
1098
|
+
/** The method used to control whether the drawer is expanded or not. */
|
|
1097
1099
|
setKeepOpen: (value: boolean) => void;
|
|
1098
1100
|
/** Specifies additional actions for the drawer footer. */
|
|
1099
1101
|
DrawerFooterActions?: any;
|
package/dist/index.d.ts
CHANGED
|
@@ -1047,7 +1047,8 @@ type NavbarType = {
|
|
|
1047
1047
|
declare const Navbar: React__default.FC<NavbarType>;
|
|
1048
1048
|
|
|
1049
1049
|
type AppLayoutTypes$1 = {
|
|
1050
|
-
header
|
|
1050
|
+
/** a custom header to replace the logoLink & logoSymbol */
|
|
1051
|
+
header?: React__default.ReactNode;
|
|
1051
1052
|
design?: "default";
|
|
1052
1053
|
/** The pages of the side drawer */
|
|
1053
1054
|
drawerItems: AppSidebarItemProps[];
|
|
@@ -1089,11 +1090,12 @@ type AppLayoutTypes$1 = {
|
|
|
1089
1090
|
* - 'lg': Large width.
|
|
1090
1091
|
* - 'parent': Inherits width from parent element.
|
|
1091
1092
|
*/
|
|
1092
|
-
profileMenuWidth
|
|
1093
|
+
profileMenuWidth?: "default" | "sm" | "lg" | "parent";
|
|
1093
1094
|
/** Event handler for drawer expansion. */
|
|
1094
1095
|
onDrawerExpand?: (e: any) => void;
|
|
1095
1096
|
/** Specifies whether to keep the drawer open. */
|
|
1096
1097
|
keepOpen: boolean;
|
|
1098
|
+
/** The method used to control whether the drawer is expanded or not. */
|
|
1097
1099
|
setKeepOpen: (value: boolean) => void;
|
|
1098
1100
|
/** Specifies additional actions for the drawer footer. */
|
|
1099
1101
|
DrawerFooterActions?: any;
|
package/dist/index.js
CHANGED
|
@@ -7601,14 +7601,15 @@ var Navbar = ({
|
|
|
7601
7601
|
// components/layout/AppLayout.tsx
|
|
7602
7602
|
var import_react40 = __toESM(require("react"));
|
|
7603
7603
|
var AppLayout = ({
|
|
7604
|
+
profileMenuWidth = "default",
|
|
7605
|
+
DrawerFooterActions,
|
|
7606
|
+
design = "default",
|
|
7604
7607
|
direction = "ltr",
|
|
7605
7608
|
drawerSize = "md",
|
|
7606
|
-
DrawerFooterActions,
|
|
7607
7609
|
currentPage,
|
|
7608
7610
|
clickedItem,
|
|
7609
|
-
keepOpen,
|
|
7610
7611
|
setKeepOpen,
|
|
7611
|
-
|
|
7612
|
+
keepOpen,
|
|
7612
7613
|
...props
|
|
7613
7614
|
}) => {
|
|
7614
7615
|
var _a, _b;
|
|
@@ -7734,7 +7735,7 @@ var AppLayout = ({
|
|
|
7734
7735
|
alignOffset: 8,
|
|
7735
7736
|
side: "bottom",
|
|
7736
7737
|
sideOffset: 5,
|
|
7737
|
-
width:
|
|
7738
|
+
width: profileMenuWidth,
|
|
7738
7739
|
direction: isRTL ? "rtl" : "ltr",
|
|
7739
7740
|
items: props.profileMenuItems,
|
|
7740
7741
|
onItemSelect: (e) => console.log("selecting item ", e),
|
package/dist/index.mjs
CHANGED
|
@@ -7396,14 +7396,15 @@ var Navbar = ({
|
|
|
7396
7396
|
// components/layout/AppLayout.tsx
|
|
7397
7397
|
import React66, { useEffect as useEffect17, useRef as useRef10, useState as useState24 } from "react";
|
|
7398
7398
|
var AppLayout = ({
|
|
7399
|
+
profileMenuWidth = "default",
|
|
7400
|
+
DrawerFooterActions,
|
|
7401
|
+
design = "default",
|
|
7399
7402
|
direction = "ltr",
|
|
7400
7403
|
drawerSize = "md",
|
|
7401
|
-
DrawerFooterActions,
|
|
7402
7404
|
currentPage,
|
|
7403
7405
|
clickedItem,
|
|
7404
|
-
keepOpen,
|
|
7405
7406
|
setKeepOpen,
|
|
7406
|
-
|
|
7407
|
+
keepOpen,
|
|
7407
7408
|
...props
|
|
7408
7409
|
}) => {
|
|
7409
7410
|
var _a, _b;
|
|
@@ -7529,7 +7530,7 @@ var AppLayout = ({
|
|
|
7529
7530
|
alignOffset: 8,
|
|
7530
7531
|
side: "bottom",
|
|
7531
7532
|
sideOffset: 5,
|
|
7532
|
-
width:
|
|
7533
|
+
width: profileMenuWidth,
|
|
7533
7534
|
direction: isRTL ? "rtl" : "ltr",
|
|
7534
7535
|
items: props.profileMenuItems,
|
|
7535
7536
|
onItemSelect: (e) => console.log("selecting item ", e),
|