@plasmicpkgs/react-aria 0.0.116 → 0.0.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.
@@ -5036,7 +5036,7 @@ function ControlledBaseTooltip(props) {
5036
5036
  plasmicUpdateVariant,
5037
5037
  __plasmic_selection_prop__
5038
5038
  } = props;
5039
- const isOpen2 = useIsOpen({
5039
+ const isCanvasAwareOpen = useIsOpen({
5040
5040
  triggerSlotName: "children",
5041
5041
  isOpen,
5042
5042
  __plasmic_selection_prop__
@@ -5044,6 +5044,7 @@ function ControlledBaseTooltip(props) {
5044
5044
  const ref = useRef(null);
5045
5045
  const tooltipId = useId();
5046
5046
  const state = useTooltipTriggerState(__spreadProps(__spreadValues({}, props), {
5047
+ isOpen: isCanvasAwareOpen,
5047
5048
  trigger: trigger === "focus" ? trigger : void 0
5048
5049
  }));
5049
5050
  return /* @__PURE__ */ React.createElement(Provider, { values: [[TooltipTriggerStateContext, state]] }, /* @__PURE__ */ React.createElement(
@@ -5051,7 +5052,7 @@ function ControlledBaseTooltip(props) {
5051
5052
  {
5052
5053
  ref,
5053
5054
  className,
5054
- tooltipId: isOpen2 ? tooltipId : void 0,
5055
+ tooltipId: state.isOpen ? tooltipId : void 0,
5055
5056
  isDisabled,
5056
5057
  onOpenChange,
5057
5058
  triggerOnFocusOnly: trigger === "focus"
@@ -5062,7 +5063,6 @@ function ControlledBaseTooltip(props) {
5062
5063
  {
5063
5064
  triggerRef: ref,
5064
5065
  id: tooltipId,
5065
- isOpen: isOpen2,
5066
5066
  offset,
5067
5067
  delay,
5068
5068
  closeDelay,