dirk-cfx-react 1.1.69 → 1.1.70

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.cjs CHANGED
@@ -4841,7 +4841,7 @@ function ConfigPanel(props) {
4841
4841
  }
4842
4842
  ) });
4843
4843
  }
4844
- function LazyImage({ src, alt, style }) {
4844
+ function LazyImage({ src, style }) {
4845
4845
  const [visible, setVisible] = React6.useState(false);
4846
4846
  const ref = React6.useRef(null);
4847
4847
  React6.useEffect(() => {
@@ -4854,7 +4854,7 @@ function LazyImage({ src, alt, style }) {
4854
4854
  if (ref.current) observer.observe(ref.current);
4855
4855
  return () => observer.disconnect();
4856
4856
  }, []);
4857
- return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, style: { width: "4vh", height: "4vh" }, children: visible && /* @__PURE__ */ jsxRuntime.jsx(core.Image, { src, alt, fit: "contain", style }) });
4857
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, style: { width: "4vh", height: "4vh" }, children: visible && /* @__PURE__ */ jsxRuntime.jsx(core.Image, { src, fit: "contain", style }) });
4858
4858
  }
4859
4859
  function SelectItem(props) {
4860
4860
  const invItems = useItems();
@@ -4882,12 +4882,12 @@ function SelectItem(props) {
4882
4882
  searchable: true,
4883
4883
  comboboxProps: { withinPortal: true, zIndex: 2e3 },
4884
4884
  leftSectionWidth: "4vh",
4885
+ leftSectionPointerEvents: "none",
4885
4886
  leftSection: props.value ? /* @__PURE__ */ jsxRuntime.jsx(
4886
4887
  core.Image,
4887
4888
  {
4888
4889
  fallbackSrc: "/placeholder.png",
4889
4890
  src: invItems[props.value]?.image || "",
4890
- alt: props.value,
4891
4891
  fit: "contain",
4892
4892
  maw: "4vh",
4893
4893
  style: { aspectRatio: "1 / 1" }
@@ -4899,7 +4899,6 @@ function SelectItem(props) {
4899
4899
  LazyImage,
4900
4900
  {
4901
4901
  src: invItems[item.option.value]?.image || "",
4902
- alt: item.option.label,
4903
4902
  style: { aspectRatio: "1 / 1" }
4904
4903
  }
4905
4904
  ),