@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/{chunk-TECEHFAG.mjs → chunk-WUUQHE5X.mjs} +161 -54
- package/dist/chunk-WUUQHE5X.mjs.map +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +169 -57
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -5
- package/dist/index.mjs.map +1 -1
- package/dist/theme.d.mts +25 -0
- package/dist/theme.d.ts +25 -0
- package/dist/theme.js +160 -53
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +1 -1
- package/package.json +11 -2
- package/skills/forest-agency/SKILL.md +1 -1
- package/skills/forest-agency/references/components.md +1 -1
- package/skills/forest-agency/references/patterns.md +79 -0
- package/skills/forest-alkemy-plus/SKILL.md +1 -1
- package/skills/forest-alkemy-plus/references/components.md +1 -1
- package/skills/forest-alkemy-plus/references/patterns.md +79 -0
- package/skills/forest-external/SKILL.md +1 -1
- package/skills/forest-external/references/components.md +1 -1
- package/skills/forest-external/references/patterns.md +79 -0
- package/skills/forest-internal/SKILL.md +1 -1
- package/skills/forest-internal/references/components.md +1 -1
- package/skills/forest-internal/references/patterns.md +79 -0
- package/dist/chunk-TECEHFAG.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
toggleColors,
|
|
42
42
|
warning,
|
|
43
43
|
widths
|
|
44
|
-
} from "./chunk-
|
|
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: {
|
|
298
|
-
|
|
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 });
|