@wavelengthusaf/components 1.1.2 → 1.1.3

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
@@ -3419,7 +3419,7 @@ function WavelengthSearch({
3419
3419
  sx: { width: width2 },
3420
3420
  renderOption: (props, results2) => (
3421
3421
  // @ts-expect-error boneless chicken
3422
- /* @__PURE__ */ React9.createElement(ListItem, __spreadValues({ style: {}, c: true, key: results2.id }, props), /* @__PURE__ */ React9.createElement(ListItemText, { primary: results2.title, secondary: results2.subtitle }))
3422
+ /* @__PURE__ */ React9.createElement(ListItem, __spreadValues({ key: results2.id }, props), /* @__PURE__ */ React9.createElement(ListItemText, { primary: results2.title, secondary: results2.subtitle }))
3423
3423
  ),
3424
3424
  renderInput: (params) => /* @__PURE__ */ React9.createElement(
3425
3425
  TextField2,
@@ -3455,6 +3455,7 @@ function WavelengthSearch({
3455
3455
  onChange: (e) => {
3456
3456
  if (searchFunction) {
3457
3457
  const response = searchFunction(e.target.value);
3458
+ console.log(response);
3458
3459
  setResults(response);
3459
3460
  }
3460
3461
  }
@@ -3584,7 +3585,7 @@ import React11, { useState as useState3 } from "react";
3584
3585
  import { Box, List, ListItem as ListItem2, Typography, Collapse } from "@mui/material";
3585
3586
  import { KeyboardArrowDownRounded, KeyboardArrowRightRounded } from "@mui/icons-material";
3586
3587
  import { useNavigate } from "react-router-dom";
3587
- function WavelengthSideBar({ sections, bgColor, txtColor, labelColor, arrowColor, marginTop, marginLeft, width: width2 = 243 }) {
3588
+ function WavelengthSideBar({ sections, txtColor, bgColor, labelColor, arrowColor, marginTop, marginLeft, width: width2 = 243, height: height2 = 300 }) {
3588
3589
  const [openSections, setOpenSections] = useState3({});
3589
3590
  const navigate = useNavigate();
3590
3591
  const palette2 = getPalette();
@@ -3599,6 +3600,7 @@ function WavelengthSideBar({ sections, bgColor, txtColor, labelColor, arrowColor
3599
3600
  sx: {
3600
3601
  width: width2,
3601
3602
  minHeight: 300,
3603
+ height: height2,
3602
3604
  maxHeight: 737,
3603
3605
  overflow: "hidden",
3604
3606
  overflowY: "scroll",
@@ -4678,7 +4680,7 @@ function WavelengthStandardSnackbar(props) {
4678
4680
  return /* @__PURE__ */ React31.createElement(
4679
4681
  Snackbar2,
4680
4682
  {
4681
- sx: { marginTop: props.customVertyAlign ? `${props.customVertyAlign}` : "", zIndex: 6 },
4683
+ sx: { marginTop: props.customVertyAlign ? `${props.customVertyAlign}` : "", zIndex: 1400 },
4682
4684
  open: show,
4683
4685
  onClose: handleClose,
4684
4686
  autoHideDuration: durationMs,