@fluentui/react-popover 0.0.0-nightly050f89bf0020211102.1 → 0.0.0-nightly07d9ed6d1b20211221.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.
Files changed (71) hide show
  1. package/CHANGELOG.json +214 -24
  2. package/CHANGELOG.md +56 -15
  3. package/dist/react-popover.d.ts +3 -1
  4. package/lib/components/Popover/Popover.js +2 -2
  5. package/lib/components/Popover/Popover.js.map +1 -1
  6. package/lib/components/Popover/renderPopover.js +27 -25
  7. package/lib/components/Popover/renderPopover.js.map +1 -1
  8. package/lib/components/Popover/usePopover.js +41 -52
  9. package/lib/components/Popover/usePopover.js.map +1 -1
  10. package/lib/components/PopoverSurface/PopoverSurface.js +2 -2
  11. package/lib/components/PopoverSurface/PopoverSurface.js.map +1 -1
  12. package/lib/components/PopoverSurface/renderPopoverSurface.js +7 -7
  13. package/lib/components/PopoverSurface/renderPopoverSurface.js.map +1 -1
  14. package/lib/components/PopoverSurface/usePopoverSurface.js +41 -55
  15. package/lib/components/PopoverSurface/usePopoverSurface.js.map +1 -1
  16. package/lib/components/PopoverSurface/usePopoverSurfaceStyles.d.ts +1 -0
  17. package/lib/components/PopoverSurface/usePopoverSurfaceStyles.js +29 -16
  18. package/lib/components/PopoverSurface/usePopoverSurfaceStyles.js.map +1 -1
  19. package/lib/components/PopoverTrigger/PopoverTrigger.js +2 -2
  20. package/lib/components/PopoverTrigger/PopoverTrigger.js.map +1 -1
  21. package/lib/components/PopoverTrigger/renderPopoverTrigger.js +1 -1
  22. package/lib/components/PopoverTrigger/renderPopoverTrigger.js.map +1 -1
  23. package/lib/components/PopoverTrigger/usePopoverTrigger.js +25 -33
  24. package/lib/components/PopoverTrigger/usePopoverTrigger.js.map +1 -1
  25. package/lib/popoverContext.d.ts +1 -1
  26. package/lib/popoverContext.js +3 -7
  27. package/lib/popoverContext.js.map +1 -1
  28. package/lib-commonjs/Popover.js +1 -1
  29. package/lib-commonjs/PopoverSurface.js +1 -1
  30. package/lib-commonjs/PopoverTrigger.js +1 -1
  31. package/lib-commonjs/components/Popover/Popover.js +4 -4
  32. package/lib-commonjs/components/Popover/Popover.js.map +1 -1
  33. package/lib-commonjs/components/Popover/index.js +1 -1
  34. package/lib-commonjs/components/Popover/renderPopover.js +29 -27
  35. package/lib-commonjs/components/Popover/renderPopover.js.map +1 -1
  36. package/lib-commonjs/components/Popover/usePopover.js +47 -59
  37. package/lib-commonjs/components/Popover/usePopover.js.map +1 -1
  38. package/lib-commonjs/components/PopoverSurface/PopoverSurface.js +6 -6
  39. package/lib-commonjs/components/PopoverSurface/PopoverSurface.js.map +1 -1
  40. package/lib-commonjs/components/PopoverSurface/index.js +1 -1
  41. package/lib-commonjs/components/PopoverSurface/renderPopoverSurface.js +11 -12
  42. package/lib-commonjs/components/PopoverSurface/renderPopoverSurface.js.map +1 -1
  43. package/lib-commonjs/components/PopoverSurface/usePopoverSurface.js +44 -59
  44. package/lib-commonjs/components/PopoverSurface/usePopoverSurface.js.map +1 -1
  45. package/lib-commonjs/components/PopoverSurface/usePopoverSurfaceStyles.d.ts +1 -0
  46. package/lib-commonjs/components/PopoverSurface/usePopoverSurfaceStyles.js +30 -16
  47. package/lib-commonjs/components/PopoverSurface/usePopoverSurfaceStyles.js.map +1 -1
  48. package/lib-commonjs/components/PopoverTrigger/PopoverTrigger.js +4 -4
  49. package/lib-commonjs/components/PopoverTrigger/PopoverTrigger.js.map +1 -1
  50. package/lib-commonjs/components/PopoverTrigger/index.js +1 -1
  51. package/lib-commonjs/components/PopoverTrigger/renderPopoverTrigger.js +1 -1
  52. package/lib-commonjs/components/PopoverTrigger/renderPopoverTrigger.js.map +1 -1
  53. package/lib-commonjs/components/PopoverTrigger/usePopoverTrigger.js +29 -38
  54. package/lib-commonjs/components/PopoverTrigger/usePopoverTrigger.js.map +1 -1
  55. package/lib-commonjs/index.js +1 -1
  56. package/lib-commonjs/popoverContext.d.ts +1 -1
  57. package/lib-commonjs/popoverContext.js +3 -7
  58. package/lib-commonjs/popoverContext.js.map +1 -1
  59. package/package.json +13 -13
  60. package/lib/common/isConformant.d.ts +0 -4
  61. package/lib/common/isConformant.js +0 -13
  62. package/lib/common/isConformant.js.map +0 -1
  63. package/lib/common/mockUsePopoverContext.d.ts +0 -7
  64. package/lib/common/mockUsePopoverContext.js +0 -38
  65. package/lib/common/mockUsePopoverContext.js.map +0 -1
  66. package/lib-commonjs/common/isConformant.d.ts +0 -4
  67. package/lib-commonjs/common/isConformant.js +0 -24
  68. package/lib-commonjs/common/isConformant.js.map +0 -1
  69. package/lib-commonjs/common/mockUsePopoverContext.d.ts +0 -7
  70. package/lib-commonjs/common/mockUsePopoverContext.js +0 -49
  71. package/lib-commonjs/common/mockUsePopoverContext.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,84 +2,274 @@
