@matteoaliano/forest-ui 0.5.1 → 0.6.0

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.mjs CHANGED
@@ -41,7 +41,7 @@ import {
41
41
  toggleColors,
42
42
  warning,
43
43
  widths
44
- } from "./chunk-TECEHFAG.mjs";
44
+ } from "./chunk-WUUQHE5X.mjs";
45
45
 
46
46
  // src/provider/ForestProvider.tsx
47
47
  import { useMemo } from "react";
@@ -294,8 +294,13 @@ function Search({
294
294
  slotProps: {
295
295
  ...slotProps,
296
296
  input: {
297
- sx: { pl: "12px", gap: 0 },
298
- startAdornment: /* @__PURE__ */ jsx12(InputAdornment, { position: "start", sx: { mr: 0 }, children: /* @__PURE__ */ jsx12(Search_default, { sx: { fontSize: 20 } }) }),
297
+ sx: {
298
+ pl: "8px",
299
+ pr: "4px",
300
+ gap: 0,
301
+ "& .MuiOutlinedInput-input": { pl: "8px" }
302
+ },
303
+ startAdornment: /* @__PURE__ */ jsx12(InputAdornment, { position: "start", sx: { mr: 0 }, children: /* @__PURE__ */ jsx12(Search_default, { sx: { fontSize: 20, color: "text.placeholder" } }) }),
299
304
  endAdornment: currentValue ? /* @__PURE__ */ jsx12(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx12(
300
305
  IconButton,
301
306
  {
@@ -798,8 +803,8 @@ function CardActionArea(props) {
798
803
  import MuiDrawer from "@mui/material/Drawer";
799
804
  import MuiSwipeableDrawer from "@mui/material/SwipeableDrawer";
800
805
  import { jsx as jsx38 } from "react/jsx-runtime";
801
- function Drawer(props) {
802
- return /* @__PURE__ */ jsx38(MuiDrawer, { ...props });
806
+ function Drawer({ anchor = "right", hideBackdrop = true, ...props }) {
807
+ return /* @__PURE__ */ jsx38(MuiDrawer, { anchor, hideBackdrop, ...props });
803
808
  }
804
809
  function SwipeableDrawer(props) {
805
810
  return /* @__PURE__ */ jsx38(MuiSwipeableDrawer, { ...props });