@localstack/appinspector-ui 1.0.203 → 1.0.205

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
@@ -13246,13 +13246,13 @@ function determinePermissionStatus(payload) {
13246
13246
  function formatPermissionStatus(status) {
13247
13247
  switch (status) {
13248
13248
  case "explicitly_allowed": {
13249
- return "Explicitly Allowed";
13249
+ return "Allowed";
13250
13250
  }
13251
13251
  case "explicitly_denied": {
13252
13252
  return "Explicitly Denied";
13253
13253
  }
13254
13254
  case "implicitly_denied": {
13255
- return "Implicitly Denied";
13255
+ return "Not Allowed";
13256
13256
  }
13257
13257
  }
13258
13258
  }
@@ -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
  {