@fluentui/react-popover 0.0.0-nightly-20230518-0420.1 → 0.0.0-nightly-20230522-0418.1

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/CHANGELOG.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "@fluentui/react-popover",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 18 May 2023 04:27:35 GMT",
6
- "tag": "@fluentui/react-popover_v0.0.0-nightly-20230518-0420.1",
7
- "version": "0.0.0-nightly-20230518-0420.1",
5
+ "date": "Mon, 22 May 2023 04:24:40 GMT",
6
+ "tag": "@fluentui/react-popover_v0.0.0-nightly-20230522-0418.1",
7
+ "version": "0.0.0-nightly-20230522-0418.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
@@ -16,68 +16,89 @@
16
16
  {
17
17
  "author": "beachball",
18
18
  "package": "@fluentui/react-popover",
19
- "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly-20230518-0420.1",
20
- "commit": "8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec"
19
+ "comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly-20230522-0418.1",
20
+ "commit": "4f33906c77d5adc614349a03b56f79f56918a081"
21
21
  },
22
22
  {
23
23
  "author": "beachball",
24
24
  "package": "@fluentui/react-popover",
25
- "comment": "Bump @fluentui/react-aria to v0.0.0-nightly-20230518-0420.1",
26
- "commit": "8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec"
25
+ "comment": "Bump @fluentui/react-aria to v0.0.0-nightly-20230522-0418.1",
26
+ "commit": "4f33906c77d5adc614349a03b56f79f56918a081"
27
27
  },
28
28
  {
29
29
  "author": "beachball",
30
30
  "package": "@fluentui/react-popover",
31
- "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly-20230518-0420.1",
32
- "commit": "8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec"
31
+ "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly-20230522-0418.1",
32
+ "commit": "4f33906c77d5adc614349a03b56f79f56918a081"
33
33
  },
34
34
  {
35
35
  "author": "beachball",
36
36
  "package": "@fluentui/react-popover",
37
- "comment": "Bump @fluentui/react-portal to v0.0.0-nightly-20230518-0420.1",
38
- "commit": "8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec"
37
+ "comment": "Bump @fluentui/react-portal to v0.0.0-nightly-20230522-0418.1",
38
+ "commit": "4f33906c77d5adc614349a03b56f79f56918a081"
39
39
  },
40
40
  {
41
41
  "author": "beachball",
42
42
  "package": "@fluentui/react-popover",
43
- "comment": "Bump @fluentui/react-positioning to v0.0.0-nightly-20230518-0420.1",
44
- "commit": "8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec"
43
+ "comment": "Bump @fluentui/react-positioning to v0.0.0-nightly-20230522-0418.1",
44
+ "commit": "4f33906c77d5adc614349a03b56f79f56918a081"
45
45
  },
46
46
  {
47
47
  "author": "beachball",
48
48
  "package": "@fluentui/react-popover",
49
- "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230518-0420.1",
50
- "commit": "8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec"
49
+ "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230522-0418.1",
50
+ "commit": "4f33906c77d5adc614349a03b56f79f56918a081"
51
51
  },
52
52
  {
53
53
  "author": "beachball",
54
54
  "package": "@fluentui/react-popover",
55
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20230518-0420.1",
56
- "commit": "8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec"
55
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20230522-0418.1",
56
+ "commit": "4f33906c77d5adc614349a03b56f79f56918a081"
57
57
  },
58
58
  {
59
59
  "author": "beachball",
60
60
  "package": "@fluentui/react-popover",
61
- "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230518-0420.1",
62
- "commit": "8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec"
61
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230522-0418.1",
62
+ "commit": "4f33906c77d5adc614349a03b56f79f56918a081"
63
63
  },
64
64
  {
65
65
  "author": "beachball",
66
66
  "package": "@fluentui/react-popover",
67
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230518-0420.1",
68
- "commit": "8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec"
67
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230522-0418.1",
68
+ "commit": "4f33906c77d5adc614349a03b56f79f56918a081"
69
69
  },
70
70
  {
71
71
  "author": "beachball",
72
72
  "package": "@fluentui/react-popover",
73
- "comment": "Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20230518-0420.1",
74
- "commit": "8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec"
73
+ "comment": "Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20230522-0418.1",
74
+ "commit": "4f33906c77d5adc614349a03b56f79f56918a081"
75
75
  },
