@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.
@@ -5044,7 +5044,7 @@ function ControlledBaseTooltip(props) {
5044
5044
  plasmicUpdateVariant,
5045
5045
  __plasmic_selection_prop__
5046
5046
  } = props;
5047
- const isOpen2 = useIsOpen({
5047
+ const isCanvasAwareOpen = useIsOpen({
5048
5048
  triggerSlotName: "children",
5049
5049
  isOpen,
5050
5050
  __plasmic_selection_prop__
@@ -5052,6 +5052,7 @@ function ControlledBaseTooltip(props) {
5052
5052
  const ref = React.useRef(null);
5053
5053
  const tooltipId = React.useId();
5054
5054
  const state = reactStately.useTooltipTriggerState(__spreadProps(__spreadValues({}, props), {
5055
+ isOpen: isCanvasAwareOpen,
5055
5056
  trigger: trigger === "focus" ? trigger : void 0
5056
5057
  }));
5057
5058
  return /* @__PURE__ */ React__default.default.createElement(reactAriaComponents.Provider, { values: [[reactAriaComponents.TooltipTriggerStateContext, state]] }, /* @__PURE__ */ React__default.default.createElement(
@@ -5059,7 +5060,7 @@ function ControlledBaseTooltip(props) {
5059
5060
  {
5060
5061
  ref,
5061
5062
  className,
5062
- tooltipId: isOpen2 ? tooltipId : void 0,
5063
+ tooltipId: state.isOpen ? tooltipId : void 0,
5063
5064
  isDisabled,
5064
5065
  onOpenChange,
5065
5066
  triggerOnFocusOnly: trigger === "focus"
@@ -5070,7 +5071,6 @@ function ControlledBaseTooltip(props) {
5070
5071
  {
5071
5072
  triggerRef: ref,
5072
5073
  id: tooltipId,
5073
- isOpen: isOpen2,
5074
5074
  offset,
5075
5075
  delay,
5076
5076
  closeDelay,