@pingux/astro 2.246.4-alpha.0 → 2.247.0-alpha.0
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.
|
@@ -38,7 +38,13 @@ const Popover = props => {
|
|
|
38
38
|
...props,
|
|
39
39
|
offset: offset ?? 0,
|
|
40
40
|
popoverRef
|
|
41
|
-
},
|
|
41
|
+
},
|
|
42
|
+
// PopoverProps.state is a structural Pick (see popoverContainer.ts) so any
|
|
43
|
+
// overlay state satisfies it regardless of the consumer's
|
|
44
|
+
// @react-stately/overlays copy. usePopover's declared parameter wants the
|
|
45
|
+
// full interface, but its implementation (verified in
|
|
46
|
+
// @react-aria/overlays 3.30.0) only reads isOpen and close.
|
|
47
|
+
state);
|
|
42
48
|
const {
|
|
43
49
|
isOpen
|
|
44
50
|
} = state;
|
|
@@ -30,7 +30,13 @@ const Popover = props => {
|
|
|
30
30
|
...props,
|
|
31
31
|
offset: offset ?? 0,
|
|
32
32
|
popoverRef
|
|
33
|
-
},
|
|
33
|
+
},
|
|
34
|
+
// PopoverProps.state is a structural Pick (see popoverContainer.ts) so any
|
|
35
|
+
// overlay state satisfies it regardless of the consumer's
|
|
36
|
+
// @react-stately/overlays copy. usePopover's declared parameter wants the
|
|
37
|
+
// full interface, but its implementation (verified in
|
|
38
|
+
// @react-aria/overlays 3.30.0) only reads isOpen and close.
|
|
39
|
+
state);
|
|
34
40
|
const {
|
|
35
41
|
isOpen
|
|
36
42
|
} = state;
|