@sproutsocial/seeds-react-menu 1.8.4 → 1.8.5
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/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +8 -0
- package/dist/esm/v2/index.js +4 -0
- package/dist/esm/v2/index.js.map +1 -1
- package/dist/v2/index.js +4 -0
- package/dist/v2/index.js.map +1 -1
- package/package.json +3 -3
- package/src/v2/Common-V2/Popout.tsx +4 -0
- package/src/v2/Common-V2/PopoutTypes.tsx +17 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -8,22 +8,22 @@ $ tsup --dts
|
|
|
8
8
|
[34mCLI[39m Cleaning output folder
|
|
9
9
|
[34mCJS[39m Build start
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
-
[
|
|
11
|
+
[32mCJS[39m [1mdist/index.js [22m[32m90.52 KB[39m
|
|
12
|
+
[32mCJS[39m [1mdist/v2/index.js [22m[32m71.41 KB[39m
|
|
13
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m176.37 KB[39m
|
|
14
|
+
[32mCJS[39m [1mdist/v2/index.js.map [22m[32m148.47 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 380ms
|
|
12
16
|
[32mESM[39m [1mdist/esm/index.js [22m[32m71.41 KB[39m
|
|
17
|
+
[32mESM[39m [1mdist/esm/v2/index.js [22m[32m60.86 KB[39m
|
|
13
18
|
[32mESM[39m [1mdist/esm/chunk-ROQATIB7.js [22m[32m9.15 KB[39m
|
|
14
|
-
[32mESM[39m [1mdist/esm/v2/index.js.map [22m[32m127.96 KB[39m
|
|
15
19
|
[32mESM[39m [1mdist/esm/index.js.map [22m[32m152.38 KB[39m
|
|
20
|
+
[32mESM[39m [1mdist/esm/v2/index.js.map [22m[32m128.83 KB[39m
|
|
16
21
|
[32mESM[39m [1mdist/esm/chunk-ROQATIB7.js.map [22m[32m22.93 KB[39m
|
|
17
|
-
[32mESM[39m ⚡️ Build success in
|
|
18
|
-
[32mCJS[39m [1mdist/v2/index.js [22m[32m71.31 KB[39m
|
|
19
|
-
[32mCJS[39m [1mdist/index.js [22m[32m90.52 KB[39m
|
|
20
|
-
[32mCJS[39m [1mdist/v2/index.js.map [22m[32m147.60 KB[39m
|
|
21
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m176.37 KB[39m
|
|
22
|
-
[32mCJS[39m ⚡️ Build success in 315ms
|
|
22
|
+
[32mESM[39m ⚡️ Build success in 381ms
|
|
23
23
|
[34mDTS[39m Build start
|
|
24
|
-
[32mDTS[39m ⚡️ Build success in
|
|
24
|
+
[32mDTS[39m ⚡️ Build success in 17567ms
|
|
25
25
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m39.04 KB[39m
|
|
26
26
|
[32mDTS[39m [1mdist/v2/index.d.ts [22m[32m4.87 KB[39m
|
|
27
27
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m39.04 KB[39m
|
|
28
28
|
[32mDTS[39m [1mdist/v2/index.d.mts [22m[32m4.87 KB[39m
|
|
29
|
-
Done in
|
|
29
|
+
Done in 19.14s.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @sproutsocial/seeds-react-menu
|
|
2
2
|
|
|
3
|
+
## 1.8.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 65e410f: Expose `onPointerDownOutside` and `onInteractOutside` props on the v2 Popout component, passing them through to Radix UI's `Popover.Content`. This allows consumers to handle dismiss events when Popout is nested inside a Radix Dialog (e.g. ModalV2), preventing crashes from conflicting DismissableLayer instances.
|
|
8
|
+
- Updated dependencies [65e410f]
|
|
9
|
+
- @sproutsocial/seeds-react-popout@2.4.25
|
|
10
|
+
|
|
3
11
|
## 1.8.4
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -200,6 +200,8 @@ function Popout({
|
|
|
200
200
|
onOpenAutoFocus,
|
|
201
201
|
onEscapeKeyDown,
|
|
202
202
|
onCloseAutoFocus,
|
|
203
|
+
onPointerDownOutside,
|
|
204
|
+
onInteractOutside,
|
|
203
205
|
...rest
|
|
204
206
|
}) {
|
|
205
207
|
const [isOpen, setIsOpen] = React2.useState(defaultOpen ?? false);
|
|
@@ -227,6 +229,8 @@ function Popout({
|
|
|
227
229
|
onOpenAutoFocus,
|
|
228
230
|
onEscapeKeyDown,
|
|
229
231
|
onCloseAutoFocus,
|
|
232
|
+
onPointerDownOutside,
|
|
233
|
+
onInteractOutside,
|
|
230
234
|
role: "presentation",
|
|
231
235
|
children: /* @__PURE__ */ jsx(StyledMotionDiv, { ...animationConfig, ...rest, children: content })
|
|
232
236
|
}
|