2
2
  "name": "@fluentui/react-popover",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 02 Nov 2021 08:40:39 GMT",
6
- "tag": "@fluentui/react-popover_v0.0.0-nightly050f89bf0020211102.1",
7
- "version": "0.0.0-nightly050f89bf0020211102.1",
5
+ "date": "Tue, 21 Dec 2021 04:16:36 GMT",
6
+ "tag": "@fluentui/react-popover_v0.0.0-nightly07d9ed6d1b20211221.1",
7
+ "version": "0.0.0-nightly07d9ed6d1b20211221.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "email not defined",
12
12
  "package": "@fluentui/react-popover",
13
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26",
13
+ "commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
+ {
17
+ "author": "olfedias@microsoft.com",
18
+ "package": "@fluentui/react-popover",
19
+ "commit": "ec0e785df9c70a2202dc5cc3cb4001d1ee635124",
20
+ "comment": "update styles to not use CSS shorthands"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-popover",
25
+ "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly07d9ed6d1b20211221.1",
26
+ "commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-popover",
31
+ "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1",
32
+ "commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-popover",
37
+ "comment": "Bump @fluentui/react-portal to v0.0.0-nightly07d9ed6d1b20211221.1",
38
+ "commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-popover",
43
+ "comment": "Bump @fluentui/react-positioning to v0.0.0-nightly07d9ed6d1b20211221.1",
44
+ "commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-popover",
49
+ "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly07d9ed6d1b20211221.1",
50
+ "commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@fluentui/react-popover",
55
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly07d9ed6d1b20211221.1",
56
+ "commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@fluentui/react-popover",
61
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly07d9ed6d1b20211221.1",
62
+ "commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
63
+ },
16
64
  {
17
65
  "author": "beachball",
18
66
  "package": "@fluentui/react-popover",
19
- "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly050f89bf0020211102.1",
20
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
67
+ "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1",
68
+ "commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
21
69
  },
22
70
  {
23
71
  "author": "beachball",
24
72
  "package": "@fluentui/react-popover",
25
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightly050f89bf0020211102.1",
26
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
73
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1",
74
+ "commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
27
75
  },
