@fluentui/react-positioning 9.0.0-rc.1 → 9.0.0-rc.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. package/CHANGELOG.json +335 -1
  2. package/CHANGELOG.md +186 -69
  3. package/dist/{react-positioning.d.ts → index.d.ts} +72 -46
  4. package/{lib → dist}/tsdoc-metadata.json +0 -0
  5. package/lib/createArrowStyles.js.map +1 -1
  6. package/lib/createVirtualElementFromClick.js +2 -0
  7. package/lib/createVirtualElementFromClick.js.map +1 -1
  8. package/lib/index.js +4 -5
  9. package/lib/index.js.map +1 -1
  10. package/lib/isIntersectingModifier.js +26 -0
  11. package/lib/isIntersectingModifier.js.map +1 -0
  12. package/lib/types.js.map +1 -1
  13. package/lib/{usePopper.js → usePositioning.js} +11 -9
  14. package/lib/usePositioning.js.map +1 -0
  15. package/lib/{usePopperMouseTarget.js → usePositioningMouseTarget.js} +3 -3
  16. package/lib/usePositioningMouseTarget.js.map +1 -0
  17. package/lib/utils/fromPopperPlacement.js +40 -0
  18. package/lib/utils/fromPopperPlacement.js.map +1 -0
  19. package/lib/utils/getBoundary.js.map +1 -1
  20. package/lib/utils/getPopperOffset.js +44 -0
  21. package/lib/utils/getPopperOffset.js.map +1 -0
  22. package/lib/utils/getReactFiberFromNode.js.map +1 -1
  23. package/lib/utils/getScrollParent.js.map +1 -1
  24. package/lib/utils/index.js +1 -1
  25. package/lib/utils/index.js.map +1 -1
  26. package/lib/utils/mergeArrowOffset.js +23 -22
  27. package/lib/utils/mergeArrowOffset.js.map +1 -1
  28. package/lib/utils/parsePopperPlacement.js +14 -0
  29. package/lib/utils/parsePopperPlacement.js.map +1 -0
  30. package/lib/utils/positioningHelper.js.map +1 -1
  31. package/lib/utils/resolvePositioningShorthand.js.map +1 -1
  32. package/lib/utils/useCallbackRef.js.map +1 -1
  33. package/lib-commonjs/createArrowStyles.js.map +1 -1
  34. package/lib-commonjs/createVirtualElementFromClick.js +2 -0
  35. package/lib-commonjs/createVirtualElementFromClick.js.map +1 -1
  36. package/lib-commonjs/index.js +38 -8
  37. package/lib-commonjs/index.js.map +1 -1
  38. package/lib-commonjs/isIntersectingModifier.js +34 -0
  39. package/lib-commonjs/isIntersectingModifier.js.map +1 -0
  40. package/lib-commonjs/types.js.map +1 -1
  41. package/lib-commonjs/{usePopper.js → usePositioning.js} +15 -11
  42. package/lib-commonjs/usePositioning.js.map +1 -0
  43. package/lib-commonjs/{usePopperMouseTarget.js → usePositioningMouseTarget.js} +5 -5
  44. package/lib-commonjs/usePositioningMouseTarget.js.map +1 -0
  45. package/lib-commonjs/utils/fromPopperPlacement.js +50 -0
  46. package/lib-commonjs/utils/fromPopperPlacement.js.map +1 -0
  47. package/lib-commonjs/utils/getBoundary.js.map +1 -1
  48. package/lib-commonjs/utils/getPopperOffset.js +54 -0
  49. package/lib-commonjs/utils/getPopperOffset.js.map +1 -0
  50. package/lib-commonjs/utils/getReactFiberFromNode.js.map +1 -1
  51. package/lib-commonjs/utils/getScrollParent.js.map +1 -1
  52. package/lib-commonjs/utils/index.js +2 -2
  53. package/lib-commonjs/utils/index.js.map +1 -1
  54. package/lib-commonjs/utils/mergeArrowOffset.js +23 -22
  55. package/lib-commonjs/utils/mergeArrowOffset.js.map +1 -1
  56. package/lib-commonjs/utils/parsePopperPlacement.js +23 -0
  57. package/lib-commonjs/utils/parsePopperPlacement.js.map +1 -0
  58. package/lib-commonjs/utils/positioningHelper.js.map +1 -1
  59. package/lib-commonjs/utils/resolvePositioningShorthand.js.map +1 -1
  60. package/lib-commonjs/utils/useCallbackRef.js.map +1 -1
  61. package/package.json +15 -11
  62. package/lib/createArrowStyles.d.ts +0 -64
  63. package/lib/createVirtualElementFromClick.d.ts +0 -6
  64. package/lib/index.d.ts +0 -6
  65. package/lib/types.d.ts +0 -89
  66. package/lib/usePopper.d.ts +0 -23
  67. package/lib/usePopper.js.map +0 -1
  68. package/lib/usePopperMouseTarget.d.ts +0 -11
  69. package/lib/usePopperMouseTarget.js.map +0 -1
  70. package/lib/utils/getBasePlacement.d.ts +0 -8
  71. package/lib/utils/getBasePlacement.js +0 -10
  72. package/lib/utils/getBasePlacement.js.map +0 -1
  73. package/lib/utils/getBoundary.d.ts +0 -6
  74. package/lib/utils/getReactFiberFromNode.d.ts +0 -108
  75. package/lib/utils/getScrollParent.d.ts +0 -12
  76. package/lib/utils/index.d.ts +0 -8
  77. package/lib/utils/mergeArrowOffset.d.ts +0 -10
  78. package/lib/utils/positioningHelper.d.ts +0 -7
  79. package/lib/utils/resolvePositioningShorthand.d.ts +0 -2
  80. package/lib/utils/useCallbackRef.d.ts +0 -19
  81. package/lib-commonjs/createArrowStyles.d.ts +0 -64
  82. package/lib-commonjs/createVirtualElementFromClick.d.ts +0 -6
  83. package/lib-commonjs/index.d.ts +0 -6
  84. package/lib-commonjs/types.d.ts +0 -89
  85. package/lib-commonjs/usePopper.d.ts +0 -23
  86. package/lib-commonjs/usePopper.js.map +0 -1
  87. package/lib-commonjs/usePopperMouseTarget.d.ts +0 -11
  88. package/lib-commonjs/usePopperMouseTarget.js.map +0 -1
  89. package/lib-commonjs/utils/getBasePlacement.d.ts +0 -8
  90. package/lib-commonjs/utils/getBasePlacement.js +0 -19
  91. package/lib-commonjs/utils/getBasePlacement.js.map +0 -1
  92. package/lib-commonjs/utils/getBoundary.d.ts +0 -6
  93. package/lib-commonjs/utils/getReactFiberFromNode.d.ts +0 -108
  94. package/lib-commonjs/utils/getScrollParent.d.ts +0 -12
  95. package/lib-commonjs/utils/index.d.ts +0 -8
  96. package/lib-commonjs/utils/mergeArrowOffset.d.ts +0 -10
  97. package/lib-commonjs/utils/positioningHelper.d.ts +0 -7
  98. package/lib-commonjs/utils/resolvePositioningShorthand.d.ts +0 -2
  99. package/lib-commonjs/utils/useCallbackRef.d.ts +0 -19
