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.
@@ -4106,7 +4106,7 @@ function ConfigPanel(props) {
4106
4106
  }
4107
4107
  ) });
4108
4108
  }
4109
- function LazyImage({ src, alt, style }) {
4109
+ function LazyImage({ src, style }) {
4110
4110
  const [visible, setVisible] = react.useState(false);
4111
4111
  const ref = react.useRef(null);
4112
4112
  react.useEffect(() => {
@@ -4119,7 +4119,7 @@ function LazyImage({ src, alt, style }) {
4119
4119
  if (ref.current) observer.observe(ref.current);
4120
4120
  return () => observer.disconnect();
4121
4121
  }, []);
4122
- return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, style: { width: "4vh", height: "4vh" }, children: visible && /* @__PURE__ */ jsxRuntime.jsx(core.Image, { src, alt, fit: "contain", style }) });
4122
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, style: { width: "4vh", height: "4vh" }, children: visible && /* @__PURE__ */ jsxRuntime.jsx(core.Image, { src, fit: "contain", style }) });
4123
4123
  }
4124
4124
  function SelectItem(props) {
4125
4125
  const invItems = useItems();
@@ -4147,12 +4147,12 @@ function SelectItem(props) {
4147
4147
  searchable: true,
4148
4148
  comboboxProps: { withinPortal: true, zIndex: 2e3 },
4149
4149
  leftSectionWidth: "4vh",
4150
+ leftSectionPointerEvents: "none",
4150
4151
  leftSection: props.value ? /* @__PURE__ */ jsxRuntime.jsx(
4151
4152
  core.Image,
4152
4153
  {
4153
4154
  fallbackSrc: "/placeholder.png",
4154
4155
  src: invItems[props.value]?.image || "",
4155
- alt: props.value,
4156
4156
  fit: "contain",
4157
4157
  maw: "4vh",
4158
4158
  style: { aspectRatio: "1 / 1" }
@@ -4164,7 +4164,6 @@ function SelectItem(props) {
4164
4164
  LazyImage,
4165
4165
  {
4166
4166
  src: invItems[item.option.value]?.image || "",
4167
- alt: item.option.label,
4168
4167
  style: { aspectRatio: "1 / 1" }
4169
4168
  }
4170
4169
  ),