@localstack/appinspector-ui 1.0.204 → 1.0.206

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.js CHANGED
@@ -15744,9 +15744,12 @@ import {
15744
15744
  } from "@mui/material";
15745
15745
  import { useState as useState6 } from "react";
15746
15746
 
15747
- // src/constants/native-scrollbars.ts
15748
- var NATIVE_SCROLLBARS = {
15749
- "&, & *": { scrollbarWidth: "thin" }
15747
+ // src/constants/themed-scrollbars.ts
15748
+ var THEMED_SCROLLBARS = {
15749
+ "&, & *": {
15750
+ scrollbarColor: (theme) => `${theme.palette.text.disabled} transparent`,
15751
+ scrollbarWidth: "thin"
15752
+ }
15750
15753
  };
15751
15754
 
15752
15755
  // src/components/spans-list/spans-filter-bar.tsx
@@ -15816,7 +15819,7 @@ var FilterDropdown = ({ "data-testid": testId, label, onChange, options, value }
15816
15819
  setAnchorElement(void 0);
15817
15820
  },
15818
15821
  open,
15819
- slotProps: { paper: { sx: { ...NATIVE_SCROLLBARS, maxHeight: 320, minWidth: 200 } } },
15822
+ slotProps: { paper: { sx: { ...THEMED_SCROLLBARS, maxHeight: 320, minWidth: 200 } } },
15820
15823
  children: [
15821
15824
  /* @__PURE__ */ jsx127(ListSubheader, { sx: { fontSize: "0.7rem", letterSpacing: "0.08em", lineHeight: "2rem", textTransform: "uppercase" }, children: label }),
15822
15825
  options.length === 0 && /* @__PURE__ */ jsx127(MenuItem, { disabled: true, children: /* @__PURE__ */ jsx127(Typography4, { color: "text.secondary", variant: "body2", children: "No options available" }) }),
@@ -33935,7 +33938,7 @@ var SpansListPage = () => {
33935
33938
  );
33936
33939
  }
33937
33940
  }
33938
- return /* @__PURE__ */ jsxs139(Paper2, { square: true, sx: { ...NATIVE_SCROLLBARS, display: "flex", flexDirection: "row", flexGrow: 1, minHeight: 0, overflow: "hidden" }, children: [
33941
+ return /* @__PURE__ */ jsxs139(Paper2, { square: true, sx: { ...THEMED_SCROLLBARS, display: "flex", flexDirection: "row", flexGrow: 1, minHeight: 0, overflow: "hidden" }, children: [
33939
33942
  /* @__PURE__ */ jsxs139(
33940
33943
  Box22,
33941
33944
  {