76
76
  {
77
77
  "author": "beachball",
78
78
  "package": "@fluentui/react-popover",
79
- "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230518-0420.1",
80
- "commit": "8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec"
79
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230522-0418.1",
80
+ "commit": "4f33906c77d5adc614349a03b56f79f56918a081"
81
+ }
82
+ ]
83
+ }
84
+ },
85
+ {
86
+ "date": "Thu, 18 May 2023 13:11:08 GMT",
87
+ "tag": "@fluentui/react-popover_v9.5.13",
88
+ "version": "9.5.13",
89
+ "comments": {
90
+ "patch": [
91
+ {
92
+ "author": "beachball",
93
+ "package": "@fluentui/react-popover",
94
+ "comment": "Bump @fluentui/react-portal to v9.2.9",
95
+ "commit": "1e6f5c8eec4b67c051fb3aa429e303115570ae4d"
96
+ },
97
+ {
98
+ "author": "beachball",
99
+ "package": "@fluentui/react-popover",
100
+ "comment": "Bump @fluentui/react-tabster to v9.7.2",
101
+ "commit": "1e6f5c8eec4b67c051fb3aa429e303115570ae4d"
81
102
  }
82
103
  ]
83
104
  }
package/CHANGELOG.md CHANGED
@@ -1,28 +1,38 @@
1
1
  # Change Log - @fluentui/react-popover
2
2
 
3
- This log was last generated on Thu, 18 May 2023 04:27:35 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 22 May 2023 04:24:40 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20230518-0420.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v0.0.0-nightly-20230518-0420.1)
7
+ ## [0.0.0-nightly-20230522-0418.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v0.0.0-nightly-20230522-0418.1)
8
8
 
9
- Thu, 18 May 2023 04:27:35 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.5.12..@fluentui/react-popover_v0.0.0-nightly-20230518-0420.1)
9
+ Mon, 22 May 2023 04:24:40 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.5.13..@fluentui/react-popover_v0.0.0-nightly-20230522-0418.1)
11
11
 
12
12
  ### Changes
13
13
 
14
14
  - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