package/CHANGELOG.json CHANGED
@@ -2,7 +2,341 @@
2
2
  "name": "@fluentui/react-positioning",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 10 Feb 2022 08:43:54 GMT",
5
+ "date": "Tue, 21 Jun 2022 17:09:28 GMT",
6
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.12",
7
+ "version": "9.0.0-rc.12",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@fluentui/react-positioning",
13
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.11",
14
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-positioning",
19
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.10",
20
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Tue, 31 May 2022 21:28:42 GMT",
27
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.11",
28
+ "version": "9.0.0-rc.11",
29
+ "comments": {
30
+ "prerelease": [
31
+ {
32
+ "author": "bernardo.sunderhus@gmail.com",
33
+ "package": "@fluentui/react-positioning",
34
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd",
35
+ "comment": "updates import to react-shared-components"
36
+ },
37
+ {
38
+ "author": "olfedias@microsoft.com",
39
+ "package": "@fluentui/react-positioning",
40
+ "commit": "0a5e9fa77a72eecafdd07034ccdc0b95fd49877c",
41
+ "comment": "chore: Update Griffel to latest version"
42
+ },
43
+ {
44
+ "author": "beachball",
45
+ "package": "@fluentui/react-positioning",
46
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.10",
47
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
48
+ },
49
+ {
50
+ "author": "beachball",
51
+ "package": "@fluentui/react-positioning",
52
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.10",
53
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
54
+ }
55
+ ]
56
+ }
57
+ },
58
+ {
59
+ "date": "Mon, 23 May 2022 18:56:47 GMT",
60
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.10",
61
+ "version": "9.0.0-rc.10",
62
+ "comments": {
63
+ "prerelease": [
64
+ {
65
+ "author": "lingfangao@hotmail.com",
66
+ "package": "@fluentui/react-positioning",
67
+ "commit": "5ed22515a7542b432ed694f22606ac3718d501cb",
68
+ "comment": "BREAKING CHANGE: Encapsulate Popper API"
69
+ },
70
+ {
71
+ "author": "beachball",
72
+ "package": "@fluentui/react-positioning",
73
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.9",
74
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
75
+ },
76
+ {
77
+ "author": "beachball",
78
+ "package": "@fluentui/react-positioning",
79
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.9",
80
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
81
+ }
82
+ ]
83
+ }
84
+ },
85
+ {
86
+ "date": "Mon, 23 May 2022 12:13:34 GMT",
87
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.9",
88
+ "version": "9.0.0-rc.9",
89
+ "comments": {
90
+ "prerelease": [
91
+ {
92
+ "author": "martinhochel@microsoft.com",
93
+ "package": "@fluentui/react-positioning",
94
+ "commit": "e7b70cb06f4422e5574993fd2ad44d9073647417",
95
+ "comment": "feat: ship rolluped only dts"
96
+ },
97
+ {
98
+ "author": "olfedias@microsoft.com",
99
+ "package": "@fluentui/react-positioning",
100
+ "commit": "60804cec07a495b8a5d1fc66338bf0443b212144",
101
+ "comment": "chore: Update Griffel to latest version"
102
+ },
103
+ {
104
+ "author": "olfedias@microsoft.com",
105
+ "package": "@fluentui/react-positioning",
106
+ "commit": "f120fe9160ad7311a87af0cfacd8d2fb26275e34",
107
+ "comment": "chore: Update Griffel to latest version"
108
+ },
109
+ {
110
+ "author": "beachball",
111
+ "package": "@fluentui/react-positioning",
112
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.8",
113
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
114
+ },
115
+ {
116
+ "author": "beachball",
117
+ "package": "@fluentui/react-positioning",
118
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.8",
119
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
120
+ },
121
+ {
122
+ "author": "beachball",
123
+ "package": "@fluentui/react-positioning",
124
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.9",
125
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
126
+ }
127
+ ]
128
+ }
129
+ },
130
+ {
131
+ "date": "Thu, 05 May 2022 18:26:25 GMT",
132
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.8",
133
+ "version": "9.0.0-rc.8",
134
+ "comments": {
135
+ "prerelease": [
136
+ {
137
+ "author": "humberto_makoto@hotmail.com",
138
+ "package": "@fluentui/react-positioning",
139
+ "commit": "de4f22fd2febb817c720c59c5798200bb56fbe06",
140
+ "comment": "Removing star exports."
141
+ },
142
+ {
143
+ "author": "beachball",
144
+ "package": "@fluentui/react-positioning",
145
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.7",
146
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
147
+ },
148
+ {
149
+ "author": "beachball",
150
+ "package": "@fluentui/react-positioning",
151
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.7",
152
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
153
+ },
154
+ {
155
+ "author": "beachball",
156
+ "package": "@fluentui/react-positioning",
157
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.8",
158
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
159
+ }
160
+ ]
161
+ }
162
+ },
163
+ {
164
+ "date": "Wed, 04 May 2022 13:26:47 GMT",
165
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.7",
166
+ "version": "9.0.0-rc.7",
167
+ "comments": {
168
+ "none": [
169
+ {
170
+ "author": "tristan.watanabe@gmail.com",
171
+ "package": "@fluentui/react-positioning",
172
+ "commit": "8ec3d32fa26e6cf803ab9d18671fd51ba06c74ab",
173
+ "comment": "react-positioning: Move to new common folder."
174
+ }
175
+ ],
176
+ "prerelease": [
177
+ {
178
+ "author": "beachball",
179
+ "package": "@fluentui/react-positioning",
180
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.6",
181
+ "commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
182
+ },
183
+ {
184
+ "author": "beachball",
185
+ "package": "@fluentui/react-positioning",
186
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.6",
187
+ "commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
188
+ },
189
+ {
190
+ "author": "beachball",
191
+ "package": "@fluentui/react-positioning",
192
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.7",
193
+ "commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
194
+ }
195
+ ]
196
+ }
197
+ },
198
+ {
199
+ "date": "Tue, 19 Apr 2022 19:16:49 GMT",
200
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.6",
201
+ "version": "9.0.0-rc.6",
202
+ "comments": {
203
+ "none": [
204
+ {
205
+ "author": "mgodbolt@microsoft.com",
206
+ "package": "@fluentui/react-positioning",
207
+ "commit": "905e46db07ada986fd7885531f72a71b7bbaabdc",
208
+ "comment": "create v9 api extractor config and set all v9 packags to use it, suppress forgotten export"
209
+ },
210
+ {
211
+ "author": "elcraig@microsoft.com",
212
+ "package": "@fluentui/react-positioning",
213
+ "commit": "b7f17e976f9e058f39c9fce4f0f9bb6eb4dfa577",
214
+ "comment": "Update React dev deps and hoist them to the repo root"
215
+ }
216
+ ],
217
+ "prerelease": [
218
+ {
219
+ "author": "olfedias@microsoft.com",
220
+ "package": "@fluentui/react-positioning",
221
+ "commit": "e569d6e04d83cbcc6225e61db52ff81d2addd363",
222
+ "comment": "chore: Update Griffel to latest version"
223
+ },
224
+ {
225
+ "author": "beachball",
226
+ "package": "@fluentui/react-positioning",
227
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.5",
228
+ "commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
229
+ },
230
+ {
231
+ "author": "beachball",
232
+ "package": "@fluentui/react-positioning",
233
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.5",
234
+ "commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
235
+ },
236
+ {
237
+ "author": "beachball",
238
+ "package": "@fluentui/react-positioning",
239
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.6",
240
+ "commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
241
+ }
242
+ ]
243
+ }
244
+ },
245
+ {
246
+ "date": "Fri, 04 Mar 2022 05:17:39 GMT",
247
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.5",
248
+ "version": "9.0.0-rc.5",
249
+ "comments": {
250
+ "prerelease": [
251
+ {
252
+ "author": "dzearing@microsoft.com",
253
+ "package": "@fluentui/react-positioning",
254
+ "commit": "f2f1c0ea948cc3517eeb442c05433eb0918def29",
255
+ "comment": "Adding explicit export maps on all consumer packages for FUIR 8 and 9."
256
+ },
257
+ {
258
+ "author": "lingfangao@hotmail.com",
259
+ "package": "@fluentui/react-positioning",
260
+ "commit": "2267ad0de9d6f6bf3aa776016da3d03f5400cbd1",
261
+ "comment": "fix: `popperRef.setTarget` should accept virtual element type"
262
+ },
263
+ {
264
+ "author": "beachball",
265
+ "package": "@fluentui/react-positioning",
266
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.4",
267
+ "commit": "1494f0b620f6d5aae7f0aef33fc9e8f6eb7f8749"
268
+ },
269
+ {
270
+ "author": "beachball",
271
+ "package": "@fluentui/react-positioning",
272
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.4",
273
+ "commit": "1494f0b620f6d5aae7f0aef33fc9e8f6eb7f8749"
274
+ },
275
+ {
276
+ "author": "beachball",
277
+ "package": "@fluentui/react-positioning",
278
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.5",
279
+ "commit": "1494f0b620f6d5aae7f0aef33fc9e8f6eb7f8749"
280
+ }
281
+ ]
282
+ }
283
+ },
284
+ {
285
+ "date": "Tue, 01 Mar 2022 02:17:38 GMT",
286
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.4",
287
+ "version": "9.0.0-rc.4",
288
+ "comments": {
289
+ "prerelease": [
290
+ {
291
+ "author": "olfedias@microsoft.com",
292
+ "package": "@fluentui/react-positioning",
293
+ "commit": "def76fff08777fcd5492f47824b943bab22d4515",
294
+ "comment": "feat: add isIntersectingModifier to usePopper"
295
+ },
296
+ {
297
+ "author": "olfedias@microsoft.com",
298
+ "package": "@fluentui/react-positioning",
299
+ "commit": "084d7408855f3e52b67cbca172da1acef9dcb98f",
300
+ "comment": "fix: Add react-theme as dependency"
301
+ },
302
+ {
303
+ "author": "beachball",
304
+ "package": "@fluentui/react-positioning",
305
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.4",
306
+ "commit": "0bc1e755543ed69443d5d03e1976c630583242f7"
307
+ }
308
+ ]
309
+ }
310
+ },
311
+ {
312
+ "date": "Fri, 18 Feb 2022 13:35:33 GMT",
313
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.3",
314
+ "version": "9.0.0-rc.3",
315
+ "comments": {
316
+ "prerelease": [
317
+ {
318
+ "author": "lingfangao@hotmail.com",
319
+ "package": "@fluentui/react-positioning",
320
+ "commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
321
+ "comment": "fix: Source maps contain original source code"
322
+ },
323
+ {
324
+ "author": "beachball",
325
+ "package": "@fluentui/react-positioning",
326
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.3",
327
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
328
+ },
329
+ {
330
+ "author": "beachball",
331
+ "package": "@fluentui/react-positioning",
332
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.3",
333
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
334
+ }
335
+ ]
336
+ }
337
+ },
338
+ {
339
+ "date": "Thu, 10 Feb 2022 08:50:40 GMT",
6
340
  "tag": "@fluentui/react-positioning_v9.0.0-rc.1",
7
341
  "version": "9.0.0-rc.1",
8
342
  "comments": {