28
76
  {
29
77
  "author": "beachball",
30
78
  "package": "@fluentui/react-popover",
31
- "comment": "Bump @fluentui/react-portal to v0.0.0-nightly050f89bf0020211102.1",
32
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
79
+ "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1",
80
+ "commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
81
+ }
82
+ ],
83
+ "none": [
84
+ {
85
+ "author": "elcraig@microsoft.com",
86
+ "package": "@fluentui/react-popover",
87
+ "commit": "3360b45ec159250b1346c91afad7dce138e6bc20",
88
+ "comment": "Update API file to version generated by typescript 4.3"
89
+ }
90
+ ]
91
+ }
92
+ },
93
+ {
94
+ "date": "Thu, 25 Nov 2021 08:34:15 GMT",
95
+ "tag": "@fluentui/react-popover_v9.0.0-beta.5",
96
+ "version": "9.0.0-beta.5",
97
+ "comments": {
98
+ "prerelease": [
99
+ {
100
+ "author": "lingfangao@hotmail.com",
101
+ "package": "@fluentui/react-popover",
102
+ "commit": "58db204f28af1d68df7260ff580cf91f0adcfb66",
103
+ "comment": "Add transparent outline to arrow for HC"
33
104
  },
34
105
  {
35
106
  "author": "beachball",
36
107
  "package": "@fluentui/react-popover",
37
- "comment": "Bump @fluentui/react-positioning to v0.0.0-nightly050f89bf0020211102.1",
38
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
108
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
109
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
39
110
  },
40
111
  {
41
112
  "author": "beachball",
42
113
  "package": "@fluentui/react-popover",
43
- "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly050f89bf0020211102.1",
44
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
114
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
115
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
45
116
  },
46
117
  {
47
118
  "author": "beachball",
48
119
  "package": "@fluentui/react-popover",
49
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly050f89bf0020211102.1",
50
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
120
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
121
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
51
122
  },
52
123
  {
53
124
  "author": "beachball",
54
125
  "package": "@fluentui/react-popover",
55
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly050f89bf0020211102.1",
56
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
126
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
127
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
57
128
  },
58
129
  {
59
130
  "author": "beachball",
60
131
  "package": "@fluentui/react-popover",
61
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightly050f89bf0020211102.1",
62
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
132
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
133
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
63
134
  },
64
135
  {
65
136
  "author": "beachball",
66
137
  "package": "@fluentui/react-popover",
67
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly050f89bf0020211102.1",
68
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
138
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
139
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
69
140
  },
70
141
  {
71
142
  "author": "beachball",
72
143
  "package": "@fluentui/react-popover",
73
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly050f89bf0020211102.1",
74
- "commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26"
144
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
145
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
146
+ },
147
+ {
148
+ "author": "beachball",
149
+ "package": "@fluentui/react-popover",
150
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
151
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
152
+ },
153
+ {
154
+ "author": "beachball",
155
+ "package": "@fluentui/react-popover",
156
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
157
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
158
+ },
159
+ {
160
+ "author": "beachball",
161
+ "package": "@fluentui/react-popover",
162
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
163
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
75
164
  }
76
165
  ],
166
+ "none": [
167
+ {
168
+ "author": "lingfangao@hotmail.com",
169
+ "package": "@fluentui/react-popover",
170
+ "commit": "8a141d14f3a14de2e1c4691dad908622f310a9d1",
171
+ "comment": "Migrate package to use solution tsconfigs"
172
+ }
173
+ ]
174
+ }
175
+ },
176
+ {
177
+ "date": "Fri, 12 Nov 2021 13:25:28 GMT",
178
+ "tag": "@fluentui/react-popover_v9.0.0-beta.4",
179
+ "version": "9.0.0-beta.4",
180
+ "comments": {
77
181
  "none": [
78
182
  {
79
183
  "author": "mgodbolt@microsoft.com",
80
184
  "package": "@fluentui/react-popover",
81
185
  "commit": "7fafe76eb2c09f9d17a03c11ba73729d91ef411e",
82
186
  "comment": "update docs descriptions"
187
+ },
188
+ {
189
+ "author": "lingfangao@hotmail.com",
190
+ "package": "@fluentui/react-popover",
191
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
192
+ "comment": "Remove beta release tag"
193
+ }
194
+ ],
195
+ "prerelease": [
196
+ {
197
+ "author": "gcox@microsoft.com",
198
+ "package": "@fluentui/react-popover",
199
+ "commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586",
200
+ "comment": "Updated beta and RC components to ES2019"
201
+ },
202
+ {
203
+ "author": "lingfangao@hotmail.com",
204
+ "package": "@fluentui/react-popover",
205
+ "commit": "054822c82e40601815f6cd77733a761b72047e4b",
206
+ "comment": "fix(Popover): use `dialog` as value for `aria-haspopup` for focus trap"
207
+ },
208
+ {
209
+ "author": "olfedias@microsoft.com",
210
+ "package": "@fluentui/react-popover",
211
+ "commit": "ade4f5d3fa5a6b1c81097403f5c2f2afd859aa14",
212
+ "comment": "export static classes for components"
213
+ },
214
+ {
215
+ "author": "beachball",
216
+ "package": "@fluentui/react-popover",
217
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.3",
218
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
219
+ },
220
+ {
221
+ "author": "beachball",
222
+ "package": "@fluentui/react-popover",
223
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
224
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
225
+ },
226
+ {
227
+ "author": "beachball",
228
+ "package": "@fluentui/react-popover",
229
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.4",
230
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
231
+ },
232
+ {
233
+ "author": "beachball",
234
+ "package": "@fluentui/react-popover",
235
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.3",
236
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
237
+ },
238
+ {
239
+ "author": "beachball",
240
+ "package": "@fluentui/react-popover",
241
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
242
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
243
+ },
244
+ {
245
+ "author": "beachball",
246
+ "package": "@fluentui/react-popover",
247
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
248
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
249
+ },
250
+ {
251
+ "author": "beachball",
252
+ "package": "@fluentui/react-popover",
253
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
254
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
255
+ },
256
+ {
257
+ "author": "beachball",
258
+ "package": "@fluentui/react-popover",
259
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
260
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
261
+ },
262
+ {
263
+ "author": "beachball",
264
+ "package": "@fluentui/react-popover",
265
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
266
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
267
+ },
268
+ {
269
+ "author": "beachball",
270
+ "package": "@fluentui/react-popover",
271
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
272
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
83
273
  }
84
274
  ]
85
275
  }
package/CHANGELOG.md CHANGED
@@ -1,27 +1,68 @@
1
1
  # Change Log - @fluentui/react-popover
2
2
 
3
- This log was last generated on Tue, 02 Nov 2021 08:40:39 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 21 Dec 2021 04:16:36 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly050f89bf0020211102.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v0.0.0-nightly050f89bf0020211102.1)
7
+ ## [0.0.0-nightly07d9ed6d1b20211221.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v0.0.0-nightly07d9ed6d1b20211221.1)
8
8
 