15
- - Bump @fluentui/keyboard-keys to v0.0.0-nightly-20230518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec) by beachball)
16
- - Bump @fluentui/react-aria to v0.0.0-nightly-20230518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec) by beachball)
17
- - Bump @fluentui/react-context-selector to v0.0.0-nightly-20230518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec) by beachball)
18
- - Bump @fluentui/react-portal to v0.0.0-nightly-20230518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec) by beachball)
19
- - Bump @fluentui/react-positioning to v0.0.0-nightly-20230518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec) by beachball)
20
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec) by beachball)
21
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20230518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec) by beachball)
22
- - Bump @fluentui/react-theme to v0.0.0-nightly-20230518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec) by beachball)
23
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20230518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec) by beachball)
24
- - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20230518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec) by beachball)
25
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/8fd483d3f3ac295093d51c3ee6fa9057ae82d8ec) by beachball)
15
+ - Bump @fluentui/keyboard-keys to v0.0.0-nightly-20230522-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/4f33906c77d5adc614349a03b56f79f56918a081) by beachball)
16
+ - Bump @fluentui/react-aria to v0.0.0-nightly-20230522-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/4f33906c77d5adc614349a03b56f79f56918a081) by beachball)
17
+ - Bump @fluentui/react-context-selector to v0.0.0-nightly-20230522-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/4f33906c77d5adc614349a03b56f79f56918a081) by beachball)
18
+ - Bump @fluentui/react-portal to v0.0.0-nightly-20230522-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/4f33906c77d5adc614349a03b56f79f56918a081) by beachball)
19
+ - Bump @fluentui/react-positioning to v0.0.0-nightly-20230522-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/4f33906c77d5adc614349a03b56f79f56918a081) by beachball)
20
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230522-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/4f33906c77d5adc614349a03b56f79f56918a081) by beachball)
21
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20230522-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/4f33906c77d5adc614349a03b56f79f56918a081) by beachball)
22
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20230522-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/4f33906c77d5adc614349a03b56f79f56918a081) by beachball)
23
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20230522-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/4f33906c77d5adc614349a03b56f79f56918a081) by beachball)
24
+ - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20230522-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/4f33906c77d5adc614349a03b56f79f56918a081) by beachball)
25
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230522-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/4f33906c77d5adc614349a03b56f79f56918a081) by beachball)
26
+
27
+ ## [9.5.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.5.13)
28
+
29
+ Thu, 18 May 2023 13:11:08 GMT
30
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.5.12..@fluentui/react-popover_v9.5.13)
31
+
32
+ ### Patches
33
+
34
+ - Bump @fluentui/react-portal to v9.2.9 ([PR #27540](https://github.com/microsoft/fluentui/pull/27540) by beachball)
35
+ - Bump @fluentui/react-tabster to v9.7.2 ([PR #27540](https://github.com/microsoft/fluentui/pull/27540) by beachball)
26
36
 
27
37
  ## [9.5.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.5.12)
28
38
 
@@ -70,6 +70,7 @@ export const usePopoverSurface_unstable = (props, ref) => {
70
70
  // only close if the event happened inside the current popover
71
71
  // If using a stack of inline popovers, the user should call `stopPropagation` to avoid dismissing the entire stack
72
72
  if (e.key === 'Escape' && ((_contentRef_current = contentRef.current) === null || _contentRef_current === void 0 ? void 0 : _contentRef_current.contains(e.target))) {
73
+ e.preventDefault();
73
74
  setOpen(e, false);
74
75
  }
75
76
  onKeyDownOriginal === null || onKeyDownOriginal === void 0 ? void 0 : onKeyDownOriginal(e);
@@ -1 +1 @@
1
- {"version":3,"names":["React","getNativeElementProps","useMergedRefs","useModalAttributes","usePopoverContext_unstable","usePopoverSurface_unstable","props","ref","contentRef","context","openOnHover","setOpen","mountNode","arrowRef","size","withArrow","appearance","trapFocus","inertTrapFocus","inline","modalAttributes","legacyTrapFocus","alwaysFocusable","state","components","root","role","undefined","onMouseEnter","onMouseEnterOriginal","onMouseLeave","onMouseLeaveOriginal","onKeyDown","onKeyDownOriginal","e","_contentRef_current","key","current","contains","target"],"sources":["../../../src/components/PopoverSurface/usePopoverSurface.ts"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, useMergedRefs } from '@fluentui/react-utilities';\nimport { useModalAttributes } from '@fluentui/react-tabster';\nimport { usePopoverContext_unstable } from '../../popoverContext';\nimport type { PopoverSurfaceProps, PopoverSurfaceState } from './PopoverSurface.types';\n\n/**\n * Create the state required to render PopoverSurface.\n *\n * The returned state can be modified with hooks such as usePopoverSurfaceStyles_unstable,\n * before being passed to renderPopoverSurface_unstable.\n *\n * @param props - props from this instance of PopoverSurface\n * @param ref - reference to root HTMLDivElement of PopoverSurface\n */\nexport const usePopoverSurface_unstable = (\n props: PopoverSurfaceProps,\n ref: React.Ref<HTMLDivElement>,\n): PopoverSurfaceState => {\n const contentRef = usePopoverContext_unstable(context => context.contentRef);\n const openOnHover = usePopoverContext_unstable(context => context.openOnHover);\n const setOpen = usePopoverContext_unstable(context => context.setOpen);\n const mountNode = usePopoverContext_unstable(context => context.mountNode);\n const arrowRef = usePopoverContext_unstable(context => context.arrowRef);\n const size = usePopoverContext_unstable(context => context.size);\n const withArrow = usePopoverContext_unstable(context => context.withArrow);\n const appearance = usePopoverContext_unstable(context => context.appearance);\n const trapFocus = usePopoverContext_unstable(context => context.trapFocus);\n const inertTrapFocus = usePopoverContext_unstable(context => context.inertTrapFocus);\n const inline = usePopoverContext_unstable(context => context.inline);\n const { modalAttributes } = useModalAttributes({\n trapFocus,\n legacyTrapFocus: !inertTrapFocus,\n alwaysFocusable: !trapFocus,\n });\n\n const state: PopoverSurfaceState = {\n inline,\n appearance,\n withArrow,\n size,\n arrowRef,\n mountNode,\n components: {\n root: 'div',\n },\n root: getNativeElementProps('div', {\n ref: useMergedRefs(ref, contentRef),\n role: trapFocus ? 'dialog' : 'group',\n 'aria-modal': trapFocus ? true : undefined,\n ...modalAttributes,\n ...props,\n }),\n };\n\n const {\n onMouseEnter: onMouseEnterOriginal,\n onMouseLeave: onMouseLeaveOriginal,\n onKeyDown: onKeyDownOriginal,\n } = state.root;\n state.root.onMouseEnter = (e: React.MouseEvent<HTMLDivElement>) => {\n if (openOnHover) {\n setOpen(e, true);\n }\n\n onMouseEnterOriginal?.(e);\n };\n\n state.root.onMouseLeave = (e: React.MouseEvent<HTMLDivElement>) => {\n if (openOnHover) {\n setOpen(e, false);\n }\n\n onMouseLeaveOriginal?.(e);\n };\n\n state.root.onKeyDown = (e: React.KeyboardEvent<HTMLDivElement>) => {\n // only close if the event happened inside the current popover\n // If using a stack of inline popovers, the user should call `stopPropagation` to avoid dismissing the entire stack\n if (e.key === 'Escape' && contentRef.current?.contains(e.target as HTMLDivElement)) {\n setOpen(e, false);\n }\n\n onKe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AAA;AACT"}
1
+ {"version":3,"names":["React","getNativeElementProps","useMergedRefs","useModalAttributes","usePopoverContext_unstable","usePopoverSurface_unstable","props","ref","contentRef","context","openOnHover","setOpen","mountNode","arrowRef","size","withArrow","appearance","trapFocus","inertTrapFocus","inline","modalAttributes","legacyTrapFocus","alwaysFocusable","state","components","root","role","undefined","onMouseEnter","onMouseEnterOriginal","onMouseLeave","onMouseLeaveOriginal","onKeyDown","onKeyDownOriginal","e","_contentRef_current","key","current","contains","target","preventDefault"],"sources":["../../../src/components/PopoverSurface/usePopoverSurface.ts"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, useMergedRefs } from '@fluentui/react-utilities';\nimport { useModalAttributes } from '@fluentui/react-tabster';\nimport { usePopoverContext_unstable } from '../../popoverContext';\nimport type { PopoverSurfaceProps, PopoverSurfaceState } from './PopoverSurface.types';\n\n/**\n * Create the state required to render PopoverSurface.\n *\n * The returned state can be modified with hooks such as usePopoverSurfaceStyles_unstable,\n * before being passed to renderPopoverSurface_unstable.\n *\n * @param props - props from this instance of PopoverSurface\n * @param ref - reference to root HTMLDivElement of PopoverSurface\n */\nexport const usePopoverSurface_unstable = (\n props: PopoverSurfaceProps,\n ref: React.Ref<HTMLDivElement>,\n): PopoverSurfaceState => {\n const contentRef = usePopoverContext_unstable(context => context.contentRef);\n const openOnHover = usePopoverContext_unstable(context => context.openOnHover);\n const setOpen = usePopoverContext_unstable(context => context.setOpen);\n const mountNode = usePopoverContext_unstable(context => context.mountNode);\n const arrowRef = usePopoverContext_unstable(context => context.arrowRef);\n const size = usePopoverContext_unstable(context => context.size);\n const withArrow = usePopoverContext_unstable(context => context.withArrow);\n const appearance = usePopoverContext_unstable(context => context.appearance);\n const trapFocus = usePopoverContext_unstable(context => context.trapFocus);\n const inertTrapFocus = usePopoverContext_unstable(context => context.inertTrapFocus);\n const inline = usePopoverContext_unstable(context => context.inline);\n const { modalAttributes } = useModalAttributes({\n trapFocus,\n legacyTrapFocus: !inertTrapFocus,\n alwaysFocusable: !trapFocus,\n });\n\n const state: PopoverSurfaceState = {\n inline,\n appearance,\n withArrow,\n size,\n arrowRef,\n mountNode,\n components: {\n root: 'div',\n },\n root: getNativeElementProps('div', {\n ref: useMergedRefs(ref, contentRef),\n role: trapFocus ? 'dialog' : 'group',\n 'aria-modal': trapFocus ? true : undefined,\n ...modalAttributes,\n ...props,\n }),\n };\n\n const {\n onMouseEnter: onMouseEnterOriginal,\n onMouseLeave: onMouseLeaveOriginal,\n onKeyDown: onKeyDownOriginal,\n } = state.root;\n state.root.onMouseEnter = (e: React.MouseEvent<HTMLDivElement>) => {\n if (openOnHover) {\n setOpen(e, true);\n }\n\n onMouseEnterOriginal?.(e);\n };\n\n state.root.onMouseLeave = (e: React.MouseEvent<HTMLDivElement>) => {\n if (openOnHover) {\n setOpen(e, false);\n }\n\n onMouseLeaveOriginal?.(e);\n };\n\n state.root.onKeyDown = (e: React.KeyboardEvent<HTMLDivElement>) => {\n // only close if the event happened inside the current popover\n // If using a stack of inline popovers, the user should call `stopPropagation` to avoid dismissing the entire stack\n if (e.key === 'Escape' && contentRef.current?.contains(e.target as HTMLDivElement)) {\n e.preventDefault();\n setOpen(e, false);\n }\n\n onKeyDownOriginal?.(e);\n };\n\n return state;\n};\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,qBAAqB,EAAEC,aAAa,QAAQ;AACrD,SAASC,kBAAkB,QAAQ;AACnC,SAASC,0BAA0B,QAAQ;AAG3C;;;;;;;;;AASA,OAAO,MAAMC,0BAAA,GAA6BA,CACxCC,KAAA,EACAC,GAAA,KACwB;EACxB,MAAMC,UAAA,GAAaJ,0BAAA,CAA2BK,OAAA,IAAWA,OAAA,CAAQD,UAAU;EAC3E,MAAME,WAAA,GAAcN,0BAAA,CAA2BK,OAAA,IAAWA,OAAA,CAAQC,WAAW;EAC7E,MAAMC,OAAA,GAAUP,0BAAA,CAA2BK,OAAA,IAAWA,OAAA,CAAQE,OAAO;EACrE,MAAMC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AAME,IAAI,CAACG,YAAY,GAAIM,CAAA,IAAwC;IACjE,IAAIxB,WAAA,EAAa;MACfC,OAAA,CAAQuB,CAAA,EAAG,IAAI;IACjB;IAEAL,oBAAA,aAAAA,oBAAA,uBAAAA,oBAAA,CAAuBK,CAAA;EACzB;EAEAX,KAAA,CAAME,IAAI,CAACK,YAAY,GAAII,CAAA,IAAwC;IACjE,IAAIxB,WAAA,EAAa;MACfC,OAAA,CAAQuB,CAAA,EAAG,KAAK;IAClB;IAEAH,oBAAA,aAAAA,oBAAA,uBAAAA,oBAAA,CAAuBG,CAAA;EACzB;EAEAX,KAAA,CAAME,IAAI,CAACO,SAAS,GAAIE,CAAA,IAA2C;QAGvCC,mBAAA;IAF1B;IACA;IACA,IAAID,CAAA,CAAEE,GAAG,KAAK,aAAY,CAAAD,mBAAA,GAAA3B,UAAA,CAAW6B,OAAO,cAAlBF,mBAAA,uBAAAA,mBAAA,CAAoBG,QAAA,CAASJ,CAAA,CAAEK,MAAM,IAAqB;MAClFL,CAAA,CAAEM,cAAc;MAChB7B,OAAA,CAAQuB,CAAA,EAAG,KAAK;IAClB;IAEAD,iBAAA,aAAAA,iBAAA,uBAAAA,iBAAA,CAAoBC,CAAA;EACtB;EAEA,OAAOX,KAAA;AACT"}
@@ -64,6 +64,7 @@ const usePopoverSurface_unstable = (props, ref)=>{
64
64
  // only close if the event happened inside the current popover
65
65
  // If using a stack of inline popovers, the user should call `stopPropagation` to avoid dismissing the entire stack
66
66
  if (e.key === 'Escape' && ((_contentRef_current = contentRef.current) === null || _contentRef_current === void 0 ? void 0 : _contentRef_current.contains(e.target))) {
67
+ e.preventDefault();
67
68
  setOpen(e, false);
68
69
  }
69
70
  onKeyDownOriginal === null || onKeyDownOriginal === void 0 ? void 0 : onKeyDownOriginal(e);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/PopoverSurface/usePopoverSurface.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, useMergedRefs } from '@fluentui/react-utilities';\nimport { useModalAttributes } from '@fluentui/react-tabster';\nimport { usePopoverContext_unstable } from '../../popoverContext';\n/**\n * Create the state required to render PopoverSurface.\n *\n * The returned state can be modified with hooks such as usePopoverSurfaceStyles_unstable,\n * before being passed to renderPopoverSurface_unstable.\n *\n * @param props - props from this instance of PopoverSurface\n * @param ref - reference to root HTMLDivElement of PopoverSurface\n */\nexport const usePopoverSurface_unstable = (props, ref) => {\n const contentRef = usePopoverContext_unstable(context => context.contentRef);\n const openOnHover = usePopoverContext_unstable(context => context.openOnHover);\n const setOpen = usePopoverContext_unstable(context => context.setOpen);\n const mountNode = usePopoverContext_unstable(context => context.mountNode);\n const arrowRef = usePopoverContext_unstable(context => context.arrowRef);\n const size = usePopoverContext_unstable(context => context.size);\n const withArrow = usePopoverContext_unstable(context => context.withArrow);\n const appearance = usePopoverContext_unstable(context => context.appearance);\n const trapFocus = usePopoverContext_unstable(context => context.trapFocus);\n const inertTrapFocus = usePopoverContext_unstable(context => context.inertTrapFocus);\n const inline = usePopoverContext_unstable(context => context.inline);\n const {\n modalAttributes\n } = useModalAttributes({\n trapFocus,\n legacyTrapFocus: !inertTrapFocus,\n alwaysFocusable: !trapFocus\n });\n const state = {\n inline,\n appearance,\n withArrow,\n size,\n arrowRef,\n mountNode,\n components: {\n root: 'div'\n },\n root: getNativeElementProps('div', {\n ref: useMergedRefs(ref, contentRef),\n role: trapFocus ? 'dialog' : 'group',\n 'aria-modal': trapFocus ? true : undefined,\n ...modalAttributes,\n ...props\n })\n };\n const {\n onMouseEnter: onMouseEnterOriginal,\n onMouseLeave: onMouseLeaveOriginal,\n onKeyDown: onKeyDownOriginal\n } = state.root;\n state.root.onMouseEnter = e => {\n if (openOnHover) {\n setOpen(e, true);\n }\n onMouseEnterOriginal === null || onMouseEnterOriginal === void 0 ? void 0 : onMouseEnterOriginal(e);\n };\n state.root.onMouseLeave = e => {\n if (openOnHover) {\n setOpen(e, false);\n }\n onMouseLeaveOriginal === null || onMouseLeaveOriginal === void 0 ? void 0 : onMouseLeaveOriginal(e);\n };\n state.root.onKeyDown = e => {\n var _contentRef_current;\n // only close if the event happened inside the current popover\n // If using a stack of inline popovers, the user should call `stopPropagation` to avoid dismissing the entire stack\n if (e.key === 'Escape' && ((_contentRef_current = contentRef.current) === null || _contentRef_current === void 0 ? void 0 : _contentRef_current.contains(e.target))) {\n setOpen(e, false);\n }\n onKeyDownOriginal === null || onKeyDownOriginal === void 0 ? void 0 : onKeyDownOriginal(e);\n };\n return state;\n};\n//# sourceMappingURL=usePopoverSurface.js.map"],"names":["usePopoverSurface_unstable","props","ref","contentRef","usePopoverContext_unstable","context","openOnHover","setOpen","mountNode","arrowRef","size","withArrow","appearance","trapFocus","inertTrapFocus","inline","modalAttributes","useModalAttributes","legacyTrapFocus","alwaysFocusable","state","components","root","getNativeElementProps","useMergedRefs","role","undefined","onMouseEnter","onMouseEnterOriginal","onMouseLeave","onMouseLeaveOriginal","onKeyDown","onKeyDownOriginal","e","_contentRef_current","key","current","contains","target"],"mappings":";;;;+BAaaA;;aAAAA;;;6DAbU;gCAC8B;8BAClB;gCACQ;AAUpC,MAAMA,6BAA6B,CAACC,OAAOC,MAAQ;IACxD,MAAMC,aAAaC,IAAAA,0CAA0B,EAACC,CAAAA,UAAWA,QAAQF,UAAU;IAC3E,MAAMG,cAAcF,IAAAA,0CAA0B,EAACC,CAAAA,UAAWA,QAAQC,WAAW;IAC7E,MAAMC,UAAUH,IAAAA,0CAA0B,EAACC,CAAAA,UAAWA,QAAQE,OAAO;IACrE,MAAMC,YAAYJ,IAAAA,0CAA0B,EAACC,CAAAA,UAAWA,QAAQG,SAAS;IACzE,MAAMC,WAAWL,IAAAA,0CAA0B,EAACC,CAAAA,UAAWA,QAAQI,QAAQ;IACvE,MAAMC,OAAON,IAAAA,0CAA0B,EAACC,CAAAA,UAAWA,QAAQK,IAAI;IAC/D,MAAMC,YAAYP,IAAAA,0CAA0B,EAACC,CAAAA,UAAWA,QAAQM,SAAS;IACzE,MA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K;QAC1B,IAAIC;QACJ,8DAA8D;QAC9D,mHAAmH;QACnH,IAAID,EAAEE,GAAG,KAAK,YAAa,CAAA,AAACD,CAAAA,sBAAsB/B,WAAWiC,OAAO,AAAD,MAAO,IAAI,IAAIF,wBAAwB,KAAK,IAAI,KAAK,IAAIA,oBAAoBG,QAAQ,CAACJ,EAAEK,MAAM,CAAC,AAAD,GAAI;YACnK/B,QAAQ0B,GAAG,KAAK;QAClB,CAAC;QACDD,sBAAsB,IAAI,IAAIA,sBAAsB,KAAK,IAAI,KAAK,IAAIA,kBAAkBC,EAAE;IAC5F;IACA,OAAOb;AACT,GACA,6CAA6C"}
1
+ {"version":3,"sources":["../../../lib/components/PopoverSurface/usePopoverSurface.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, useMergedRefs } from '@fluentui/react-utilities';\nimport { useModalAttributes } from '@fluentui/react-tabster';\nimport { usePopoverContext_unstable } from '../../popoverContext';\n/**\n * Create the state required to render PopoverSurface.\n *\n * The returned state can be modified with hooks such as usePopoverSurfaceStyles_unstable,\n * before being passed to renderPopoverSurface_unstable.\n *\n * @param props - props from this instance of PopoverSurface\n * @param ref - reference to root HTMLDivElement of PopoverSurface\n */\nexport const usePopoverSurface_unstable = (props, ref) => {\n const contentRef = usePopoverContext_unstable(context => context.contentRef);\n const openOnHover = usePopoverContext_unstable(context => context.openOnHover);\n const setOpen = usePopoverContext_unstable(context => context.setOpen);\n const mountNode = usePopoverContext_unstable(context => context.mountNode);\n const arrowRef = usePopoverContext_unstable(context => context.arrowRef);\n const size = usePopoverContext_unstable(context => context.size);\n const withArrow = usePopoverContext_unstable(context => context.withArrow);\n const appearance = usePopoverContext_unstable(context => context.appearance);\n const trapFocus = usePopoverContext_unstable(context => context.trapFocus);\n const inertTrapFocus = usePopoverContext_unstable(context => context.inertTrapFocus);\n const inline = usePopoverContext_unstable(context => context.inline);\n const {\n modalAttributes\n } = useModalAttributes({\n trapFocus,\n legacyTrapFocus: !inertTrapFocus,\n alwaysFocusable: !trapFocus\n });\n const state = {\n inline,\n appearance,\n withArrow,\n size,\n arrowRef,\n mountNode,\n components: {\n root: 'div'\n },\n root: getNativeElementProps('div', {\n ref: useMergedRefs(ref, contentRef),\n role: trapFocus ? 'dialog' : 'group',\n 'aria-modal': trapFocus ? true : undefined,\n ...modalAttributes,\n ...props\n })\n };\n const {\n onMouseEnter: onMouseEnterOriginal,\n onMouseLeave: onMouseLeaveOriginal,\n onKeyDown: onKeyDownOriginal\n } = state.root;\n state.root.onMouseEnter = e => {\n if (openOnHover) {\n setOpen(e, true);\n }\n onMouseEnterOriginal === null || onMouseEnterOriginal === void 0 ? void 0 : onMouseEnterOriginal(e);\n };\n state.root.onMouseLeave = e => {\n if (openOnHover) {\n setOpen(e, false);\n }\n onMouseLeaveOriginal === null || onMouseLeaveOriginal === void 0 ? void 0 : onMouseLeaveOriginal(e);\n };\n state.root.onKeyDown = e => {\n var _contentRef_current;\n // only close if the event happened inside the current popover\n // If using a stack of inline popovers, the user should call `stopPropagation` to avoid dismissing the entire stack\n if (e.key === 'Escape' && ((_contentRef_current = contentRef.current) === null || _contentRef_current === void 0 ? void 0 : _contentRef_current.contains(e.target))) {\n e.preventDefault();\n setOpen(e, false);\n }\n onKeyDownOriginal === null || onKeyDownOriginal === void 0 ? void 0 : onKeyDownOriginal(e);\n };\n return state;\n};\n//# sourceMappingURL=usePopoverSurface.js.map"],"names":["usePopoverSurface_unstable","props","ref","contentRef","usePopoverContext_unstable","context","openOnHover","setOpen","mountNode","arrowRef","size","withArrow","appearance","trapFocus","inertTrapFocus","inline","modalAttributes","useModalAttributes","legacyTrapFocus","alwaysFocusable","state","components","root","getNativeElementProps","useMergedRefs","role","undefined","onMouseEnter","onMouseEnterOriginal","onMouseLeave","onMouseLeaveOriginal","onKeyDown","onKeyDownOriginal","e","_contentRef_current","key","current","contains","target","preventDefault"],"mappings":";;;;+BAaaA;;aAAAA;;;6DAbU;gCAC8B;8BAClB;gCACQ;AAUpC,MAAMA,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0B,cAAcC,qBAAoB,EAClCC,cAAcC,qBAAoB,EAClCC,WAAWC,kBAAiB,EAC7B,GAAGZ,MAAME,IAAI;IACdF,MAAME,IAAI,CAACK,YAAY,GAAGM,CAAAA,IAAK;QAC7B,IAAI3B,aAAa;YACfC,QAAQ0B,GAAG,IAAI;QACjB,CAAC;QACDL,yBAAyB,IAAI,IAAIA,yBAAyB,KAAK,IAAI,KAAK,IAAIA,qBAAqBK,EAAE;IACrG;IACAb,MAAME,IAAI,CAACO,YAAY,GAAGI,CAAAA,IAAK;QAC7B,IAAI3B,aAAa;YACfC,QAAQ0B,GAAG,KAAK;QAClB,CAAC;QACDH,yBAAyB,IAAI,IAAIA,yBAAyB,KAAK,IAAI,KAAK,IAAIA,qBAAqBG,EAAE;IACrG;IACAb,MAAME,IAAI,CAACS,SAAS,GAAGE,CAAAA,IAAK;QAC1B,IAAIC;QACJ,8DAA8D;QAC9D,mHAAmH;QACnH,IAAID,EAAEE,GAAG,KAAK,YAAa,CAAA,AAACD,CAAAA,sBAAsB/B,WAAWiC,OAAO,AAAD,MAAO,IAAI,IAAIF,wBAAwB,KAAK,IAAI,KAAK,IAAIA,oBAAoBG,QAAQ,CAACJ,EAAEK,MAAM,CAAC,AAAD,GAAI;YACnKL,EAAEM,cAAc;YAChBhC,QAAQ0B,GAAG,KAAK;QAClB,CAAC;QACDD,sBAAsB,IAAI,IAAIA,sBAAsB,KAAK,IAAI,KAAK,IAAIA,kBAAkBC,EAAE;IAC5F;IACA,OAAOb;AACT,GACA,6CAA6C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-popover",
3
- "version": "0.0.0-nightly-20230518-0420.1",
3
+ "version": "0.0.0-nightly-20230522-0418.1",
4
4
  "description": "Popover component for Fluent UI",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -30,22 +30,22 @@
30
30
  "devDependencies": {
31
31
  "@fluentui/eslint-plugin": "*",
32
32
  "@fluentui/react-conformance": "*",
33
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20230518-0420.1",
33
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20230522-0418.1",
34
34
  "@fluentui/scripts-api-extractor": "*",
35
35
  "@fluentui/scripts-cypress": "*",
36
36
  "@fluentui/scripts-tasks": "*"
37
37
  },
38
38
  "dependencies": {
39
- "@fluentui/keyboard-keys": "0.0.0-nightly-20230518-0420.1",
40
- "@fluentui/react-aria": "0.0.0-nightly-20230518-0420.1",
41
- "@fluentui/react-context-selector": "0.0.0-nightly-20230518-0420.1",
42
- "@fluentui/react-portal": "0.0.0-nightly-20230518-0420.1",
43
- "@fluentui/react-positioning": "0.0.0-nightly-20230518-0420.1",
44
- "@fluentui/react-shared-contexts": "0.0.0-nightly-20230518-0420.1",
45
- "@fluentui/react-tabster": "0.0.0-nightly-20230518-0420.1",
46
- "@fluentui/react-theme": "0.0.0-nightly-20230518-0420.1",
47
- "@fluentui/react-utilities": "0.0.0-nightly-20230518-0420.1",
48
- "@fluentui/react-jsx-runtime": "0.0.0-nightly-20230518-0420.1",
39
+ "@fluentui/keyboard-keys": "0.0.0-nightly-20230522-0418.1",
40
+ "@fluentui/react-aria": "0.0.0-nightly-20230522-0418.1",
41
+ "@fluentui/react-context-selector": "0.0.0-nightly-20230522-0418.1",
42
+ "@fluentui/react-portal": "0.0.0-nightly-20230522-0418.1",
43
+ "@fluentui/react-positioning": "0.0.0-nightly-20230522-0418.1",
44
+ "@fluentui/react-shared-contexts": "0.0.0-nightly-20230522-0418.1",
45
+ "@fluentui/react-tabster": "0.0.0-nightly-20230522-0418.1",
46
+ "@fluentui/react-theme": "0.0.0-nightly-20230522-0418.1",
47
+ "@fluentui/react-utilities": "0.0.0-nightly-20230522-0418.1",
48
+ "@fluentui/react-jsx-runtime": "0.0.0-nightly-20230522-0418.1",
49
49
  "@griffel/react": "^1.5.2",
50
50
  "@swc/helpers": "^0.4.14"
51
51
  },