@matteoaliano/forest-ui 0.5.1 → 0.5.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.d.mts CHANGED
@@ -451,7 +451,7 @@ declare function CardMedia(props: CardMediaProps): react_jsx_runtime.JSX.Element
451
451
 
452
452
  declare function CardActionArea(props: CardActionAreaProps): react_jsx_runtime.JSX.Element;
453
453
 
454
- declare function Drawer(props: DrawerProps): react_jsx_runtime.JSX.Element;
454
+ declare function Drawer({ anchor, hideBackdrop, ...props }: DrawerProps): react_jsx_runtime.JSX.Element;
455
455
  declare function SwipeableDrawer(props: SwipeableDrawerProps): react_jsx_runtime.JSX.Element;
456
456
 
457
457
  declare function Paper(props: PaperProps): react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -451,7 +451,7 @@ declare function CardMedia(props: CardMediaProps): react_jsx_runtime.JSX.Element
451
451
 
452
452
  declare function CardActionArea(props: CardActionAreaProps): react_jsx_runtime.JSX.Element;
453
453
 
454
- declare function Drawer(props: DrawerProps): react_jsx_runtime.JSX.Element;
454
+ declare function Drawer({ anchor, hideBackdrop, ...props }: DrawerProps): react_jsx_runtime.JSX.Element;
455
455
  declare function SwipeableDrawer(props: SwipeableDrawerProps): react_jsx_runtime.JSX.Element;
456
456
 
457
457
  declare function Paper(props: PaperProps): react_jsx_runtime.JSX.Element;
package/dist/index.js CHANGED
@@ -4894,8 +4894,8 @@ function CardActionArea(props) {
4894
4894
  var import_Drawer = __toESM(require("@mui/material/Drawer"));
4895
4895
  var import_SwipeableDrawer = __toESM(require("@mui/material/SwipeableDrawer"));
4896
4896
  var import_jsx_runtime41 = require("react/jsx-runtime");
4897
- function Drawer(props) {
4898
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_Drawer.default, { ...props });
4897
+ function Drawer({ anchor = "right", hideBackdrop = true, ...props }) {
4898
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_Drawer.default, { anchor, hideBackdrop, ...props });
4899
4899
  }
4900
4900
  function SwipeableDrawer(props) {
4901
4901
  return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_SwipeableDrawer.default, { ...props });