9
- Tue, 02 Nov 2021 08:40:39 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.3..@fluentui/react-popover_v0.0.0-nightly050f89bf0020211102.1)
9
+ Tue, 21 Dec 2021 04:16:36 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.5..@fluentui/react-popover_v0.0.0-nightly07d9ed6d1b20211221.1)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by email not defined)
15
- - Bump @fluentui/react-context-selector to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
16
- - Bump @fluentui/react-make-styles to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
17
- - Bump @fluentui/react-portal to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
18
- - Bump @fluentui/react-positioning to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
19
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
20
- - Bump @fluentui/react-tabster to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
21
- - Bump @fluentui/react-utilities to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
22
- - Bump @fluentui/babel-make-styles to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
23
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
24
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball)
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by email not defined)
15
+ - update styles to not use CSS shorthands ([PR #20796](https://github.com/microsoft/fluentui/pull/20796) by olfedias@microsoft.com)
16
+ - Bump @fluentui/react-context-selector to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
17
+ - Bump @fluentui/react-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
18
+ - Bump @fluentui/react-portal to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
19
+ - Bump @fluentui/react-positioning to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
20
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
21
+ - Bump @fluentui/react-tabster to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
22
+ - Bump @fluentui/react-utilities to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
23
+ - Bump @fluentui/babel-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
24
+ - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
25
+ - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
26
+
27
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.0.0-beta.5)
28
+
29
+ Thu, 25 Nov 2021 08:34:15 GMT
30
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.4..@fluentui/react-popover_v9.0.0-beta.5)
31
+
32
+ ### Changes
33
+
34
+ - Add transparent outline to arrow for HC ([PR #20541](https://github.com/microsoft/fluentui/pull/20541) by lingfangao@hotmail.com)
35
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
36
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
37
+ - Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
38
+ - Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
39
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
40
+ - Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
41
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
42
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
43
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
44
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
45
+
46
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.0.0-beta.4)
47
+
48
+ Fri, 12 Nov 2021 13:25:28 GMT
49
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.3..@fluentui/react-popover_v9.0.0-beta.4)
50
+
51
+ ### Changes
52
+
53
+ - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
54
+ - fix(Popover): use `dialog` as value for `aria-haspopup` for focus trap ([PR #20494](https://github.com/microsoft/fluentui/pull/20494) by lingfangao@hotmail.com)
55
+ - export static classes for components ([PR #20450](https://github.com/microsoft/fluentui/pull/20450) by olfedias@microsoft.com)
56
+ - Bump @fluentui/react-context-selector to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
57
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
58
+ - Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
59
+ - Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
60
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
61
+ - Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
62
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
63
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
64
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
65
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
25
66
 
26
67
  ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.0.0-beta.3)
27
68
 
@@ -134,6 +134,8 @@ export declare type PopoverState = PopoverCommons & Pick<PopoverProps, 'children
134
134
  */
135
135
  export declare const PopoverSurface: ForwardRefComponent<PopoverSurfaceProps>;
136
136
 
137
+ export declare const popoverSurfaceClassName = "fui-PopoverSurface";
138
+
137
139
  /**
138
140
  * PopoverSurface Props
139
141
  */
@@ -200,7 +202,7 @@ export declare const renderPopoverTrigger: (state: PopoverTriggerState) => JSX.E
200
202
  */
201
203
  export declare const usePopover: (props: PopoverProps) => PopoverState;
202
204
 
203
- export declare const usePopoverContext: <T>(selector: ContextSelector<Pick<PopoverState, "mountNode" | "open" | "setOpen" | "triggerRef" | "contentRef" | "openOnHover" | "openOnContext" | "noArrow" | "arrowRef" | "size" | "appearance" | "trapFocus">, T>) => T;
205
+ export declare const usePopoverContext: <T>(selector: ContextSelector<PopoverContextValue, T>) => T;
204
206
 
205
207
  /**
206
208
  * Create the state required to render PopoverSurface.
@@ -4,8 +4,8 @@ import { renderPopover } from './renderPopover';
4
4
  * Wrapper component that manages state for a PopoverTrigger and a PopoverSurface components.
5
5
  */
6
6
 
7
- export var Popover = function (props) {
8
- var state = usePopover(props);
7
+ export const Popover = props => {
8
+ const state = usePopover(props);
9
9
  return renderPopover(state);
10
10
  };
11
11
  Popover.displayName = 'Popover';
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AACA,SAAS,UAAT,QAA2B,cAA3B;AACA,SAAS,aAAT,QAA8B,iBAA9B;AAGA;;AAEG;;AACH,OAAO,IAAM,OAAO,GAA2B,UAAA,KAAA,EAAK;AAClD,MAAM,KAAK,GAAG,UAAU,CAAC,KAAD,CAAxB;AAEA,SAAO,aAAa,CAAC,KAAD,CAApB;AACD,CAJM;AAMP,OAAO,CAAC,WAAR,GAAsB,SAAtB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AACA,SAAS,UAAT,QAA2B,cAA3B;AACA,SAAS,aAAT,QAA8B,iBAA9B;AAGA;;AAEG;;AACH,OAAO,MAAM,OAAO,GAA2B,KAAK,IAAG;AACrD,QAAM,KAAK,GAAG,UAAU,CAAC,KAAD,CAAxB;AAEA,SAAO,aAAa,CAAC,KAAD,CAApB;AACD,CAJM;AAMP,OAAO,CAAC,WAAR,GAAsB,SAAtB","sourceRoot":""}
@@ -4,33 +4,35 @@ import { PopoverContext } from '../../popoverContext';
4
4
  * Render the final JSX of Popover
5
5
  */
6
6
 
7
- export var renderPopover = function (state) {
8
- var open = state.open,
9
- setOpen = state.setOpen,
10
- triggerRef = state.triggerRef,
11
- contentRef = state.contentRef,
12
- openOnContext = state.openOnContext,
13
- openOnHover = state.openOnHover,
14
- mountNode = state.mountNode,
15
- arrowRef = state.arrowRef,
16
- size = state.size,
17
- noArrow = state.noArrow,
18
- appearance = state.appearance,
19
- trapFocus = state.trapFocus;
7
+ export const renderPopover = state => {
8
+ const {
9
+ open,
10
+ setOpen,
11
+ triggerRef,
12
+ contentRef,
13
+ openOnContext,
14
+ openOnHover,
15
+ mountNode,
16
+ arrowRef,
17
+ size,
18
+ noArrow,
19
+ appearance,
20
+ trapFocus
21
+ } = state;
20
22
  return /*#__PURE__*/React.createElement(PopoverContext.Provider, {
21
23
  value: {
22
- open: open,
23
- setOpen: setOpen,
24
- triggerRef: triggerRef,
25
- contentRef: contentRef,
26
- openOnHover: openOnHover,
27
- openOnContext: openOnContext,
28
- mountNode: mountNode,
29
- arrowRef: arrowRef,
30
- size: size,
31
- noArrow: noArrow,
32
- appearance: appearance,
33
- trapFocus: trapFocus
24
+ open,
25
+ setOpen,
26
+ triggerRef,
27
+ contentRef,
28
+ openOnHover,
29
+ openOnContext,
30
+ mountNode,
31
+ arrowRef,
32
+ size,
33
+ noArrow,
34
+ appearance,
35
+ trapFocus
34
36
  }
35
37
  }, state.children);
36
38
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Popover/renderPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,cAAT,QAA+B,sBAA/B;AAGA;;AAEG;;AACH,OAAO,IAAM,aAAa,GAAG,UAAC,KAAD,EAAoB;AAE7C,MAAA,IAAI,GAYF,KAAK,CAZH,IAAJ;AAAA,MACA,OAAO,GAWL,KAAK,CAXA,OADP;AAAA,MAEA,UAAU,GAUR,KAAK,CAVG,UAFV;AAAA,MAGA,UAAU,GASR,KAAK,CATG,UAHV;AAAA,MAIA,aAAa,GAQX,KAAK,CARM,aAJb;AAAA,MAKA,WAAW,GAOT,KAAK,CAPI,WALX;AAAA,MAMA,SAAS,GAMP,KAAK,CANE,SANT;AAAA,MAOA,QAAQ,GAKN,KAAK,CALC,QAPR;AAAA,MAQA,IAAI,GAIF,KAAK,CAJH,IARJ;AAAA,MASA,OAAO,GAGL,KAAK,CAHA,OATP;AAAA,MAUA,UAAU,GAER,KAAK,CAFG,UAVV;AAAA,MAWA,SAAS,GACP,KAAK,CADE,SAXT;AAcF,sBACE,KAAA,CAAA,aAAA,CAAC,cAAc,CAAC,QAAhB,EAAwB;AACtB,IAAA,KAAK,EAAE;AACL,MAAA,IAAI,EAAA,IADC;AAEL,MAAA,OAAO,EAAA,OAFF;AAGL,MAAA,UAAU,EAAA,UAHL;AAIL,MAAA,UAAU,EAAA,UAJL;AAKL,MAAA,WAAW,EAAA,WALN;AAML,MAAA,aAAa,EAAA,aANR;AAOL,MAAA,SAAS,EAAA,SAPJ;AAQL,MAAA,QAAQ,EAAA,QARH;AASL,MAAA,IAAI,EAAA,IATC;AAUL,MAAA,OAAO,EAAA,OAVF;AAWL,MAAA,UAAU,EAAA,UAXL;AAYL,MAAA,SAAS,EAAA;AAZJ;AADe,GAAxB,EAgBG,KAAK,CAAC,QAhBT,CADF;AAoBD,CApCM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Popover/renderPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,cAAT,QAA+B,sBAA/B;AAGA;;AAEG;;AACH,OAAO,MAAM,aAAa,GAAI,KAAD,IAAwB;AACnD,QAAM;AACJ,IAAA,IADI;AAEJ,IAAA,OAFI;AAGJ,IAAA,UAHI;AAIJ,IAAA,UAJI;AAKJ,IAAA,aALI;AAMJ,IAAA,WANI;AAOJ,IAAA,SAPI;AAQJ,IAAA,QARI;AASJ,IAAA,IATI;AAUJ,IAAA,OAVI;AAWJ,IAAA,UAXI;AAYJ,IAAA;AAZI,MAaF,KAbJ;AAeA,sBACE,KAAA,CAAA,aAAA,CAAC,cAAc,CAAC,QAAhB,EAAwB;AACtB,IAAA,KAAK,EAAE;AACL,MAAA,IADK;AAEL,MAAA,OAFK;AAGL,MAAA,UAHK;AAIL,MAAA,UAJK;AAKL,MAAA,WALK;AAML,MAAA,aANK;AAOL,MAAA,SAPK;AAQL,MAAA,QARK;AASL,MAAA,IATK;AAUL,MAAA,OAVK;AAWL,MAAA,UAXK;AAYL,MAAA;AAZK;AADe,GAAxB,EAgBG,KAAK,CAAC,QAhBT,CADF;AAoBD,CApCM","sourceRoot":""}