react-better-html 1.1.116 → 1.1.117

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.mjs CHANGED
@@ -7727,8 +7727,7 @@ var TooltipComponent = forwardRef16(function Tooltip({
7727
7727
  asContextMenu,
7728
7728
  onOpen,
7729
7729
  onClose,
7730
- children,
7731
- ...props
7730
+ children
7732
7731
  }, ref) {
7733
7732
  const theme2 = useTheme();
7734
7733
  const triggerHolderRef = useRef6(null);
@@ -7840,7 +7839,6 @@ var TooltipComponent = forwardRef16(function Tooltip({
7840
7839
  paddingBlock: isSmall ? theme2.styles.gap / 2 : theme2.styles.gap,
7841
7840
  paddingInline: asContextMenu ? 0 : isSmall ? theme2.styles.space / 2 : theme2.styles.space,
7842
7841
  overflow: asContextMenu ? "hidden" : void 0,
7843
- ...props,
7844
7842
  children: content
7845
7843
  }
7846
7844
  ),
@@ -7853,7 +7851,9 @@ var TooltipComponent = forwardRef16(function Tooltip({
7853
7851
  top: position === "top" ? "100%" : position === "bottom" ? void 0 : 0,
7854
7852
  bottom: position === "bottom" ? "100%" : position === "top" ? void 0 : 0,
7855
7853
  left: position === "left" ? "100%" : position === "right" ? void 0 : 0,
7856
- right: position === "right" ? "100%" : position === "left" ? void 0 : 0
7854
+ right: position === "right" ? "100%" : position === "left" ? void 0 : 0,
7855
+ borderTopLeftRadius: 999,
7856
+ borderTopRightRadius: 999
7857
7857
  }
7858
7858
  ),
7859
7859
  withArrow && /* @__PURE__ */ jsx21(
@@ -7872,7 +7872,7 @@ var TooltipComponent = forwardRef16(function Tooltip({
7872
7872
  )
7873
7873
  ] });
7874
7874
  });
7875
- TooltipComponent.item = forwardRef16(function Item({ icon, text, description, isActive, onClick, onClickWithValue, value }, ref) {
7875
+ TooltipComponent.item = forwardRef16(function Item({ icon, text, description, isActive, value, id, onClick, onClickWithValue }, ref) {
7876
7876
  const theme2 = useTheme();
7877
7877
  return /* @__PURE__ */ jsxs17(
7878
7878
  Div_default.row,
@@ -7884,6 +7884,7 @@ TooltipComponent.item = forwardRef16(function Item({ icon, text, description, is
7884
7884
  paddingBlock: theme2.styles.gap,
7885
7885
  paddingInline: theme2.styles.space,
7886
7886
  cursor: "pointer",
7887
+ id,
7887
7888
  value,
7888
7889
  onClick,
7889
7890
  onClickWithValue,