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

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 +281 -1
  2. package/CHANGELOG.md +164 -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} +10 -8
  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} +14 -10
  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,287 @@
2
2
  "name": "@fluentui/react-positioning",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 10 Feb 2022 08:43:54 GMT",
5
+ "date": "Mon, 23 May 2022 18:54:52 GMT",
6
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.10",
7
+ "version": "9.0.0-rc.10",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "lingfangao@hotmail.com",
12
+ "package": "@fluentui/react-positioning",
13
+ "commit": "5ed22515a7542b432ed694f22606ac3718d501cb",
14
+ "comment": "BREAKING CHANGE: Encapsulate Popper API"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-positioning",
19
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.9",
20
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-positioning",
25
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.9",
26
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
27
+ }
28
+ ]
29
+ }
30
+ },
31
+ {
32
+ "date": "Mon, 23 May 2022 12:13:34 GMT",
33
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.9",
34
+ "version": "9.0.0-rc.9",
35
+ "comments": {
36
+ "prerelease": [
37
+ {
38
+ "author": "martinhochel@microsoft.com",
39
+ "package": "@fluentui/react-positioning",
40
+ "commit": "e7b70cb06f4422e5574993fd2ad44d9073647417",
41
+ "comment": "feat: ship rolluped only dts"
42
+ },
43
+ {
44
+ "author": "olfedias@microsoft.com",
45
+ "package": "@fluentui/react-positioning",
46
+ "commit": "60804cec07a495b8a5d1fc66338bf0443b212144",
47
+ "comment": "chore: Update Griffel to latest version"
48
+ },
49
+ {
50
+ "author": "olfedias@microsoft.com",
51
+ "package": "@fluentui/react-positioning",
52
+ "commit": "f120fe9160ad7311a87af0cfacd8d2fb26275e34",
53
+ "comment": "chore: Update Griffel to latest version"
54
+ },
55
+ {
56
+ "author": "beachball",
57
+ "package": "@fluentui/react-positioning",
58
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.8",
59
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
60
+ },
61
+ {
62
+ "author": "beachball",
63
+ "package": "@fluentui/react-positioning",
64
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.8",
65
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
66
+ },
67
+ {
68
+ "author": "beachball",
69
+ "package": "@fluentui/react-positioning",
70
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.9",
71
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
72
+ }
73
+ ]
74
+ }
75
+ },
76
+ {
77
+ "date": "Thu, 05 May 2022 18:26:25 GMT",
78
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.8",
79
+ "version": "9.0.0-rc.8",
80
+ "comments": {
81
+ "prerelease": [
82
+ {
83
+ "author": "humberto_makoto@hotmail.com",
84
+ "package": "@fluentui/react-positioning",
85
+ "commit": "de4f22fd2febb817c720c59c5798200bb56fbe06",
86
+ "comment": "Removing star exports."
87
+ },
88
+ {
89
+ "author": "beachball",
90
+ "package": "@fluentui/react-positioning",
91
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.7",
92
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
93
+ },
94
+ {
95
+ "author": "beachball",
96
+ "package": "@fluentui/react-positioning",
97
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.7",
98
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
99
+ },
100
+ {
101
+ "author": "beachball",
102
+ "package": "@fluentui/react-positioning",
103
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.8",
104
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
105
+ }
106
+ ]
107
+ }
108
+ },
109
+ {
110
+ "date": "Wed, 04 May 2022 13:26:47 GMT",
111
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.7",
112
+ "version": "9.0.0-rc.7",
113
+ "comments": {
114
+ "none": [
115
+ {
116
+ "author": "tristan.watanabe@gmail.com",
117
+ "package": "@fluentui/react-positioning",
118
+ "commit": "8ec3d32fa26e6cf803ab9d18671fd51ba06c74ab",
119
+ "comment": "react-positioning: Move to new common folder."
120
+ }
121
+ ],
122
+ "prerelease": [
123
+ {
124
+ "author": "beachball",
125
+ "package": "@fluentui/react-positioning",
126
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.6",
127
+ "commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
128
+ },
129
+ {
130
+ "author": "beachball",
131
+ "package": "@fluentui/react-positioning",
132
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.6",
133
+ "commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
134
+ },
135
+ {
136
+ "author": "beachball",
137
+ "package": "@fluentui/react-positioning",
138
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.7",
139
+ "commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
140
+ }
141
+ ]
142
+ }
143
+ },
144
+ {
145
+ "date": "Tue, 19 Apr 2022 19:16:49 GMT",
146
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.6",
147
+ "version": "9.0.0-rc.6",
148
+ "comments": {
149
+ "none": [
150
+ {
151
+ "author": "mgodbolt@microsoft.com",
152
+ "package": "@fluentui/react-positioning",
153
+ "commit": "905e46db07ada986fd7885531f72a71b7bbaabdc",
154
+ "comment": "create v9 api extractor config and set all v9 packags to use it, suppress forgotten export"
155
+ },
156
+ {
157
+ "author": "elcraig@microsoft.com",
158
+ "package": "@fluentui/react-positioning",
159
+ "commit": "b7f17e976f9e058f39c9fce4f0f9bb6eb4dfa577",
160
+ "comment": "Update React dev deps and hoist them to the repo root"
161
+ }
162
+ ],
163
+ "prerelease": [
164
+ {
165
+ "author": "olfedias@microsoft.com",
166
+ "package": "@fluentui/react-positioning",
167
+ "commit": "e569d6e04d83cbcc6225e61db52ff81d2addd363",
168
+ "comment": "chore: Update Griffel to latest version"
169
+ },
170
+ {
171
+ "author": "beachball",
172
+ "package": "@fluentui/react-positioning",
173
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.5",
174
+ "commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
175
+ },
176
+ {
177
+ "author": "beachball",
178
+ "package": "@fluentui/react-positioning",
179
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.5",
180
+ "commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
181
+ },
182
+ {
183
+ "author": "beachball",
184
+ "package": "@fluentui/react-positioning",
185
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.6",
186
+ "commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
187
+ }
188
+ ]
189
+ }
190
+ },
191
+ {
192
+ "date": "Fri, 04 Mar 2022 05:17:39 GMT",
193
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.5",
194
+ "version": "9.0.0-rc.5",
195
+ "comments": {
196
+ "prerelease": [
197
+ {
198
+ "author": "dzearing@microsoft.com",
199
+ "package": "@fluentui/react-positioning",
200
+ "commit": "f2f1c0ea948cc3517eeb442c05433eb0918def29",
201
+ "comment": "Adding explicit export maps on all consumer packages for FUIR 8 and 9."
202
+ },
203
+ {
204
+ "author": "lingfangao@hotmail.com",
205
+ "package": "@fluentui/react-positioning",
206
+ "commit": "2267ad0de9d6f6bf3aa776016da3d03f5400cbd1",
207
+ "comment": "fix: `popperRef.setTarget` should accept virtual element type"
208
+ },
209
+ {
210
+ "author": "beachball",
211
+ "package": "@fluentui/react-positioning",
212
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.4",
213
+ "commit": "1494f0b620f6d5aae7f0aef33fc9e8f6eb7f8749"
214
+ },
215
+ {
216
+ "author": "beachball",
217
+ "package": "@fluentui/react-positioning",
218
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.4",
219
+ "commit": "1494f0b620f6d5aae7f0aef33fc9e8f6eb7f8749"
220
+ },
221
+ {
222
+ "author": "beachball",
223
+ "package": "@fluentui/react-positioning",
224
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.5",
225
+ "commit": "1494f0b620f6d5aae7f0aef33fc9e8f6eb7f8749"
226
+ }
227
+ ]
228
+ }
229
+ },
230
+ {
231
+ "date": "Tue, 01 Mar 2022 02:17:38 GMT",
232
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.4",
233
+ "version": "9.0.0-rc.4",
234
+ "comments": {
235
+ "prerelease": [
236
+ {
237
+ "author": "olfedias@microsoft.com",
238
+ "package": "@fluentui/react-positioning",
239
+ "commit": "def76fff08777fcd5492f47824b943bab22d4515",
240
+ "comment": "feat: add isIntersectingModifier to usePopper"
241
+ },
242
+ {
243
+ "author": "olfedias@microsoft.com",
244
+ "package": "@fluentui/react-positioning",
245
+ "commit": "084d7408855f3e52b67cbca172da1acef9dcb98f",
246
+ "comment": "fix: Add react-theme as dependency"
247
+ },
248
+ {
249
+ "author": "beachball",
250
+ "package": "@fluentui/react-positioning",
251
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.4",
252
+ "commit": "0bc1e755543ed69443d5d03e1976c630583242f7"
253
+ }
254
+ ]
255
+ }
256
+ },
257
+ {
258
+ "date": "Fri, 18 Feb 2022 13:35:33 GMT",
259
+ "tag": "@fluentui/react-positioning_v9.0.0-rc.3",
260
+ "version": "9.0.0-rc.3",
261
+ "comments": {
262
+ "prerelease": [
263
+ {
264
+ "author": "lingfangao@hotmail.com",
265
+ "package": "@fluentui/react-positioning",
266
+ "commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
267
+ "comment": "fix: Source maps contain original source code"
268
+ },
269
+ {
270
+ "author": "beachball",
271
+ "package": "@fluentui/react-positioning",
272
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.3",
273
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
274
+ },
275
+ {
276
+ "author": "beachball",
277
+ "package": "@fluentui/react-positioning",
278
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.3",
279
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
280
+ }
281
+ ]
282
+ }
283
+ },
284
+ {
285
+ "date": "Thu, 10 Feb 2022 08:50:40 GMT",
6
286
  "tag": "@fluentui/react-positioning_v9.0.0-rc.1",
7
287
  "version": "9.0.0-rc.1",
8
288
  "comments": {