@matteoaliano/forest-ui 0.8.1 → 0.8.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.mjs CHANGED
@@ -243,23 +243,8 @@ import { useState, useCallback } from "react";
243
243
  import MuiTextField2 from "@mui/material/TextField";
244
244
  import InputAdornment from "@mui/material/InputAdornment";
245
245
  import IconButton from "@mui/material/IconButton";
246
-
247
- // ../../node_modules/@mui/icons-material/esm/utils/createSvgIcon.js
248
- import { createSvgIcon } from "@mui/material/utils";
249
-
250
- // ../../node_modules/@mui/icons-material/esm/Search.js
251
- import { jsx as _jsx } from "react/jsx-runtime";
252
- var Search_default = createSvgIcon(/* @__PURE__ */ _jsx("path", {
253
- d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
254
- }), "Search");
255
-
256
- // ../../node_modules/@mui/icons-material/esm/Clear.js
257
- import { jsx as _jsx2 } from "react/jsx-runtime";
258
- var Clear_default = createSvgIcon(/* @__PURE__ */ _jsx2("path", {
259
- d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
260
- }), "Clear");
261
-
262
- // src/components/Search/index.tsx
246
+ import SearchIcon from "@mui/icons-material/Search";
247
+ import ClearIcon from "@mui/icons-material/Clear";
263
248
  import { jsx as jsx12 } from "react/jsx-runtime";
264
249
  function Search({
265
250
  value: controlledValue,
@@ -300,7 +285,7 @@ function Search({
300
285
  gap: 0,
301
286
  "& .MuiOutlinedInput-input": { pl: "8px" }
302
287
  },
303
- startAdornment: /* @__PURE__ */ jsx12(InputAdornment, { position: "start", sx: { mr: 0 }, children: /* @__PURE__ */ jsx12(Search_default, { sx: { fontSize: 20, color: "text.placeholder" } }) }),
288
+ startAdornment: /* @__PURE__ */ jsx12(InputAdornment, { position: "start", sx: { mr: 0 }, children: /* @__PURE__ */ jsx12(SearchIcon, { sx: { fontSize: 20, color: "text.placeholder" } }) }),
304
289
  endAdornment: currentValue ? /* @__PURE__ */ jsx12(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx12(
305
290
  IconButton,
306
291
  {
@@ -308,7 +293,7 @@ function Search({
308
293
  onClick: handleClear,
309
294
  edge: "end",
310
295
  size: "small",
311
- children: /* @__PURE__ */ jsx12(Clear_default, { fontSize: "small" })
296
+ children: /* @__PURE__ */ jsx12(ClearIcon, { fontSize: "small" })
312
297
  }
313
298
  ) }) : null,
314
299
  ...typeof (slotProps == null ? void 0 : slotProps.input) === "object" ? slotProps.input : {}
@@ -1017,14 +1002,7 @@ function Badge(props) {
1017
1002
 
1018
1003
  // src/components/Chip/index.tsx
1019
1004
  import MuiChip from "@mui/material/Chip";
1020
-
1021
- // ../../node_modules/@mui/icons-material/esm/CloseOutlined.js
1022
- import { jsx as _jsx3 } from "react/jsx-runtime";
1023
- var CloseOutlined_default = createSvgIcon(/* @__PURE__ */ _jsx3("path", {
1024
- d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
1025
- }), "CloseOutlined");
1026
-
1027
- // src/components/Chip/index.tsx
1005
+ import CloseIcon from "@mui/icons-material/CloseOutlined";
1028
1006
  import { jsx as jsx25 } from "react/jsx-runtime";
1029
1007
  var customChipColors = {
1030
1008
  teal: { bg: misc.teal[50], color: misc.teal[700], deleteIcon: misc.teal[400] },
@@ -1038,7 +1016,7 @@ var customChipColors = {
1038
1016
  rose: { bg: misc.rose[50], color: misc.rose[700], deleteIcon: misc.rose[400] },
1039
1017
  blueLight: { bg: misc.blueLight[50], color: misc.blueLight[700], deleteIcon: misc.blueLight[400] }
1040
1018
  };
1041
- function Chip({ color, deleteIcon = /* @__PURE__ */ jsx25(CloseOutlined_default, {}), sx, ...props }) {
1019
+ function Chip({ color, deleteIcon = /* @__PURE__ */ jsx25(CloseIcon, {}), sx, ...props }) {
1042
1020
  const custom = color && typeof color === "string" ? customChipColors[color] : void 0;
1043
1021
  if (custom) {
1044
1022
  return /* @__PURE__ */ jsx25(
@@ -1562,20 +1540,8 @@ import { createContext, useContext } from "react";
1562
1540
  import MuiDrawer2 from "@mui/material/Drawer";
1563
1541
  import Box2 from "@mui/material/Box";
1564
1542
  import IconButton3 from "@mui/material/IconButton";
1565
-
1566
- // ../../node_modules/@mui/icons-material/esm/ChevronLeftOutlined.js
1567
- import { jsx as _jsx4 } from "react/jsx-runtime";
1568
- var ChevronLeftOutlined_default = createSvgIcon(/* @__PURE__ */ _jsx4("path", {
1569
- d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
1570
- }), "ChevronLeftOutlined");
1571
-
1572
- // ../../node_modules/@mui/icons-material/esm/ChevronRightOutlined.js
1573
- import { jsx as _jsx5 } from "react/jsx-runtime";
1574
- var ChevronRightOutlined_default = createSvgIcon(/* @__PURE__ */ _jsx5("path", {
1575
- d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
1576
- }), "ChevronRightOutlined");
1577
-
1578
- // src/components/Sidebar/index.tsx
1543
+ import ChevronLeftOutlined from "@mui/icons-material/ChevronLeftOutlined";
1544
+ import ChevronRightOutlined from "@mui/icons-material/ChevronRightOutlined";
1579
1545
  import MuiListItemButton2 from "@mui/material/ListItemButton";
1580
1546
  import ListItemIcon2 from "@mui/material/ListItemIcon";
1581
1547
  import ListItemText2 from "@mui/material/ListItemText";
@@ -1671,7 +1637,7 @@ function SidebarNav({
1671
1637
  fontSize: 18
1672
1638
  }
1673
1639
  },
1674
- children: open ? /* @__PURE__ */ jsx60(ChevronLeftOutlined_default, {}) : /* @__PURE__ */ jsx60(ChevronRightOutlined_default, {})
1640
+ children: open ? /* @__PURE__ */ jsx60(ChevronLeftOutlined, {}) : /* @__PURE__ */ jsx60(ChevronRightOutlined, {})
1675
1641
  }
1676
1642
  )
1677
1643
  ] }) });