@fluentui/react-tabster 9.0.0-nightly.f81b28ceb3.1 → 9.0.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +254 -13
- package/CHANGELOG.md +75 -9
- package/dist/react-tabster.d.ts +10 -27
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/useArrowNavigationGroup.js +2 -2
- package/lib/hooks/useArrowNavigationGroup.js.map +1 -1
- package/lib/hooks/useFocusFinders.d.ts +3 -2
- package/lib/hooks/useFocusFinders.js +25 -33
- package/lib/hooks/useFocusFinders.js.map +1 -1
- package/lib/hooks/useFocusIndicatorStyle.d.ts +6 -7
- package/lib/hooks/useFocusIndicatorStyle.js +40 -52
- package/lib/hooks/useFocusIndicatorStyle.js.map +1 -1
- package/lib/hooks/useFocusableGroup.d.ts +2 -16
- package/lib/hooks/useFocusableGroup.js +19 -22
- package/lib/hooks/useFocusableGroup.js.map +1 -1
- package/lib/hooks/useKeyboardNavAttribute.js +9 -11
- package/lib/hooks/useKeyboardNavAttribute.js.map +1 -1
- package/lib/hooks/useModalAttributes.js +12 -14
- package/lib/hooks/useModalAttributes.js.map +1 -1
- package/lib/hooks/useTabster.js +8 -5
- package/lib/hooks/useTabster.js.map +1 -1
- package/lib/hooks/useTabsterAttributes.js +1 -1
- package/lib/hooks/useTabsterAttributes.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/symbols.js +2 -2
- package/lib/symbols.js.map +1 -1
- package/lib-commonjs/hooks/index.js +1 -1
- package/lib-commonjs/hooks/index.js.map +1 -1
- package/lib-commonjs/hooks/useArrowNavigationGroup.js +5 -5
- package/lib-commonjs/hooks/useArrowNavigationGroup.js.map +1 -1
- package/lib-commonjs/hooks/useFocusFinders.d.ts +3 -2
- package/lib-commonjs/hooks/useFocusFinders.js +27 -35
- package/lib-commonjs/hooks/useFocusFinders.js.map +1 -1
- package/lib-commonjs/hooks/useFocusIndicatorStyle.d.ts +6 -7
- package/lib-commonjs/hooks/useFocusIndicatorStyle.js +41 -53
- package/lib-commonjs/hooks/useFocusIndicatorStyle.js.map +1 -1
- package/lib-commonjs/hooks/useFocusableGroup.d.ts +2 -16
- package/lib-commonjs/hooks/useFocusableGroup.js +23 -26
- package/lib-commonjs/hooks/useFocusableGroup.js.map +1 -1
- package/lib-commonjs/hooks/useKeyboardNavAttribute.js +13 -15
- package/lib-commonjs/hooks/useKeyboardNavAttribute.js.map +1 -1
- package/lib-commonjs/hooks/useModalAttributes.js +16 -18
- package/lib-commonjs/hooks/useModalAttributes.js.map +1 -1
- package/lib-commonjs/hooks/useTabster.js +10 -7
- package/lib-commonjs/hooks/useTabster.js.map +1 -1
- package/lib-commonjs/hooks/useTabsterAttributes.js +3 -3
- package/lib-commonjs/hooks/useTabsterAttributes.js.map +1 -1
- package/lib-commonjs/index.js +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/symbols.js +1 -1
- package/lib-commonjs/symbols.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.json
CHANGED
@@ -2,40 +2,281 @@
|
|
2
2
|
"name": "@fluentui/react-tabster",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "Tue,
|
6
|
-
"tag": "@fluentui/react-tabster_v9.0.0-
|
7
|
-
"version": "9.0.0-
|
5
|
+
"date": "Tue, 01 Mar 2022 02:16:13 GMT",
|
6
|
+
"tag": "@fluentui/react-tabster_v9.0.0-rc.4",
|
7
|
+
"version": "9.0.0-rc.4",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
|
+
{
|
11
|
+
"author": "olfedias@microsoft.com",
|
12
|
+
"package": "@fluentui/react-tabster",
|
13
|
+
"commit": "084d7408855f3e52b67cbca172da1acef9dcb98f",
|
14
|
+
"comment": "fix: Add react-theme as dependency"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-tabster",
|
19
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.4",
|
20
|
+
"commit": "0bc1e755543ed69443d5d03e1976c630583242f7"
|
21
|
+
}
|
22
|
+
]
|
23
|
+
}
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"date": "Fri, 18 Feb 2022 13:35:35 GMT",
|
27
|
+
"tag": "@fluentui/react-tabster_v9.0.0-rc.3",
|
28
|
+
"version": "9.0.0-rc.3",
|
29
|
+
"comments": {
|
30
|
+
"prerelease": [
|
31
|
+
{
|
32
|
+
"author": "lingfangao@hotmail.com",
|
33
|
+
"package": "@fluentui/react-tabster",
|
34
|
+
"commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
|
35
|
+
"comment": "fix: Source maps contain original source code"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"author": "beachball",
|
39
|
+
"package": "@fluentui/react-tabster",
|
40
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.3",
|
41
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"author": "beachball",
|
45
|
+
"package": "@fluentui/react-tabster",
|
46
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.3",
|
47
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
48
|
+
}
|
49
|
+
]
|
50
|
+
}
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"date": "Thu, 10 Feb 2022 08:50:55 GMT",
|
54
|
+
"tag": "@fluentui/react-tabster_v9.0.0-rc.1",
|
55
|
+
"version": "9.0.0-rc.1",
|
56
|
+
"comments": {
|
57
|
+
"none": [
|
58
|
+
{
|
59
|
+
"author": "martinhochel@microsoft.com",
|
60
|
+
"package": "@fluentui/react-tabster",
|
61
|
+
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
|
62
|
+
"comment": "chore: use storybook runner for all vNext packages"
|
63
|
+
},
|
10
64
|
{
|
11
65
|
"author": "email not defined",
|
12
66
|
"package": "@fluentui/react-tabster",
|
13
|
-
"
|
14
|
-
"
|
67
|
+
"commit": "97752a0e494875c4dc22b268030d7d5e51b19211",
|
68
|
+
"comment": "Add workaround for cypress bug"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"author": "olfedias@microsoft.com",
|
72
|
+
"package": "@fluentui/react-tabster",
|
73
|
+
"commit": "71ff89870b52cd0e2319a5d568603a710c3ad367",
|
74
|
+
"comment": "update tooling configs"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"author": "lingfangao@hotmail.com",
|
78
|
+
"package": "@fluentui/react-tabster",
|
79
|
+
"commit": "989c43132491b61ed7c6da70100ca4f9aac8173a",
|
80
|
+
"comment": "Fix version mismatches"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"author": "olfedias@microsoft.com",
|
84
|
+
"package": "@fluentui/react-tabster",
|
85
|
+
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
|
86
|
+
"comment": "remove inline-style-expand-shorthand from tsconfigs"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"prerelease": [
|
90
|
+
{
|
91
|
+
"author": "lingfangao@hotmail.com",
|
92
|
+
"package": "@fluentui/react-tabster",
|
93
|
+
"commit": "95a6a32cbffa9d86d6017cf8e0204d4b459ef370",
|
94
|
+
"comment": "feat: Support `options` for `findNextFocusable` and `findPrevFocusable` focus finders"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"author": "lingfangao@hotmail.com",
|
98
|
+
"package": "@fluentui/react-tabster",
|
99
|
+
"commit": "f4274932701c7210e191a2982c2d2410f8657fe6",
|
100
|
+
"comment": "chore: Bump tabster and keyborg versions"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"author": "olfedias@microsoft.com",
|
104
|
+
"package": "@fluentui/react-tabster",
|
105
|
+
"commit": "ebc62b16de199691794df12080d89b77979d1131",
|
106
|
+
"comment": "use Griffel packages"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"author": "lingfangao@hotmail.com",
|
110
|
+
"package": "@fluentui/react-tabster",
|
111
|
+
"commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
|
112
|
+
"comment": "Bump Fluent UI packages to 9.0.0-rc"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"author": "olfedias@microsoft.com",
|
116
|
+
"package": "@fluentui/react-tabster",
|
117
|
+
"commit": "a76afe26daad901ff5458ffdda7e66e600d5bcac",
|
118
|
+
"comment": "use new types from makeStyles core"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
122
|
+
"package": "@fluentui/react-tabster",
|
123
|
+
"commit": "38c8bed2c707014688ae2ae689033fa36ef23075",
|
124
|
+
"comment": "react-tabster: Replacing use of functions in makeStyles with direct use of tokens."
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"author": "lingfangao@hotmail.com",
|
128
|
+
"package": "@fluentui/react-tabster",
|
129
|
+
"commit": "ff9ad1d4fe5682173c497f6ddf0ee1d7bddd6800",
|
130
|
+
"comment": "chore: bump tabster to 1.1.1 - removes IE11 support"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"author": "olfedias@microsoft.com",
|
134
|
+
"package": "@fluentui/react-tabster",
|
135
|
+
"commit": "967d6b74cf0507685a24e0cfaa8c7b9d52a351e1",
|
136
|
+
"comment": "update styles to not use CSS shorthands"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"author": "beachball",
|
140
|
+
"package": "@fluentui/react-tabster",
|
141
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.1",
|
142
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"author": "beachball",
|
146
|
+
"package": "@fluentui/react-tabster",
|
147
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1",
|
148
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
149
|
+
}
|
150
|
+
]
|
151
|
+
}
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"date": "Thu, 25 Nov 2021 08:34:17 GMT",
|
155
|
+
"tag": "@fluentui/react-tabster_v9.0.0-beta.5",
|
156
|
+
"version": "9.0.0-beta.5",
|
157
|
+
"comments": {
|
158
|
+
"prerelease": [
|
159
|
+
{
|
160
|
+
"author": "beachball",
|
161
|
+
"package": "@fluentui/react-tabster",
|
162
|
+
"comment": "Bump @fluentui/make-styles to v9.0.0-beta.3",
|
163
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"author": "beachball",
|
167
|
+
"package": "@fluentui/react-tabster",
|
168
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
169
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"author": "beachball",
|
173
|
+
"package": "@fluentui/react-tabster",
|
174
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
|
175
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"author": "beachball",
|
179
|
+
"package": "@fluentui/react-tabster",
|
180
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
181
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
182
|
+
}
|
183
|
+
]
|
184
|
+
}
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"date": "Fri, 12 Nov 2021 13:25:07 GMT",
|
188
|
+
"tag": "@fluentui/react-tabster_v9.0.0-beta.4",
|
189
|
+
"version": "9.0.0-beta.4",
|
190
|
+
"comments": {
|
191
|
+
"prerelease": [
|
192
|
+
{
|
193
|
+
"author": "andredias@microsoft.com",
|
194
|
+
"package": "@fluentui/react-tabster",
|
195
|
+
"commit": "bdd19e2bb827fc1d8eb329e6ed48cd0542048358",
|
196
|
+
"comment": "Add useFocusableGroup hook"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"author": "lingfangao@hotmail.com",
|
200
|
+
"package": "@fluentui/react-tabster",
|
201
|
+
"commit": "ed2d7c8d638535c89e24e3c3de3534c4fae30172",
|
202
|
+
"comment": "Use uncontrolled tabbing by default"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"author": "gcox@microsoft.com",
|
206
|
+
"package": "@fluentui/react-tabster",
|
207
|
+
"commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586",
|
208
|
+
"comment": "Updated beta and RC components to ES2019"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"author": "lingfangao@hotmail.com",
|
212
|
+
"package": "@fluentui/react-tabster",
|
213
|
+
"commit": "da10ba8b6cca0c4cf921dc176bb9b7ea57fde9fa",
|
214
|
+
"comment": "Bump tabster and keyborg to 1.0.7"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"author": "beachball",
|
218
|
+
"package": "@fluentui/react-tabster",
|
219
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
|
220
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"author": "beachball",
|
224
|
+
"package": "@fluentui/react-tabster",
|
225
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
|
226
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"author": "beachball",
|
230
|
+
"package": "@fluentui/react-tabster",
|
231
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
|
232
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
233
|
+
}
|
234
|
+
],
|
235
|
+
"none": [
|
236
|
+
{
|
237
|
+
"author": "lingfangao@hotmail.com",
|
238
|
+
"package": "@fluentui/react-tabster",
|
239
|
+
"commit": "00f70581480b536e723fb69edf0ae617beac4807",
|
240
|
+
"comment": "Remove beta release tag"
|
241
|
+
}
|
242
|
+
]
|
243
|
+
}
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"date": "Wed, 27 Oct 2021 12:14:22 GMT",
|
247
|
+
"tag": "@fluentui/react-tabster_v9.0.0-beta.3",
|
248
|
+
"version": "9.0.0-beta.3",
|
249
|
+
"comments": {
|
250
|
+
"prerelease": [
|
251
|
+
{
|
252
|
+
"author": "peter@draxler.ml",
|
253
|
+
"package": "@fluentui/react-tabster",
|
254
|
+
"commit": "f6db7c8d6b7db0902775e7857b62b745be35b59a",
|
255
|
+
"comment": "added styling of documentation"
|
15
256
|
},
|
16
257
|
{
|
17
258
|
"author": "beachball",
|
18
259
|
"package": "@fluentui/react-tabster",
|
19
|
-
"comment": "Bump @fluentui/make-styles to v9.0.0-
|
20
|
-
"commit": "
|
260
|
+
"comment": "Bump @fluentui/make-styles to v9.0.0-beta.2",
|
261
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
21
262
|
},
|
22
263
|
{
|
23
264
|
"author": "beachball",
|
24
265
|
"package": "@fluentui/react-tabster",
|
25
|
-
"comment": "Bump @fluentui/react-make-styles to v9.0.0-
|
26
|
-
"commit": "
|
266
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.2",
|
267
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
27
268
|
},
|
28
269
|
{
|
29
270
|
"author": "beachball",
|
30
271
|
"package": "@fluentui/react-tabster",
|
31
|
-
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-
|
32
|
-
"commit": "
|
272
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.2",
|
273
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
33
274
|
},
|
34
275
|
{
|
35
276
|
"author": "beachball",
|
36
277
|
"package": "@fluentui/react-tabster",
|
37
|
-
"comment": "Bump @fluentui/react-utilities to v9.0.0-
|
38
|
-
"commit": "
|
278
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.2",
|
279
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
39
280
|
}
|
40
281
|
]
|
41
282
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,21 +1,87 @@
|
|
1
1
|
# Change Log - @fluentui/react-tabster
|
2
2
|
|
3
|
-
This log was last generated on Tue,
|
3
|
+
This log was last generated on Tue, 01 Mar 2022 02:16:13 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [9.0.0-
|
7
|
+
## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-tabster_v9.0.0-rc.4)
|
8
8
|
|
9
|
-
Tue,
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tabster_v9.0.0-
|
9
|
+
Tue, 01 Mar 2022 02:16:13 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tabster_v9.0.0-rc.3..@fluentui/react-tabster_v9.0.0-rc.4)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
|
-
-
|
15
|
-
- Bump @fluentui/
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
- fix: Add react-theme as dependency ([PR #21825](https://github.com/microsoft/fluentui/pull/21825) by olfedias@microsoft.com)
|
15
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.4 ([PR #21884](https://github.com/microsoft/fluentui/pull/21884) by beachball)
|
16
|
+
|
17
|
+
## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-tabster_v9.0.0-rc.3)
|
18
|
+
|
19
|
+
Fri, 18 Feb 2022 13:35:35 GMT
|
20
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tabster_v9.0.0-rc.1..@fluentui/react-tabster_v9.0.0-rc.3)
|
21
|
+
|
22
|
+
### Changes
|
23
|
+
|
24
|
+
- fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
|
25
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
26
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
27
|
+
|
28
|
+
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-tabster_v9.0.0-rc.1)
|
29
|
+
|
30
|
+
Thu, 10 Feb 2022 08:50:55 GMT
|
31
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tabster_v9.0.0-beta.5..@fluentui/react-tabster_v9.0.0-rc.1)
|
32
|
+
|
33
|
+
### Changes
|
34
|
+
|
35
|
+
- feat: Support `options` for `findNextFocusable` and `findPrevFocusable` focus finders ([PR #21095](https://github.com/microsoft/fluentui/pull/21095) by lingfangao@hotmail.com)
|
36
|
+
- chore: Bump tabster and keyborg versions ([PR #20889](https://github.com/microsoft/fluentui/pull/20889) by lingfangao@hotmail.com)
|
37
|
+
- use Griffel packages ([PR #21419](https://github.com/microsoft/fluentui/pull/21419) by olfedias@microsoft.com)
|
38
|
+
- Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
|
39
|
+
- use new types from makeStyles core ([PR #20786](https://github.com/microsoft/fluentui/pull/20786) by olfedias@microsoft.com)
|
40
|
+
- react-tabster: Replacing use of functions in makeStyles with direct use of tokens. ([PR #21035](https://github.com/microsoft/fluentui/pull/21035) by Humberto.Morimoto@microsoft.com)
|
41
|
+
- chore: bump tabster to 1.1.1 - removes IE11 support ([PR #21319](https://github.com/microsoft/fluentui/pull/21319) by lingfangao@hotmail.com)
|
42
|
+
- update styles to not use CSS shorthands ([PR #20842](https://github.com/microsoft/fluentui/pull/20842) by olfedias@microsoft.com)
|
43
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
44
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
45
|
+
|
46
|
+
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-tabster_v9.0.0-beta.5)
|
47
|
+
|
48
|
+
Thu, 25 Nov 2021 08:34:17 GMT
|
49
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tabster_v9.0.0-beta.4..@fluentui/react-tabster_v9.0.0-beta.5)
|
50
|
+
|
51
|
+
### Changes
|
52
|
+
|
53
|
+
- Bump @fluentui/make-styles to v9.0.0-beta.3 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
54
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
55
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
56
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
57
|
+
|
58
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-tabster_v9.0.0-beta.4)
|
59
|
+
|
60
|
+
Fri, 12 Nov 2021 13:25:07 GMT
|
61
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tabster_v9.0.0-beta.3..@fluentui/react-tabster_v9.0.0-beta.4)
|
62
|
+
|
63
|
+
### Changes
|
64
|
+
|
65
|
+
- Add useFocusableGroup hook ([PR #20132](https://github.com/microsoft/fluentui/pull/20132) by andredias@microsoft.com)
|
66
|
+
- Use uncontrolled tabbing by default ([PR #20571](https://github.com/microsoft/fluentui/pull/20571) by lingfangao@hotmail.com)
|
67
|
+
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
|
68
|
+
- Bump tabster and keyborg to 1.0.7 ([PR #20593](https://github.com/microsoft/fluentui/pull/20593) by lingfangao@hotmail.com)
|
69
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
70
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
71
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
72
|
+
|
73
|
+
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-tabster_v9.0.0-beta.3)
|
74
|
+
|
75
|
+
Wed, 27 Oct 2021 12:14:22 GMT
|
76
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tabster_v9.0.0-beta.2..@fluentui/react-tabster_v9.0.0-beta.3)
|
77
|
+
|
78
|
+
### Changes
|
79
|
+
|
80
|
+
- added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
|
81
|
+
- Bump @fluentui/make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
82
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
83
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
84
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
19
85
|
|
20
86
|
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-tabster_v9.0.0-beta.2)
|
21
87
|
|
package/dist/react-tabster.d.ts
CHANGED
@@ -1,16 +1,14 @@
|
|
1
|
-
import type {
|
2
|
-
import type { MakeStylesStyleRule } from '@fluentui/make-styles';
|
1
|
+
import type { GriffelStyle } from '@griffel/react';
|
3
2
|
import type { RefObject } from 'react';
|
4
|
-
import type { Theme } from '@fluentui/react-theme';
|
5
3
|
import { Types } from 'tabster';
|
6
4
|
|
7
5
|
/**
|
8
|
-
* Creates a style
|
6
|
+
* Creates a style for @see makeStyles that includes the necessary selectors for focus.
|
9
7
|
* Should be used only when @see createFocusOutlineStyle does not fit requirements
|
10
8
|
*
|
11
|
-
* @param
|
9
|
+
* @param style - styling applied on focus, defaults to @see getDefaultFocusOutlineStyes
|
12
10
|
*/
|
13
|
-
export declare const createCustomFocusIndicatorStyle: (
|
11
|
+
export declare const createCustomFocusIndicatorStyle: (style: GriffelStyle, options?: CreateFocusIndicatorStyleRuleOptions) => GriffelStyle;
|
14
12
|
|
15
13
|
export declare interface CreateFocusIndicatorStyleRuleOptions {
|
16
14
|
selector?: 'focus' | 'focus-within';
|
@@ -24,24 +22,9 @@ export declare interface CreateFocusIndicatorStyleRuleOptions {
|
|
24
22
|
* @param options - Configure the style of the focus outline
|
25
23
|
* @returns focus outline styles object for @see makeStyles
|
26
24
|
*/
|
27
|
-
export declare const createFocusOutlineStyle: (
|
25
|
+
export declare const createFocusOutlineStyle: (options?: {
|
28
26
|
style: Partial<FocusOutlineStyleOptions>;
|
29
|
-
} & CreateFocusIndicatorStyleRuleOptions) =>
|
30
|
-
|
31
|
-
export declare enum FocusableGroupTabBehavior {
|
32
|
-
/**
|
33
|
-
* Tab will cycle into and out of the groupper content.
|
34
|
-
*/
|
35
|
-
Unlimited,
|
36
|
-
/**
|
37
|
-
* Tab will cycle out of the container, but not into it.
|
38
|
-
*/
|
39
|
-
Limited,
|
40
|
-
/**
|
41
|
-
* Tab only cycles the inner elements.
|
42
|
-
*/
|
43
|
-
LimitedTrapFocus
|
44
|
-
}
|
27
|
+
} & CreateFocusIndicatorStyleRuleOptions) => GriffelStyle;
|
45
28
|
|
46
29
|
export declare type FocusOutlineOffset = Record<'top' | 'bottom' | 'left' | 'right', string>;
|
47
30
|
|
@@ -87,9 +70,9 @@ export declare const useFocusableGroup: (options?: UseFocusableGroupOptions | un
|
|
87
70
|
|
88
71
|
export declare interface UseFocusableGroupOptions {
|
89
72
|
/**
|
90
|
-
*
|
73
|
+
* Behavior for the Tab key.
|
91
74
|
*/
|
92
|
-
tabBehavior?:
|
75
|
+
tabBehavior?: 'unlimited' | 'limited' | 'limitedTrapFocus';
|
93
76
|
}
|
94
77
|
|
95
78
|
/**
|
@@ -99,8 +82,8 @@ export declare const useFocusFinders: () => {
|
|
99
82
|
findAllFocusable: (container: HTMLElement, acceptCondition: (el: HTMLElement) => boolean) => HTMLElement[];
|
100
83
|
findFirstFocusable: (container: HTMLElement) => HTMLElement | null | undefined;
|
101
84
|
findLastFocusable: (container: HTMLElement) => HTMLElement | null | undefined;
|
102
|
-
findNextFocusable: (currentElement: HTMLElement) => HTMLElement | null | undefined;
|
103
|
-
findPrevFocusable: (currentElement: HTMLElement) => HTMLElement | null | undefined;
|
85
|
+
findNextFocusable: (currentElement: HTMLElement, options?: Pick<Types.FindNextProps, 'container'>) => HTMLElement | null | undefined;
|
86
|
+
findPrevFocusable: (currentElement: HTMLElement, options?: Pick<Types.FindNextProps, 'container'>) => HTMLElement | null | undefined;
|
104
87
|
};
|
105
88
|
|
106
89
|
/**
|
package/lib/hooks/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC","sourcesContent":["export * from './useArrowNavigationGroup';\nexport * from './useFocusFinders';\nexport * from './useModalAttributes';\nexport * from './useTabsterAttributes';\nexport * from './useFocusIndicatorStyle';\nexport * from './useKeyboardNavAttribute';\nexport * from './useFocusableGroup';\n"]}
|
@@ -6,10 +6,10 @@ import { useTabster } from './useTabster';
|
|
6
6
|
* @param options - Options to configure keyboard navigation
|
7
7
|
*/
|
8
8
|
|
9
|
-
export
|
9
|
+
export const useArrowNavigationGroup = options => {
|
10
10
|
var _a;
|
11
11
|
|
12
|
-
|
12
|
+
const tabster = useTabster();
|
13
13
|
|
14
14
|
if (tabster) {
|
15
15
|
getMover(tabster);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"sources":["hooks/useArrowNavigationGroup.ts"],"names":[],"mappings":"AAAA,SAAS,KAAT,EAAgB,QAAhB,QAAgC,SAAhC;AACA,SAAS,oBAAT,QAAqC,wBAArC;AACA,SAAS,UAAT,QAA2B,cAA3B;AAmBA;;;AAGG;;AACH,OAAO,MAAM,uBAAuB,GAAI,OAAD,IAA6C;;;AAClF,QAAM,OAAO,GAAG,UAAU,EAA1B;;AAEA,MAAI,OAAJ,EAAa;AACX,IAAA,QAAQ,CAAC,OAAD,CAAR;AACD;;AAED,SAAO,oBAAoB,CAAC;AAC1B,IAAA,KAAK,EAAE;AACL,MAAA,MAAM,EAAE,CAAC,EAAC,OAAO,KAAA,IAAP,IAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAA,OAAO,CAAE,QAAV,CADJ;AAEL,MAAA,SAAS,EAAE,oBAAoB,CAAC,CAAA,EAAA,GAAA,OAAO,KAAA,IAAP,IAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAA,OAAO,CAAE,IAAT,MAAa,IAAb,IAAa,EAAA,KAAA,KAAA,CAAb,GAAa,EAAb,GAAiB,UAAlB,CAF1B;AAGL,MAAA,eAAe,EAAE,OAAO,KAAA,IAAP,IAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAA,OAAO,CAAE;AAHrB;AADmB,GAAD,CAA3B;AAOD,CAdM;;AAgBP,SAAS,oBAAT,CAA8B,IAA9B,EAA0E;AACxE,UAAQ,IAAR;AACE,SAAK,YAAL;AACE,aAAO,KAAK,CAAC,eAAN,CAAsB,UAA7B;;AAEF,SAAK,UAAL;AACA;AACE,aAAO,KAAK,CAAC,eAAN,CAAsB,QAA7B;AANJ;AAQD","sourcesContent":["import { Types, getMover } from 'tabster';\nimport { useTabsterAttributes } from './useTabsterAttributes';\nimport { useTabster } from './useTabster';\n\nexport interface UseArrowNavigationGroupOptions {\n /**\n * Focus will navigate vertically or horizontally, defaults to horizontally\n * @defaultValue vertical\n */\n axis?: 'vertical' | 'horizontal';\n /**\n * Focus will cycle to the first/last elements of the group without stopping\n */\n circular?: boolean;\n /**\n * Last focused element in the group will be remembered and focused (if still\n * available) when tabbing from outside of the group\n */\n memorizeCurrent?: boolean;\n}\n\n/**\n * A hook that returns the necessary tabster attributes to support arrow key navigation\n * @param options - Options to configure keyboard navigation\n */\nexport const useArrowNavigationGroup = (options?: UseArrowNavigationGroupOptions) => {\n const tabster = useTabster();\n\n if (tabster) {\n getMover(tabster);\n }\n\n return useTabsterAttributes({\n mover: {\n cyclic: !!options?.circular,\n direction: axisToMoverDirection(options?.axis ?? 'vertical'),\n memorizeCurrent: options?.memorizeCurrent,\n },\n });\n};\n\nfunction axisToMoverDirection(axis: UseArrowNavigationGroupOptions['axis']): Types.MoverDirection {\n switch (axis) {\n case 'horizontal':\n return Types.MoverDirections.Horizontal;\n\n case 'vertical':\n default:\n return Types.MoverDirections.Vertical;\n }\n}\n"],"sourceRoot":"../src/"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { Types as TabsterTypes } from 'tabster';
|
1
2
|
/**
|
2
3
|
* Returns a set of helper functions that will traverse focusable elements in the context of a root DOM element
|
3
4
|
*/
|
@@ -5,6 +6,6 @@ export declare const useFocusFinders: () => {
|
|
5
6
|
findAllFocusable: (container: HTMLElement, acceptCondition: (el: HTMLElement) => boolean) => HTMLElement[];
|
6
7
|
findFirstFocusable: (container: HTMLElement) => HTMLElement | null | undefined;
|
7
8
|
findLastFocusable: (container: HTMLElement) => HTMLElement | null | undefined;
|
8
|
-
findNextFocusable: (currentElement: HTMLElement) => HTMLElement | null | undefined;
|
9
|
-
findPrevFocusable: (currentElement: HTMLElement) => HTMLElement | null | undefined;
|
9
|
+
findNextFocusable: (currentElement: HTMLElement, options?: Pick<TabsterTypes.FindNextProps, 'container'>) => HTMLElement | null | undefined;
|
10
|
+
findPrevFocusable: (currentElement: HTMLElement, options?: Pick<TabsterTypes.FindNextProps, 'container'>) => HTMLElement | null | undefined;
|
10
11
|
};
|
@@ -4,41 +4,33 @@ import { useTabster } from './useTabster';
|
|
4
4
|
* Returns a set of helper functions that will traverse focusable elements in the context of a root DOM element
|
5
5
|
*/
|
6
6
|
|
7
|
-
export
|
8
|
-
|
7
|
+
export const useFocusFinders = () => {
|
8
|
+
const tabster = useTabster(); // Narrow props for now and let need dictate additional props in the future
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
currentElement: currentElement
|
29
|
-
});
|
30
|
-
}, [tabster]);
|
31
|
-
var findPrevFocusable = React.useCallback(function (currentElement) {
|
32
|
-
return tabster === null || tabster === void 0 ? void 0 : tabster.focusable.findPrev({
|
33
|
-
currentElement: currentElement
|
34
|
-
});
|
35
|
-
}, [tabster]);
|
10
|
+
const findAllFocusable = React.useCallback((container, acceptCondition) => (tabster === null || tabster === void 0 ? void 0 : tabster.focusable.findAll({
|
11
|
+
container,
|
12
|
+
acceptCondition
|
13
|
+
})) || [], [tabster]);
|
14
|
+
const findFirstFocusable = React.useCallback(container => tabster === null || tabster === void 0 ? void 0 : tabster.focusable.findFirst({
|
15
|
+
container
|
16
|
+
}), [tabster]);
|
17
|
+
const findLastFocusable = React.useCallback(container => tabster === null || tabster === void 0 ? void 0 : tabster.focusable.findLast({
|
18
|
+
container
|
19
|
+
}), [tabster]);
|
20
|
+
const findNextFocusable = React.useCallback((currentElement, options = {}) => tabster === null || tabster === void 0 ? void 0 : tabster.focusable.findNext({
|
21
|
+
currentElement,
|
22
|
+
...options
|
23
|
+
}), [tabster]);
|
24
|
+
const findPrevFocusable = React.useCallback((currentElement, options = {}) => tabster === null || tabster === void 0 ? void 0 : tabster.focusable.findPrev({
|
25
|
+
currentElement,
|
26
|
+
...options
|
27
|
+
}), [tabster]);
|
36
28
|
return {
|
37
|
-
findAllFocusable
|
38
|
-
findFirstFocusable
|
39
|
-
findLastFocusable
|
40
|
-
findNextFocusable
|
41
|
-
findPrevFocusable
|
29
|
+
findAllFocusable,
|
30
|
+
findFirstFocusable,
|
31
|
+
findLastFocusable,
|
32
|
+
findNextFocusable,
|
33
|
+
findPrevFocusable
|
42
34
|
};
|
43
35
|
};
|
44
36
|
//# sourceMappingURL=useFocusFinders.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"sources":["hooks/useFocusFinders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAEA,SAAS,UAAT,QAA2B,cAA3B;AAEA;;AAEG;;AACH,OAAO,MAAM,eAAe,GAAG,MAAK;AAClC,QAAM,OAAO,GAAG,UAAU,EAA1B,CADkC,CAGlC;;AACA,QAAM,gBAAgB,GAAG,KAAK,CAAC,WAAN,CACvB,CAAC,SAAD,EAAyB,eAAzB,KACE,CAAA,OAAO,KAAA,IAAP,IAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAA,OAAO,CAAE,SAAT,CAAmB,OAAnB,CAA2B;AAAE,IAAA,SAAF;AAAa,IAAA;AAAb,GAA3B,CAAA,KAA8D,EAFzC,EAGvB,CAAC,OAAD,CAHuB,CAAzB;AAMA,QAAM,kBAAkB,GAAG,KAAK,CAAC,WAAN,CACxB,SAAD,IAA4B,OAAO,KAAA,IAAP,IAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAA,OAAO,CAAE,SAAT,CAAmB,SAAnB,CAA6B;AAAE,IAAA;AAAF,GAA7B,CADH,EAEzB,CAAC,OAAD,CAFyB,CAA3B;AAKA,QAAM,iBAAiB,GAAG,KAAK,CAAC,WAAN,CAAmB,SAAD,IAA4B,OAAO,KAAA,IAAP,IAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAA,OAAO,CAAE,SAAT,CAAmB,QAAnB,CAA4B;AAAE,IAAA;AAAF,GAA5B,CAA9C,EAA0F,CAClH,OADkH,CAA1F,CAA1B;AAIA,QAAM,iBAAiB,GAAG,KAAK,CAAC,WAAN,CACxB,CAAC,cAAD,EAA8B,OAAA,GAAyD,EAAvF,KACE,OAAO,KAAA,IAAP,IAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAA,OAAO,CAAE,SAAT,CAAmB,QAAnB,CAA4B;AAAE,IAAA,cAAF;AAAkB,OAAG;AAArB,GAA5B,CAFsB,EAGxB,CAAC,OAAD,CAHwB,CAA1B;AAMA,QAAM,iBAAiB,GAAG,KAAK,CAAC,WAAN,CACxB,CAAC,cAAD,EAA8B,OAAA,GAAyD,EAAvF,KACE,OAAO,KAAA,IAAP,IAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAA,OAAO,CAAE,SAAT,CAAmB,QAAnB,CAA4B;AAAE,IAAA,cAAF;AAAkB,OAAG;AAArB,GAA5B,CAFsB,EAGxB,CAAC,OAAD,CAHwB,CAA1B;AAMA,SAAO;AACL,IAAA,gBADK;AAEL,IAAA,kBAFK;AAGL,IAAA,iBAHK;AAIL,IAAA,iBAJK;AAKL,IAAA;AALK,GAAP;AAOD,CAtCM","sourcesContent":["import * as React from 'react';\nimport { Types as TabsterTypes } from 'tabster';\nimport { useTabster } from './useTabster';\n\n/**\n * Returns a set of helper functions that will traverse focusable elements in the context of a root DOM element\n */\nexport const useFocusFinders = () => {\n const tabster = useTabster();\n\n // Narrow props for now and let need dictate additional props in the future\n const findAllFocusable = React.useCallback(\n (container: HTMLElement, acceptCondition: (el: HTMLElement) => boolean) =>\n tabster?.focusable.findAll({ container, acceptCondition }) || [],\n [tabster],\n );\n\n const findFirstFocusable = React.useCallback(\n (container: HTMLElement) => tabster?.focusable.findFirst({ container }),\n [tabster],\n );\n\n const findLastFocusable = React.useCallback((container: HTMLElement) => tabster?.focusable.findLast({ container }), [\n tabster,\n ]);\n\n const findNextFocusable = React.useCallback(\n (currentElement: HTMLElement, options: Pick<TabsterTypes.FindNextProps, 'container'> = {}) =>\n tabster?.focusable.findNext({ currentElement, ...options }),\n [tabster],\n );\n\n const findPrevFocusable = React.useCallback(\n (currentElement: HTMLElement, options: Pick<TabsterTypes.FindNextProps, 'container'> = {}) =>\n tabster?.focusable.findPrev({ currentElement, ...options }),\n [tabster],\n );\n\n return {\n findAllFocusable,\n findFirstFocusable,\n findLastFocusable,\n findNextFocusable,\n findPrevFocusable,\n };\n};\n"],"sourceRoot":"../src/"}
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import type {
|
2
|
-
import type { MakeStyles, MakeStylesStyleRule } from '@fluentui/make-styles';
|
1
|
+
import type { GriffelStyle } from '@griffel/react';
|
3
2
|
export declare type FocusOutlineOffset = Record<'top' | 'bottom' | 'left' | 'right', string>;
|
4
3
|
export declare type FocusOutlineStyleOptions = {
|
5
4
|
/**
|
@@ -22,13 +21,13 @@ export interface CreateFocusIndicatorStyleRuleOptions {
|
|
22
21
|
* @param options - Configure the style of the focus outline
|
23
22
|
* @returns focus outline styles object for @see makeStyles
|
24
23
|
*/
|
25
|
-
export declare const createFocusOutlineStyle: (
|
24
|
+
export declare const createFocusOutlineStyle: (options?: {
|
26
25
|
style: Partial<FocusOutlineStyleOptions>;
|
27
|
-
} & CreateFocusIndicatorStyleRuleOptions) =>
|
26
|
+
} & CreateFocusIndicatorStyleRuleOptions) => GriffelStyle;
|
28
27
|
/**
|
29
|
-
* Creates a style
|
28
|
+
* Creates a style for @see makeStyles that includes the necessary selectors for focus.
|
30
29
|
* Should be used only when @see createFocusOutlineStyle does not fit requirements
|
31
30
|
*
|
32
|
-
* @param
|
31
|
+
* @param style - styling applied on focus, defaults to @see getDefaultFocusOutlineStyes
|
33
32
|
*/
|
34
|
-
export declare const createCustomFocusIndicatorStyle: (
|
33
|
+
export declare const createCustomFocusIndicatorStyle: (style: GriffelStyle, options?: CreateFocusIndicatorStyleRuleOptions) => GriffelStyle;
|