@fluentui/react-popover 0.0.0-nightly9edaf68d4420211116.1 → 0.0.0-nightlya0aef7969220220228.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +319 -24
- package/CHANGELOG.md +78 -15
- package/dist/react-popover.d.ts +29 -20
- package/lib/Popover.js.map +1 -1
- package/lib/PopoverSurface.js.map +1 -1
- package/lib/PopoverTrigger.js.map +1 -1
- package/lib/components/Popover/Popover.js +4 -4
- package/lib/components/Popover/Popover.js.map +1 -1
- package/lib/components/Popover/Popover.types.d.ts +2 -1
- package/lib/components/Popover/Popover.types.js.map +1 -1
- package/lib/components/Popover/index.js.map +1 -1
- package/lib/components/Popover/renderPopover.d.ts +1 -1
- package/lib/components/Popover/renderPopover.js +1 -1
- package/lib/components/Popover/renderPopover.js.map +1 -1
- package/lib/components/Popover/usePopover.d.ts +2 -2
- package/lib/components/Popover/usePopover.js +4 -3
- package/lib/components/Popover/usePopover.js.map +1 -1
- package/lib/components/PopoverSurface/PopoverSurface.js +6 -6
- package/lib/components/PopoverSurface/PopoverSurface.js.map +1 -1
- package/lib/components/PopoverSurface/PopoverSurface.types.d.ts +2 -2
- package/lib/components/PopoverSurface/PopoverSurface.types.js.map +1 -1
- package/lib/components/PopoverSurface/index.js.map +1 -1
- package/lib/components/PopoverSurface/renderPopoverSurface.d.ts +1 -1
- package/lib/components/PopoverSurface/renderPopoverSurface.js +4 -4
- package/lib/components/PopoverSurface/renderPopoverSurface.js.map +1 -1
- package/lib/components/PopoverSurface/usePopoverSurface.d.ts +4 -5
- package/lib/components/PopoverSurface/usePopoverSurface.js +16 -16
- package/lib/components/PopoverSurface/usePopoverSurface.js.map +1 -1
- package/lib/components/PopoverSurface/usePopoverSurfaceStyles.d.ts +1 -1
- package/lib/components/PopoverSurface/usePopoverSurfaceStyles.js +29 -18
- package/lib/components/PopoverSurface/usePopoverSurfaceStyles.js.map +1 -1
- package/lib/components/PopoverTrigger/PopoverTrigger.d.ts +2 -1
- package/lib/components/PopoverTrigger/PopoverTrigger.js +5 -4
- package/lib/components/PopoverTrigger/PopoverTrigger.js.map +1 -1
- package/lib/components/PopoverTrigger/PopoverTrigger.types.d.ts +9 -2
- package/lib/components/PopoverTrigger/PopoverTrigger.types.js.map +1 -1
- package/lib/components/PopoverTrigger/index.js.map +1 -1
- package/lib/components/PopoverTrigger/renderPopoverTrigger.d.ts +1 -1
- package/lib/components/PopoverTrigger/renderPopoverTrigger.js +1 -1
- package/lib/components/PopoverTrigger/renderPopoverTrigger.js.map +1 -1
- package/lib/components/PopoverTrigger/usePopoverTrigger.d.ts +2 -2
- package/lib/components/PopoverTrigger/usePopoverTrigger.js +33 -40
- package/lib/components/PopoverTrigger/usePopoverTrigger.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/popoverContext.d.ts +1 -1
- package/lib/popoverContext.js +1 -1
- package/lib/popoverContext.js.map +1 -1
- package/lib-commonjs/Popover.js.map +1 -1
- package/lib-commonjs/PopoverSurface.js.map +1 -1
- package/lib-commonjs/PopoverTrigger.js.map +1 -1
- package/lib-commonjs/components/Popover/Popover.js +2 -2
- package/lib-commonjs/components/Popover/Popover.js.map +1 -1
- package/lib-commonjs/components/Popover/Popover.types.d.ts +2 -1
- package/lib-commonjs/components/Popover/Popover.types.js.map +1 -1
- package/lib-commonjs/components/Popover/index.js.map +1 -1
- package/lib-commonjs/components/Popover/renderPopover.d.ts +1 -1
- package/lib-commonjs/components/Popover/renderPopover.js +3 -3
- package/lib-commonjs/components/Popover/renderPopover.js.map +1 -1
- package/lib-commonjs/components/Popover/usePopover.d.ts +2 -2
- package/lib-commonjs/components/Popover/usePopover.js +6 -5
- package/lib-commonjs/components/Popover/usePopover.js.map +1 -1
- package/lib-commonjs/components/PopoverSurface/PopoverSurface.js +3 -3
- package/lib-commonjs/components/PopoverSurface/PopoverSurface.js.map +1 -1
- package/lib-commonjs/components/PopoverSurface/PopoverSurface.types.d.ts +2 -2
- package/lib-commonjs/components/PopoverSurface/PopoverSurface.types.js.map +1 -1
- package/lib-commonjs/components/PopoverSurface/index.js.map +1 -1
- package/lib-commonjs/components/PopoverSurface/renderPopoverSurface.d.ts +1 -1
- package/lib-commonjs/components/PopoverSurface/renderPopoverSurface.js +6 -7
- package/lib-commonjs/components/PopoverSurface/renderPopoverSurface.js.map +1 -1
- package/lib-commonjs/components/PopoverSurface/usePopoverSurface.d.ts +4 -5
- package/lib-commonjs/components/PopoverSurface/usePopoverSurface.js +18 -18
- package/lib-commonjs/components/PopoverSurface/usePopoverSurface.js.map +1 -1
- package/lib-commonjs/components/PopoverSurface/usePopoverSurfaceStyles.d.ts +1 -1
- package/lib-commonjs/components/PopoverSurface/usePopoverSurfaceStyles.js +36 -23
- package/lib-commonjs/components/PopoverSurface/usePopoverSurfaceStyles.js.map +1 -1
- package/lib-commonjs/components/PopoverTrigger/PopoverTrigger.d.ts +2 -1
- package/lib-commonjs/components/PopoverTrigger/PopoverTrigger.js +3 -2
- package/lib-commonjs/components/PopoverTrigger/PopoverTrigger.js.map +1 -1
- package/lib-commonjs/components/PopoverTrigger/PopoverTrigger.types.d.ts +9 -2
- package/lib-commonjs/components/PopoverTrigger/PopoverTrigger.types.js.map +1 -1
- package/lib-commonjs/components/PopoverTrigger/index.js.map +1 -1
- package/lib-commonjs/components/PopoverTrigger/renderPopoverTrigger.d.ts +1 -1
- package/lib-commonjs/components/PopoverTrigger/renderPopoverTrigger.js +3 -3
- package/lib-commonjs/components/PopoverTrigger/renderPopoverTrigger.js.map +1 -1
- package/lib-commonjs/components/PopoverTrigger/usePopoverTrigger.d.ts +2 -2
- package/lib-commonjs/components/PopoverTrigger/usePopoverTrigger.js +33 -40
- package/lib-commonjs/components/PopoverTrigger/usePopoverTrigger.js.map +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/popoverContext.d.ts +1 -1
- package/lib-commonjs/popoverContext.js +3 -3
- package/lib-commonjs/popoverContext.js.map +1 -1
- package/package.json +14 -14
- package/lib/common/isConformant.d.ts +0 -4
- package/lib/common/isConformant.js +0 -13
- package/lib/common/isConformant.js.map +0 -1
- package/lib/common/mockUsePopoverContext.d.ts +0 -7
- package/lib/common/mockUsePopoverContext.js +0 -31
- package/lib/common/mockUsePopoverContext.js.map +0 -1
- package/lib-commonjs/common/isConformant.d.ts +0 -4
- package/lib-commonjs/common/isConformant.js +0 -24
- package/lib-commonjs/common/isConformant.js.map +0 -1
- package/lib-commonjs/common/mockUsePopoverContext.d.ts +0 -7
- package/lib-commonjs/common/mockUsePopoverContext.js +0 -41
- package/lib-commonjs/common/mockUsePopoverContext.js.map +0 -1
package/CHANGELOG.json
CHANGED
@@ -2,76 +2,371 @@
|
|
2
2
|
"name": "@fluentui/react-popover",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-popover_v0.0.0-
|
7
|
-
"version": "0.0.0-
|
5
|
+
"date": "Mon, 28 Feb 2022 04:13:58 GMT",
|
6
|
+
"tag": "@fluentui/react-popover_v0.0.0-nightlya0aef7969220220228.1",
|
7
|
+
"version": "0.0.0-nightlya0aef7969220220228.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
11
11
|
"author": "email not defined",
|
12
12
|
"package": "@fluentui/react-popover",
|
13
|
-
"commit": "
|
13
|
+
"commit": "357dddd59345f57e77408824366096081c934571",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
|
+
{
|
17
|
+
"author": "olfedias@microsoft.com",
|
18
|
+
"package": "@fluentui/react-popover",
|
19
|
+
"commit": "084d7408855f3e52b67cbca172da1acef9dcb98f",
|
20
|
+
"comment": "fix: Add react-theme as dependency"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-popover",
|
25
|
+
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlya0aef7969220220228.1",
|
26
|
+
"commit": "357dddd59345f57e77408824366096081c934571"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-popover",
|
31
|
+
"comment": "Bump @fluentui/react-portal to v0.0.0-nightlya0aef7969220220228.1",
|
32
|
+
"commit": "357dddd59345f57e77408824366096081c934571"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-popover",
|
37
|
+
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightlya0aef7969220220228.1",
|
38
|
+
"commit": "357dddd59345f57e77408824366096081c934571"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-popover",
|
43
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlya0aef7969220220228.1",
|
44
|
+
"commit": "357dddd59345f57e77408824366096081c934571"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-popover",
|
49
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightlya0aef7969220220228.1",
|
50
|
+
"commit": "357dddd59345f57e77408824366096081c934571"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"author": "beachball",
|
54
|
+
"package": "@fluentui/react-popover",
|
55
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightlya0aef7969220220228.1",
|
56
|
+
"commit": "357dddd59345f57e77408824366096081c934571"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"author": "beachball",
|
60
|
+
"package": "@fluentui/react-popover",
|
61
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightlya0aef7969220220228.1",
|
62
|
+
"commit": "357dddd59345f57e77408824366096081c934571"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"author": "beachball",
|
66
|
+
"package": "@fluentui/react-popover",
|
67
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightlya0aef7969220220228.1",
|
68
|
+
"commit": "357dddd59345f57e77408824366096081c934571"
|
69
|
+
}
|
70
|
+
]
|
71
|
+
}
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"date": "Fri, 18 Feb 2022 13:35:33 GMT",
|
75
|
+
"tag": "@fluentui/react-popover_v9.0.0-rc.3",
|
76
|
+
"version": "9.0.0-rc.3",
|
77
|
+
"comments": {
|
78
|
+
"prerelease": [
|
79
|
+
{
|
80
|
+
"author": "lingfangao@hotmail.com",
|
81
|
+
"package": "@fluentui/react-popover",
|
82
|
+
"commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
|
83
|
+
"comment": "fix: Source maps contain original source code"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"author": "beachball",
|
87
|
+
"package": "@fluentui/react-popover",
|
88
|
+
"comment": "Bump @fluentui/react-context-selector to v9.0.0-rc.3",
|
89
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"author": "beachball",
|
93
|
+
"package": "@fluentui/react-popover",
|
94
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-rc.3",
|
95
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"author": "beachball",
|
99
|
+
"package": "@fluentui/react-popover",
|
100
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-rc.3",
|
101
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"author": "beachball",
|
105
|
+
"package": "@fluentui/react-popover",
|
106
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.3",
|
107
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"author": "beachball",
|
111
|
+
"package": "@fluentui/react-popover",
|
112
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.3",
|
113
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"author": "beachball",
|
117
|
+
"package": "@fluentui/react-popover",
|
118
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.3",
|
119
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"author": "beachball",
|
123
|
+
"package": "@fluentui/react-popover",
|
124
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3",
|
125
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
126
|
+
}
|
127
|
+
]
|
128
|
+
}
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"date": "Thu, 10 Feb 2022 08:50:36 GMT",
|
132
|
+
"tag": "@fluentui/react-popover_v9.0.0-rc.1",
|
133
|
+
"version": "9.0.0-rc.1",
|
134
|
+
"comments": {
|
135
|
+
"prerelease": [
|
136
|
+
{
|
137
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
138
|
+
"package": "@fluentui/react-popover",
|
139
|
+
"commit": "6c32d0180e89674a46daf795de69e5dc6ca71ef7",
|
140
|
+
"comment": "Updating based on removal of functions from makeStyles."
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"author": "olfedias@microsoft.com",
|
144
|
+
"package": "@fluentui/react-popover",
|
145
|
+
"commit": "b1446dead62e61c9a0f6101d6dfc5a2f780403b8",
|
146
|
+
"comment": "use Griffel packages"
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"author": "olfedias@microsoft.com",
|
150
|
+
"package": "@fluentui/react-popover",
|
151
|
+
"commit": "aa6cfd8ac825b5a280206808101de549a91094fc",
|
152
|
+
"comment": "standardize trigger implementation & cloning"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"author": "olfedias@microsoft.com",
|
156
|
+
"package": "@fluentui/react-popover",
|
157
|
+
"commit": "ec0e785df9c70a2202dc5cc3cb4001d1ee635124",
|
158
|
+
"comment": "update styles to not use CSS shorthands"
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"author": "lingfangao@hotmail.com",
|
162
|
+
"package": "@fluentui/react-popover",
|
163
|
+
"commit": "3a5602460a0c05a2ba4e2cc0fad77e5ae0b8ce38",
|
164
|
+
"comment": "fix: Use role=complementary for Popovers without focus traps"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"author": "behowell@microsoft.com",
|
168
|
+
"package": "@fluentui/react-popover",
|
169
|
+
"commit": "317209bb5cd57c40f35bc42060acb7e3cce5ec95",
|
170
|
+
"comment": "BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
174
|
+
"package": "@fluentui/react-popover",
|
175
|
+
"commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
|
176
|
+
"comment": "Updating based on changes to composition types."
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
180
|
+
"package": "@fluentui/react-popover",
|
181
|
+
"commit": "38e8f42252c69b1c749c3ca7fca9315b49e6cf31",
|
182
|
+
"comment": "Replacing use of functions in makeStyles with direct use of tokens"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"author": "behowell@microsoft.com",
|
186
|
+
"package": "@fluentui/react-popover",
|
187
|
+
"commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
|
188
|
+
"comment": "Remove component's shorthandProps array"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"author": "behowell@microsoft.com",
|
192
|
+
"package": "@fluentui/react-popover",
|
193
|
+
"commit": "09804275c7f346db54c33d4ff347bffc33676014",
|
194
|
+
"comment": "Fix Popover arrow border in high contrast"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"author": "behowell@microsoft.com",
|
198
|
+
"package": "@fluentui/react-popover",
|
199
|
+
"commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3",
|
200
|
+
"comment": "Refactor component Slot typings"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"author": "lingfangao@hotmail.com",
|
204
|
+
"package": "@fluentui/react-popover",
|
205
|
+
"commit": "c2706cec4dc694762b1892a505db666d2fb324c1",
|
206
|
+
"comment": "fix: Set `aria-modal` on Popover if focus trap is enabled"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"author": "mgodbolt@microsoft.com",
|
210
|
+
"package": "@fluentui/react-popover",
|
211
|
+
"commit": "839ec14849e112b85aa321d034739ec421199141",
|
212
|
+
"comment": "remove export of commons types"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"author": "lingfangao@hotmail.com",
|
216
|
+
"package": "@fluentui/react-popover",
|
217
|
+
"commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
|
218
|
+
"comment": "Bump Fluent UI packages to 9.0.0-rc"
|
219
|
+
},
|
16
220
|
{
|
17
221
|
"author": "beachball",
|
18
222
|
"package": "@fluentui/react-popover",
|
19
|
-
"comment": "Bump @fluentui/react-context-selector to
|
20
|
-
"commit": "
|
223
|
+
"comment": "Bump @fluentui/react-context-selector to v9.0.0-rc.1",
|
224
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
21
225
|
},
|
22
226
|
{
|
23
227
|
"author": "beachball",
|
24
228
|
"package": "@fluentui/react-popover",
|
25
|
-
"comment": "Bump @fluentui/react-
|
26
|
-
"commit": "
|
229
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-rc.1",
|
230
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
27
231
|
},
|
28
232
|
{
|
29
233
|
"author": "beachball",
|
30
234
|
"package": "@fluentui/react-popover",
|
31
|
-
"comment": "Bump @fluentui/react-
|
32
|
-
"commit": "
|
235
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-rc.1",
|
236
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
33
237
|
},
|
34
238
|
{
|
35
239
|
"author": "beachball",
|
36
240
|
"package": "@fluentui/react-popover",
|
37
|
-
"comment": "Bump @fluentui/react-
|
38
|
-
"commit": "
|
241
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.1",
|
242
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
39
243
|
},
|
40
244
|
{
|
41
245
|
"author": "beachball",
|
42
246
|
"package": "@fluentui/react-popover",
|
43
|
-
"comment": "Bump @fluentui/react-
|
44
|
-
"commit": "
|
247
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.1",
|
248
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
45
249
|
},
|
46
250
|
{
|
47
251
|
"author": "beachball",
|
48
252
|
"package": "@fluentui/react-popover",
|
49
|
-
"comment": "Bump @fluentui/react-
|
50
|
-
"commit": "
|
253
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1",
|
254
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
51
255
|
},
|
52
256
|
{
|
53
257
|
"author": "beachball",
|
54
258
|
"package": "@fluentui/react-popover",
|
55
|
-
"comment": "Bump @fluentui/react-
|
56
|
-
"commit": "
|
259
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1",
|
260
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"none": [
|
264
|
+
{
|
265
|
+
"author": "email not defined",
|
266
|
+
"package": "@fluentui/react-popover",
|
267
|
+
"commit": "97752a0e494875c4dc22b268030d7d5e51b19211",
|
268
|
+
"comment": "Add workaround for cypress bug"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"author": "olfedias@microsoft.com",
|
272
|
+
"package": "@fluentui/react-popover",
|
273
|
+
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
|
274
|
+
"comment": "remove inline-style-expand-shorthand from tsconfigs"
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"author": "martinhochel@microsoft.com",
|
278
|
+
"package": "@fluentui/react-popover",
|
279
|
+
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
|
280
|
+
"comment": "chore: use storybook runner for all vNext packages"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"author": "elcraig@microsoft.com",
|
284
|
+
"package": "@fluentui/react-popover",
|
285
|
+
"commit": "3360b45ec159250b1346c91afad7dce138e6bc20",
|
286
|
+
"comment": "Update API file to version generated by typescript 4.3"
|
287
|
+
}
|
288
|
+
]
|
289
|
+
}
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"date": "Thu, 25 Nov 2021 08:34:15 GMT",
|
293
|
+
"tag": "@fluentui/react-popover_v9.0.0-beta.5",
|
294
|
+
"version": "9.0.0-beta.5",
|
295
|
+
"comments": {
|
296
|
+
"prerelease": [
|
297
|
+
{
|
298
|
+
"author": "lingfangao@hotmail.com",
|
299
|
+
"package": "@fluentui/react-popover",
|
300
|
+
"commit": "58db204f28af1d68df7260ff580cf91f0adcfb66",
|
301
|
+
"comment": "Add transparent outline to arrow for HC"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"author": "beachball",
|
305
|
+
"package": "@fluentui/react-popover",
|
306
|
+
"comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
|
307
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
57
308
|
},
|
58
309
|
{
|
59
310
|
"author": "beachball",
|
60
311
|
"package": "@fluentui/react-popover",
|
61
|
-
"comment": "Bump @fluentui/
|
62
|
-
"commit": "
|
312
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
313
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
63
314
|
},
|
64
315
|
{
|
65
316
|
"author": "beachball",
|
66
317
|
"package": "@fluentui/react-popover",
|
67
|
-
"comment": "Bump @fluentui/
|
68
|
-
"commit": "
|
318
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
|
319
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
69
320
|
},
|
70
321
|
{
|
71
322
|
"author": "beachball",
|
72
323
|
"package": "@fluentui/react-popover",
|
73
|
-
"comment": "Bump @fluentui/react-
|
74
|
-
"commit": "
|
324
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
|
325
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"author": "beachball",
|
329
|
+
"package": "@fluentui/react-popover",
|
330
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
|
331
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"author": "beachball",
|
335
|
+
"package": "@fluentui/react-popover",
|
336
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
|
337
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"author": "beachball",
|
341
|
+
"package": "@fluentui/react-popover",
|
342
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
343
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"author": "beachball",
|
347
|
+
"package": "@fluentui/react-popover",
|
348
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
349
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"author": "beachball",
|
353
|
+
"package": "@fluentui/react-popover",
|
354
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
|
355
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
356
|
+
},
|
357
|
+
{
|
358
|
+
"author": "beachball",
|
359
|
+
"package": "@fluentui/react-popover",
|
360
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
|
361
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
362
|
+
}
|
363
|
+
],
|
364
|
+
"none": [
|
365
|
+
{
|
366
|
+
"author": "lingfangao@hotmail.com",
|
367
|
+
"package": "@fluentui/react-popover",
|
368
|
+
"commit": "8a141d14f3a14de2e1c4691dad908622f310a9d1",
|
369
|
+
"comment": "Migrate package to use solution tsconfigs"
|
75
370
|
}
|
76
371
|
]
|
77
372
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,27 +1,90 @@
|
|
1
1
|
# Change Log - @fluentui/react-popover
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Mon, 28 Feb 2022 04:13:58 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightlya0aef7969220220228.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v0.0.0-nightlya0aef7969220220228.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-
|
9
|
+
Mon, 28 Feb 2022 04:13:58 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-rc.3..@fluentui/react-popover_v0.0.0-nightlya0aef7969220220228.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/
|
15
|
-
-
|
16
|
-
- Bump @fluentui/react-
|
17
|
-
- Bump @fluentui/react-portal to v0.0.0-
|
18
|
-
- Bump @fluentui/react-positioning to v0.0.0-
|
19
|
-
- Bump @fluentui/react-shared-contexts to v0.0.0-
|
20
|
-
- Bump @fluentui/react-tabster to v0.0.0-
|
21
|
-
- Bump @fluentui/react-
|
22
|
-
- Bump @fluentui/
|
23
|
-
- Bump @fluentui/
|
24
|
-
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/357dddd59345f57e77408824366096081c934571) by email not defined)
|
15
|
+
- fix: Add react-theme as dependency ([PR #21825](https://github.com/microsoft/fluentui/pull/21825) by olfedias@microsoft.com)
|
16
|
+
- Bump @fluentui/react-context-selector to v0.0.0-nightlya0aef7969220220228.1 ([commit](https://github.com/microsoft/fluentui/commit/357dddd59345f57e77408824366096081c934571) by beachball)
|
17
|
+
- Bump @fluentui/react-portal to v0.0.0-nightlya0aef7969220220228.1 ([commit](https://github.com/microsoft/fluentui/commit/357dddd59345f57e77408824366096081c934571) by beachball)
|
18
|
+
- Bump @fluentui/react-positioning to v0.0.0-nightlya0aef7969220220228.1 ([commit](https://github.com/microsoft/fluentui/commit/357dddd59345f57e77408824366096081c934571) by beachball)
|
19
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightlya0aef7969220220228.1 ([commit](https://github.com/microsoft/fluentui/commit/357dddd59345f57e77408824366096081c934571) by beachball)
|
20
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightlya0aef7969220220228.1 ([commit](https://github.com/microsoft/fluentui/commit/357dddd59345f57e77408824366096081c934571) by beachball)
|
21
|
+
- Bump @fluentui/react-theme to v0.0.0-nightlya0aef7969220220228.1 ([commit](https://github.com/microsoft/fluentui/commit/357dddd59345f57e77408824366096081c934571) by beachball)
|
22
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightlya0aef7969220220228.1 ([commit](https://github.com/microsoft/fluentui/commit/357dddd59345f57e77408824366096081c934571) by beachball)
|
23
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightlya0aef7969220220228.1 ([commit](https://github.com/microsoft/fluentui/commit/357dddd59345f57e77408824366096081c934571) by beachball)
|
24
|
+
|
25
|
+
## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.0.0-rc.3)
|
26
|
+
|
27
|
+
Fri, 18 Feb 2022 13:35:33 GMT
|
28
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-rc.1..@fluentui/react-popover_v9.0.0-rc.3)
|
29
|
+
|
30
|
+
### Changes
|
31
|
+
|
32
|
+
- fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
|
33
|
+
- Bump @fluentui/react-context-selector to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
34
|
+
- Bump @fluentui/react-portal to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
35
|
+
- Bump @fluentui/react-positioning to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
36
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
37
|
+
- Bump @fluentui/react-tabster to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
38
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
39
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
40
|
+
|
41
|
+
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.0.0-rc.1)
|
42
|
+
|
43
|
+
Thu, 10 Feb 2022 08:50:36 GMT
|
44
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.5..@fluentui/react-popover_v9.0.0-rc.1)
|
45
|
+
|
46
|
+
### Changes
|
47
|
+
|
48
|
+
- Updating based on removal of functions from makeStyles. ([PR #21239](https://github.com/microsoft/fluentui/pull/21239) by Humberto.Morimoto@microsoft.com)
|
49
|
+
- use Griffel packages ([PR #21392](https://github.com/microsoft/fluentui/pull/21392) by olfedias@microsoft.com)
|
50
|
+
- standardize trigger implementation & cloning ([PR #21609](https://github.com/microsoft/fluentui/pull/21609) by olfedias@microsoft.com)
|
51
|
+
- update styles to not use CSS shorthands ([PR #20796](https://github.com/microsoft/fluentui/pull/20796) by olfedias@microsoft.com)
|
52
|
+
- fix: Use role=complementary for Popovers without focus traps ([PR #21416](https://github.com/microsoft/fluentui/pull/21416) by lingfangao@hotmail.com)
|
53
|
+
- BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
|
54
|
+
- Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
|
55
|
+
- Replacing use of functions in makeStyles with direct use of tokens ([PR #21049](https://github.com/microsoft/fluentui/pull/21049) by Humberto.Morimoto@microsoft.com)
|
56
|
+
- Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
|
57
|
+
- Fix Popover arrow border in high contrast ([PR #21086](https://github.com/microsoft/fluentui/pull/21086) by behowell@microsoft.com)
|
58
|
+
- Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
|
59
|
+
- fix: Set `aria-modal` on Popover if focus trap is enabled ([PR #21387](https://github.com/microsoft/fluentui/pull/21387) by lingfangao@hotmail.com)
|
60
|
+
- remove export of commons types ([PR #21660](https://github.com/microsoft/fluentui/pull/21660) by mgodbolt@microsoft.com)
|
61
|
+
- Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
|
62
|
+
- Bump @fluentui/react-context-selector to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
63
|
+
- Bump @fluentui/react-portal to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
64
|
+
- Bump @fluentui/react-positioning to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
65
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
66
|
+
- Bump @fluentui/react-tabster to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
67
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
68
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
69
|
+
|
70
|
+
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.0.0-beta.5)
|
71
|
+
|
72
|
+
Thu, 25 Nov 2021 08:34:15 GMT
|
73
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.4..@fluentui/react-popover_v9.0.0-beta.5)
|
74
|
+
|
75
|
+
### Changes
|
76
|
+
|
77
|
+
- Add transparent outline to arrow for HC ([PR #20541](https://github.com/microsoft/fluentui/pull/20541) by lingfangao@hotmail.com)
|
78
|
+
- Bump @fluentui/react-context-selector to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
79
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
80
|
+
- Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
81
|
+
- Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
82
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
83
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
84
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
85
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
86
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
87
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
25
88
|
|
26
89
|
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.0.0-beta.4)
|
27
90
|
|
package/dist/react-popover.d.ts
CHANGED
@@ -2,12 +2,15 @@ import type { ComponentProps } from '@fluentui/react-utilities';
|
|
2
2
|
import type { ComponentState } from '@fluentui/react-utilities';
|
3
3
|
import type { Context } from '@fluentui/react-context-selector';
|
4
4
|
import type { ContextSelector } from '@fluentui/react-context-selector';
|
5
|
+
import type { FluentTriggerComponent } from '@fluentui/react-utilities';
|
5
6
|
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
6
|
-
import
|
7
|
+
import { JSXElementConstructor } from 'react';
|
7
8
|
import type { PopperVirtualElement } from '@fluentui/react-positioning';
|
8
9
|
import type { PortalProps } from '@fluentui/react-portal';
|
9
10
|
import type { PositioningShorthand } from '@fluentui/react-positioning';
|
10
11
|
import * as React_2 from 'react';
|
12
|
+
import { ReactElement } from 'react';
|
13
|
+
import type { Slot } from '@fluentui/react-utilities';
|
11
14
|
import type { usePopperMouseTarget } from '@fluentui/react-positioning';
|
12
15
|
|
13
16
|
export declare const arrowHeights: Record<PopoverSize, number>;
|
@@ -29,7 +32,7 @@ export declare type OpenPopoverEvents = MouseEvent | TouchEvent | React_2.MouseE
|
|
29
32
|
*/
|
30
33
|
export declare const Popover: React_2.FC<PopoverProps>;
|
31
34
|
|
32
|
-
|
35
|
+
declare type PopoverCommons = Pick<PortalProps, 'mountNode'> & {
|
33
36
|
/**
|
34
37
|
* Controls the opening of the Popover
|
35
38
|
*/
|
@@ -145,11 +148,9 @@ export declare type PopoverSurfaceProps = ComponentProps<PopoverSurfaceSlots>;
|
|
145
148
|
* Names of the slots in PopoverSurfaceProps
|
146
149
|
*/
|
147
150
|
export declare type PopoverSurfaceSlots = {
|
148
|
-
root:
|
151
|
+
root: Slot<'div'>;
|
149
152
|
};
|
150
153
|
|
151
|
-
export declare const popoverSurfaceSlots: Array<keyof PopoverSurfaceSlots>;
|
152
|
-
|
153
154
|
/**
|
154
155
|
* PopoverSurface State
|
155
156
|
*/
|
@@ -163,71 +164,79 @@ export declare type PopoverSurfaceState = ComponentState<PopoverSurfaceSlots> &
|
|
163
164
|
/**
|
164
165
|
* Wraps a trigger element as an only child and adds the necessary event handling to open a popover.
|
165
166
|
*/
|
166
|
-
export declare const PopoverTrigger: React_2.FC<PopoverTriggerProps
|
167
|
+
export declare const PopoverTrigger: React_2.FC<PopoverTriggerProps> & FluentTriggerComponent;
|
168
|
+
|
169
|
+
export declare type PopoverTriggerChildProps = {
|
170
|
+
ref?: React_2.Ref<never>;
|
171
|
+
} & Pick<React_2.HTMLAttributes<HTMLElement>, 'aria-haspopup' | 'onClick' | 'onMouseEnter' | 'onKeyDown' | 'onMouseLeave' | 'onContextMenu'>;
|
167
172
|
|
168
173
|
/**
|
169
174
|
* PopoverTrigger Props
|
170
175
|
*/
|
171
176
|
export declare type PopoverTriggerProps = {
|
172
|
-
children: React_2.ReactElement
|
177
|
+
children: (React_2.ReactElement & {
|
178
|
+
ref?: React_2.Ref<unknown>;
|
179
|
+
}) | ((props: PopoverTriggerChildProps) => React_2.ReactElement | null);
|
173
180
|
};
|
174
181
|
|
175
182
|
/**
|
176
183
|
* PopoverTrigger State
|
177
184
|
*/
|
178
|
-
export declare type PopoverTriggerState =
|
185
|
+
export declare type PopoverTriggerState = {
|
186
|
+
children: React_2.ReactElement | null;
|
187
|
+
};
|
179
188
|
|
180
189
|
/**
|
181
190
|
* Render the final JSX of Popover
|
182
191
|
*/
|
183
|
-
export declare const
|
192
|
+
export declare const renderPopover_unstable: (state: PopoverState) => JSX.Element;
|
184
193
|
|
185
194
|
/**
|
186
195
|
* Render the final JSX of PopoverSurface
|
187
196
|
*/
|
188
|
-
export declare const
|
197
|
+
export declare const renderPopoverSurface_unstable: (state: PopoverSurfaceState) => JSX.Element | null;
|
189
198
|
|
190
199
|
/**
|
191
200
|
* Render the final JSX of PopoverTrigger
|
192
201
|
*/
|
193
|
-
export declare const
|
202
|
+
export declare const renderPopoverTrigger_unstable: (state: PopoverTriggerState) => ReactElement<any, string | JSXElementConstructor<any>> | null;
|
194
203
|
|
195
204
|
/**
|
196
205
|
* Create the state required to render Popover.
|
197
206
|
*
|
198
207
|
* The returned state can be modified with hooks such as usePopoverStyles,
|
199
|
-
* before being passed to
|
208
|
+
* before being passed to renderPopover_unstable.
|
200
209
|
*
|
201
210
|
* @param props - props from this instance of Popover
|
202
211
|
*/
|
203
|
-
export declare const
|
212
|
+
export declare const usePopover_unstable: (props: PopoverProps) => PopoverState;
|
204
213
|
|
205
|
-
export declare const
|
214
|
+
export declare const usePopoverContext_unstable: <T>(selector: ContextSelector<PopoverContextValue, T>) => T;
|
206
215
|
|
207
216
|
/**
|
208
217
|
* Create the state required to render PopoverSurface.
|
209
218
|
*
|
210
|
-
* The returned state can be modified with hooks such as
|
211
|
-
* before being passed to
|
219
|
+
* The returned state can be modified with hooks such as usePopoverSurfaceStyles_unstable,
|
220
|
+
* before being passed to renderPopoverSurface_unstable.
|
212
221
|
*
|
213
222
|
* @param props - props from this instance of PopoverSurface
|
214
223
|
* @param ref - reference to root HTMLDivElement of PopoverSurface
|
215
224
|
*/
|
216
|
-
export declare const
|
225
|
+
export declare const usePopoverSurface_unstable: (props: PopoverSurfaceProps, ref: React_2.Ref<HTMLDivElement>) => PopoverSurfaceState;
|
217
226
|
|
218
227
|
/**
|
219
228
|
* Apply styling to the PopoverSurface slots based on the state
|
220
229
|
*/
|
221
|
-
export declare const
|
230
|
+
export declare const usePopoverSurfaceStyles_unstable: (state: PopoverSurfaceState) => PopoverSurfaceState;
|
222
231
|
|
223
232
|
/**
|
224
233
|
* Create the state required to render PopoverTrigger.
|
225
234
|
*
|
226
235
|
* The returned state can be modified with hooks such as usePopoverTriggerStyles,
|
227
|
-
* before being passed to
|
236
|
+
* before being passed to renderPopoverTrigger_unstable.
|
228
237
|
*
|
229
238
|
* @param props - props from this instance of PopoverTrigger
|
230
239
|
*/
|
231
|
-
export declare const
|
240
|
+
export declare const usePopoverTrigger_unstable: (props: PopoverTriggerProps) => PopoverTriggerState;
|
232
241
|
|
233
242
|
export { }
|
package/lib/Popover.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"Popover.js","sourceRoot":"../src/","sources":["Popover.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC","sourcesContent":["export * from './components/Popover/index';\n"]}
|