@bwp-web/components 1.9.3 → 1.9.4

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
@@ -749,7 +749,7 @@ function BiampSidebarIcon({
749
749
  const { expanded } = useContext2(BiampSidebarContext);
750
750
  const layoutDrawer = useBiampLayoutDrawer();
751
751
  const displayedSelectedIcon = selectedIcon ?? icon;
752
- return /* @__PURE__ */ jsx3(Tooltip, { title: expanded ? "" : name ?? "", placement: "right", arrow: true, children: /* @__PURE__ */ jsxs3(
752
+ return /* @__PURE__ */ jsxs3(
753
753
  ListItemButton,
754
754
  {
755
755
  selected,
@@ -779,17 +779,26 @@ function BiampSidebarIcon({
779
779
  ...props,
780
780
  children: [
781
781
  /* @__PURE__ */ jsx3(
782
- Box2,
782
+ Tooltip,
783
783
  {
784
- sx: {
785
- width: "48px",
786
- height: "48px",
787
- display: "flex",
788
- alignItems: "center",
789
- justifyContent: "center",
790
- flexShrink: 0
791
- },
792
- children: selected ? displayedSelectedIcon : icon
784
+ title: expanded ? "" : name ?? "",
785
+ placement: "right",
786
+ arrow: true,
787
+ disableInteractive: true,
788
+ children: /* @__PURE__ */ jsx3(
789
+ Box2,
790
+ {
791
+ sx: {
792
+ width: "48px",
793
+ height: "48px",
794
+ display: "flex",
795
+ alignItems: "center",
796
+ justifyContent: "center",
797
+ flexShrink: 0
798
+ },
799
+ children: selected ? displayedSelectedIcon : icon
800
+ }
801
+ )
793
802
  }
794
803
  ),
795
804
  name && /* @__PURE__ */ jsx3(
@@ -811,7 +820,7 @@ function BiampSidebarIcon({
811
820
  )
812
821
  ]
813
822
  }
814
- ) });
823
+ );
815
824
  }
816
825
  function BiampSidebarComponent({
817
826
  children,