@fluentui/react-link 9.0.0-nightly.f81b28ceb3.1 → 9.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/CHANGELOG.json +257 -20
  2. package/CHANGELOG.md +64 -12
  3. package/dist/react-link.d.ts +11 -9
  4. package/lib/components/Link/Link.js +7 -7
  5. package/lib/components/Link/Link.js.map +1 -1
  6. package/lib/components/Link/Link.types.d.ts +4 -3
  7. package/lib/components/Link/renderLink.d.ts +1 -1
  8. package/lib/components/Link/renderLink.js +7 -7
  9. package/lib/components/Link/renderLink.js.map +1 -1
  10. package/lib/components/Link/useLink.d.ts +2 -2
  11. package/lib/components/Link/useLink.js +21 -20
  12. package/lib/components/Link/useLink.js.map +1 -1
  13. package/lib/components/Link/useLinkState.d.ts +2 -2
  14. package/lib/components/Link/useLinkState.js +14 -11
  15. package/lib/components/Link/useLinkState.js.map +1 -1
  16. package/lib/components/Link/useLinkStyles.d.ts +2 -1
  17. package/lib/components/Link/useLinkStyles.js +13 -10
  18. package/lib/components/Link/useLinkStyles.js.map +1 -1
  19. package/lib-commonjs/Link.js +1 -1
  20. package/lib-commonjs/components/Link/Link.js +8 -8
  21. package/lib-commonjs/components/Link/Link.js.map +1 -1
  22. package/lib-commonjs/components/Link/Link.types.d.ts +4 -3
  23. package/lib-commonjs/components/Link/index.js +1 -1
  24. package/lib-commonjs/components/Link/renderLink.d.ts +1 -1
  25. package/lib-commonjs/components/Link/renderLink.js +11 -12
  26. package/lib-commonjs/components/Link/renderLink.js.map +1 -1
  27. package/lib-commonjs/components/Link/useLink.d.ts +2 -2
  28. package/lib-commonjs/components/Link/useLink.js +24 -24
  29. package/lib-commonjs/components/Link/useLink.js.map +1 -1
  30. package/lib-commonjs/components/Link/useLinkState.d.ts +2 -2
  31. package/lib-commonjs/components/Link/useLinkState.js +17 -14
  32. package/lib-commonjs/components/Link/useLinkState.js.map +1 -1
  33. package/lib-commonjs/components/Link/useLinkStyles.d.ts +2 -1
  34. package/lib-commonjs/components/Link/useLinkStyles.js +18 -13
  35. package/lib-commonjs/components/Link/useLinkStyles.js.map +1 -1
  36. package/lib-commonjs/index.js +1 -1
  37. package/package.json +10 -12
  38. package/lib/common/isConformant.d.ts +0 -4
  39. package/lib/common/isConformant.js +0 -14
  40. package/lib/common/isConformant.js.map +0 -1
  41. package/lib-commonjs/common/isConformant.d.ts +0 -4
  42. package/lib-commonjs/common/isConformant.js +0 -25
  43. package/lib-commonjs/common/isConformant.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,58 +2,295 @@
2
2
  "name": "@fluentui/react-link",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 19 Oct 2021 12:39:14 GMT",
6
- "tag": "@fluentui/react-link_v9.0.0-nightly.f81b28ceb3.1",
7
- "version": "9.0.0-nightly.f81b28ceb3.1",
5
+ "date": "Thu, 10 Feb 2022 08:44:39 GMT",
6
+ "tag": "@fluentui/react-link_v9.0.0-rc.1",
7
+ "version": "9.0.0-rc.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
- "author": "email not defined",
11
+ "author": "Humberto.Morimoto@microsoft.com",
12
+ "package": "@fluentui/react-link",
13
+ "commit": "00a5d945904c896a0664de6ba72c145a255f0848",
14
+ "comment": "Updating use of tokens.fontWeight now that we don't need to use casting."
15
+ },
16
+ {
17
+ "author": "behowell@microsoft.com",
18
+ "package": "@fluentui/react-link",
19
+ "commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
20
+ "comment": "Remove component's shorthandProps array"
21
+ },
22
+ {
23
+ "author": "mgodbolt@microsoft.com",
24
+ "package": "@fluentui/react-link",
25
+ "commit": "839ec14849e112b85aa321d034739ec421199141",
26
+ "comment": "remove export of commons types"
27
+ },
28
+ {
29
+ "author": "behowell@microsoft.com",
30
+ "package": "@fluentui/react-link",
31
+ "commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3",
32
+ "comment": "Refactor component Slot typings"
33
+ },
34
+ {
35
+ "author": "lingfangao@hotmail.com",
36
+ "package": "@fluentui/react-link",
37
+ "commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
38
+ "comment": "Bump Fluent UI packages to 9.0.0-rc"
39
+ },
40
+ {
41
+ "author": "Humberto.Morimoto@microsoft.com",
42
+ "package": "@fluentui/react-link",
43
+ "commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
44
+ "comment": "Updating based on changes to composition types."
45
+ },
46
+ {
47
+ "author": "olfedias@microsoft.com",
48
+ "package": "@fluentui/react-link",
49
+ "commit": "c85787719dfe8fabd2c60b3068012fed77f5d656",
50
+ "comment": "update styles to not use CSS shorthands"
51
+ },
52
+ {
53
+ "author": "behowell@microsoft.com",
54
+ "package": "@fluentui/react-link",
55
+ "commit": "317209bb5cd57c40f35bc42060acb7e3cce5ec95",
56
+ "comment": "BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet"
57
+ },
58
+ {
59
+ "author": "olfedias@microsoft.com",
60
+ "package": "@fluentui/react-link",
61
+ "commit": "c6b5aab92807f3f8c379330dc53001f5a3e9e568",
62
+ "comment": "use Griffel packages"
63
+ },
64
+ {
65
+ "author": "Humberto.Morimoto@microsoft.com",
66
+ "package": "@fluentui/react-link",
67
+ "commit": "e92670a22c5f796fa1e12051f756d9207d22d701",
68
+ "comment": "react-link: Replacing use of functions in makeStyles with direct use of tokens."
69
+ },
70
+ {
71
+ "author": "beachball",
72
+ "package": "@fluentui/react-link",
73
+ "comment": "Bump @fluentui/keyboard-keys to v9.0.0-rc.1",
74
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
75
+ },
76
+ {
77
+ "author": "beachball",
78
+ "package": "@fluentui/react-link",
79
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.1",
80
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
81
+ },
82
+ {
83
+ "author": "beachball",
84
+ "package": "@fluentui/react-link",
85
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1",
86
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
87
+ },
88
+ {
89
+ "author": "beachball",
90
+ "package": "@fluentui/react-link",
91
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1",
92
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
93
+ }
94
+ ],
95
+ "none": [
96
+ {
97
+ "author": "andredias@microsoft.com",
98
+ "package": "@fluentui/react-link",
99
+ "commit": "75a728d6aa3d4a7182e25ea078008788595f2868",
100
+ "comment": "Migrate package to use solution tsconfigs"
101
+ },
102
+ {
103
+ "author": "martinhochel@microsoft.com",
104
+ "package": "@fluentui/react-link",
105
+ "commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
106
+ "comment": "chore: use storybook runner for all vNext packages"
107
+ },
108
+ {
109
+ "author": "olfedias@microsoft.com",
110
+ "package": "@fluentui/react-link",
111
+ "commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
112
+ "comment": "remove inline-style-expand-shorthand from tsconfigs"
113
+ }
114
+ ]
115
+ }
116
+ },
117
+ {
118
+ "date": "Thu, 25 Nov 2021 08:34:17 GMT",
119
+ "tag": "@fluentui/react-link_v9.0.0-beta.5",
120
+ "version": "9.0.0-beta.5",
121
+ "comments": {
122
+ "prerelease": [
123
+ {
124
+ "author": "beachball",
125
+ "package": "@fluentui/react-link",
126
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
127
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
128
+ },
129
+ {
130
+ "author": "beachball",
131
+ "package": "@fluentui/react-link",
132
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
133
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
134
+ },
135
+ {
136
+ "author": "beachball",
137
+ "package": "@fluentui/react-link",
138
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
139
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
140
+ },
141
+ {
142
+ "author": "beachball",
143
+ "package": "@fluentui/react-link",
144
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
145
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
146
+ },
147
+ {
148
+ "author": "beachball",
149
+ "package": "@fluentui/react-link",
150
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
151
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
152
+ },
153
+ {
154
+ "author": "beachball",
155
+ "package": "@fluentui/react-link",
156
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
157
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
158
+ }
159
+ ]
160
+ }
161
+ },
162
+ {
163
+ "date": "Fri, 12 Nov 2021 13:25:26 GMT",
164
+ "tag": "@fluentui/react-link_v9.0.0-beta.4",
165
+ "version": "9.0.0-beta.4",
166
+ "comments": {
167
+ "prerelease": [
168
+ {
169
+ "author": "olfedias@microsoft.com",
170
+ "package": "@fluentui/react-link",
171
+ "commit": "7eb7d2daebaa11dbdcd555b0b962407013a7ca80",
172
+ "comment": "export static classes for components"
173
+ },
174
+ {
175
+ "author": "Humberto.Morimoto@microsoft.com",
176
+ "package": "@fluentui/react-link",
177
+ "commit": "a4ea9b6227d2f634f85b40fe4cec10e4c391244b",
178
+ "comment": "Updating Link tests."
179
+ },
180
+ {
181
+ "author": "gcox@microsoft.com",
12
182
  "package": "@fluentui/react-link",
13
- "comment": "Release nightly v9",
14
- "commit": "0ae8560ad3e7b4cb03f3f47152dfce2f81523cca"
183
+ "commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586",
184
+ "comment": "Updated beta and RC components to ES2019"
15
185
  },
16
186
  {
17
187
  "author": "beachball",
18
188
  "package": "@fluentui/react-link",
19
- "comment": "Bump @fluentui/keyboard-keys to v9.0.0-nightly.f81b28ceb3.1",
20
- "commit": "0ae8560ad3e7b4cb03f3f47152dfce2f81523cca"
189
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
190
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
191
+ },
192
+ {
193
+ "author": "beachball",
194
+ "package": "@fluentui/react-link",
195
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
196
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
197
+ },
198
+ {
199
+ "author": "beachball",
200
+ "package": "@fluentui/react-link",
201
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
202
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
203
+ },
204
+ {
205
+ "author": "beachball",
206
+ "package": "@fluentui/react-link",
207
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
208
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
209
+ },
210
+ {
211
+ "author": "beachball",
212
+ "package": "@fluentui/react-link",
213
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
214
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
215
+ },
216
+ {
217
+ "author": "beachball",
218
+ "package": "@fluentui/react-link",
219
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
220
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
221
+ }
222
+ ],
223
+ "none": [
224
+ {
225
+ "author": "lingfangao@hotmail.com",
226
+ "package": "@fluentui/react-link",
227
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
228
+ "comment": "Remove beta release tag"
229
+ }
230
+ ]
231
+ }
232
+ },
233
+ {
234
+ "date": "Wed, 27 Oct 2021 12:14:19 GMT",
235
+ "tag": "@fluentui/react-link_v9.0.0-beta.3",
236
+ "version": "9.0.0-beta.3",
237
+ "comments": {
238
+ "none": [
239
+ {
240
+ "author": "lingfangao@hotmail.com",
241
+ "package": "@fluentui/react-link",
242
+ "commit": "8cee28054c8667836c0a7ffd69587b4da370658c",
243
+ "comment": "chore(Link): Make documentation exportable to codesandbox"
244
+ },
245
+ {
246
+ "author": "ndresx@gmail.com",
247
+ "package": "@fluentui/react-link",
248
+ "commit": "63b209caf3d34e87c08cec16cfc2f7433f3cd65c",
249
+ "comment": "Migrate react-link tests to rtl"
250
+ }
251
+ ],
252
+ "prerelease": [
253
+ {
254
+ "author": "peter@draxler.ml",
255
+ "package": "@fluentui/react-link",
256
+ "commit": "f6db7c8d6b7db0902775e7857b62b745be35b59a",
257
+ "comment": "added styling of documentation"
21
258
  },
22
259
  {
23
260
  "author": "beachball",
24
261
  "package": "@fluentui/react-link",
25
- "comment": "Bump @fluentui/react-make-styles to v9.0.0-nightly.f81b28ceb3.1",
26
- "commit": "0ae8560ad3e7b4cb03f3f47152dfce2f81523cca"
262
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.2",
263
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
27
264
  },
28
265
  {
29
266
  "author": "beachball",
30
267
  "package": "@fluentui/react-link",
31
- "comment": "Bump @fluentui/react-tabster to v9.0.0-nightly.f81b28ceb3.1",
32
- "commit": "0ae8560ad3e7b4cb03f3f47152dfce2f81523cca"
268
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.3",
269
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
33
270
  },
34
271
  {
35
272
  "author": "beachball",
36
273
  "package": "@fluentui/react-link",
37
- "comment": "Bump @fluentui/react-utilities to v9.0.0-nightly.f81b28ceb3.1",
38
- "commit": "0ae8560ad3e7b4cb03f3f47152dfce2f81523cca"
274
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.2",
275
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
39
276
  },
40
277
  {
41
278
  "author": "beachball",
42
279
  "package": "@fluentui/react-link",
43
- "comment": "Bump @fluentui/babel-make-styles to v9.0.0-nightly.f81b28ceb3.1",
44
- "commit": "0ae8560ad3e7b4cb03f3f47152dfce2f81523cca"
280
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.2",
281
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
45
282
  },
46
283
  {
47
284
  "author": "beachball",
48
285
  "package": "@fluentui/react-link",
49
- "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-nightly.f81b28ceb3.1",
50
- "commit": "0ae8560ad3e7b4cb03f3f47152dfce2f81523cca"
286
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2",
287
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
51
288
  },
52
289
  {
53
290
  "author": "beachball",
54
291
  "package": "@fluentui/react-link",
55
- "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-nightly.f81b28ceb3.1",
56
- "commit": "0ae8560ad3e7b4cb03f3f47152dfce2f81523cca"
292
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2",
293
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
57
294
  }
58
295
  ]
59
296
  }
package/CHANGELOG.md CHANGED
@@ -1,24 +1,76 @@
1
1
  # Change Log - @fluentui/react-link
2
2
 
3
- This log was last generated on Tue, 19 Oct 2021 12:39:14 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 10 Feb 2022 08:44:39 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [9.0.0-nightly.f81b28ceb3.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-link_v9.0.0-nightly.f81b28ceb3.1)
7
+ ## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-link_v9.0.0-rc.1)
8
8
 
9
- Tue, 19 Oct 2021 12:39:14 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-link_v9.0.0-beta.2..@fluentui/react-link_v9.0.0-nightly.f81b28ceb3.1)
9
+ Thu, 10 Feb 2022 08:44:39 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-link_v9.0.0-beta.5..@fluentui/react-link_v9.0.0-rc.1)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/0ae8560ad3e7b4cb03f3f47152dfce2f81523cca) by email not defined)
15
- - Bump @fluentui/keyboard-keys to v9.0.0-nightly.f81b28ceb3.1 ([commit](https://github.com/microsoft/fluentui/commit/0ae8560ad3e7b4cb03f3f47152dfce2f81523cca) by beachball)
16
- - Bump @fluentui/react-make-styles to v9.0.0-nightly.f81b28ceb3.1 ([commit](https://github.com/microsoft/fluentui/commit/0ae8560ad3e7b4cb03f3f47152dfce2f81523cca) by beachball)
17
- - Bump @fluentui/react-tabster to v9.0.0-nightly.f81b28ceb3.1 ([commit](https://github.com/microsoft/fluentui/commit/0ae8560ad3e7b4cb03f3f47152dfce2f81523cca) by beachball)
18
- - Bump @fluentui/react-utilities to v9.0.0-nightly.f81b28ceb3.1 ([commit](https://github.com/microsoft/fluentui/commit/0ae8560ad3e7b4cb03f3f47152dfce2f81523cca) by beachball)
19
- - Bump @fluentui/babel-make-styles to v9.0.0-nightly.f81b28ceb3.1 ([commit](https://github.com/microsoft/fluentui/commit/0ae8560ad3e7b4cb03f3f47152dfce2f81523cca) by beachball)
20
- - Bump @fluentui/jest-serializer-make-styles to v9.0.0-nightly.f81b28ceb3.1 ([commit](https://github.com/microsoft/fluentui/commit/0ae8560ad3e7b4cb03f3f47152dfce2f81523cca) by beachball)
21
- - Bump @fluentui/react-conformance-make-styles to v9.0.0-nightly.f81b28ceb3.1 ([commit](https://github.com/microsoft/fluentui/commit/0ae8560ad3e7b4cb03f3f47152dfce2f81523cca) by beachball)
14
+ - Updating use of tokens.fontWeight now that we don't need to use casting. ([PR #21217](https://github.com/microsoft/fluentui/pull/21217) by Humberto.Morimoto@microsoft.com)
15
+ - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
16
+ - remove export of commons types ([PR #21660](https://github.com/microsoft/fluentui/pull/21660) by mgodbolt@microsoft.com)
17
+ - Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
18
+ - Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
19
+ - Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
20
+ - update styles to not use CSS shorthands ([PR #20819](https://github.com/microsoft/fluentui/pull/20819) by olfedias@microsoft.com)
21
+ - 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)
22
+ - use Griffel packages ([PR #21429](https://github.com/microsoft/fluentui/pull/21429) by olfedias@microsoft.com)
23
+ - react-link: Replacing use of functions in makeStyles with direct use of tokens. ([PR #21047](https://github.com/microsoft/fluentui/pull/21047) by Humberto.Morimoto@microsoft.com)
24
+ - Bump @fluentui/keyboard-keys to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
25
+ - Bump @fluentui/react-tabster to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
26
+ - Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
27
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
28
+
29
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-link_v9.0.0-beta.5)
30
+
31
+ Thu, 25 Nov 2021 08:34:17 GMT
32
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-link_v9.0.0-beta.4..@fluentui/react-link_v9.0.0-beta.5)
33
+
34
+ ### Changes
35
+
36
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
37
+ - Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
38
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
39
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
40
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
41
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
42
+
43
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-link_v9.0.0-beta.4)
44
+
45
+ Fri, 12 Nov 2021 13:25:26 GMT
46
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-link_v9.0.0-beta.3..@fluentui/react-link_v9.0.0-beta.4)
47
+
48
+ ### Changes
49
+
50
+ - export static classes for components ([PR #20454](https://github.com/microsoft/fluentui/pull/20454) by olfedias@microsoft.com)
51
+ - Updating Link tests. ([PR #20342](https://github.com/microsoft/fluentui/pull/20342) by Humberto.Morimoto@microsoft.com)
52
+ - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
53
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
54
+ - Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
55
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
56
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
57
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
58
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
59
+
60
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-link_v9.0.0-beta.3)
61
+
62
+ Wed, 27 Oct 2021 12:14:19 GMT
63
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-link_v9.0.0-beta.2..@fluentui/react-link_v9.0.0-beta.3)
64
+
65
+ ### Changes
66
+
67
+ - added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
68
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
69
+ - Bump @fluentui/react-tabster to v9.0.0-beta.3 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
70
+ - Bump @fluentui/react-utilities to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
71
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
72
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
73
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
22
74
 
23
75
  ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-link_v9.0.0-beta.2)
24
76
 
@@ -1,15 +1,17 @@
1
1
  import type { ComponentProps } from '@fluentui/react-utilities';
2
2
  import type { ComponentState } from '@fluentui/react-utilities';
3
3
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
4
- import type { IntrinsicShorthandProps } from '@fluentui/react-utilities';
5
4
  import * as React_2 from 'react';
5
+ import type { Slot } from '@fluentui/react-utilities';
6
6
 
7
7
  /**
8
8
  * A Link is a reference to data that a user can follow by clicking or tapping it.
9
9
  */
10
10
  export declare const Link: ForwardRefComponent<LinkProps>;
11
11
 
12
- export declare type LinkCommons = {
12
+ export declare const linkClassName = "fui-Link";
13
+
14
+ declare type LinkCommons = {
13
15
  /**
14
16
  * A link can appear either with its default style or subtle.
15
17
  * If not specified, the link appears with its default styling.
@@ -39,7 +41,7 @@ export declare type LinkSlots = {
39
41
  /**
40
42
  * Root of the component that renders as either an <a> or a <button> tag.
41
43
  */
42
- root: IntrinsicShorthandProps<'a', 'button'>;
44
+ root: Slot<'a', 'button'>;
43
45
  };
44
46
 
45
47
  export declare type LinkState = ComponentState<LinkSlots> & LinkCommons;
@@ -47,21 +49,21 @@ export declare type LinkState = ComponentState<LinkSlots> & LinkCommons;
47
49
  /**
48
50
  * Renders a Link component by passing the state defined props to the appropriate slots.
49
51
  */
50
- export declare const renderLink: (state: LinkState) => JSX.Element;
52
+ export declare const renderLink_unstable: (state: LinkState) => JSX.Element;
51
53
 
52
54
  /**
53
- * Given user props, defines default props for the Link, calls useLinkState, and returns processed state.
55
+ * Given user props, defines default props for the Link, calls useLinkState_unstable, and returns processed state.
54
56
  * @param props - User provided props to the Link component.
55
57
  * @param ref - User provided ref to be passed to the Link component.
56
58
  */
57
- export declare const useLink: (props: LinkProps, ref: React_2.Ref<HTMLAnchorElement | HTMLButtonElement>) => LinkState;
59
+ export declare const useLink_unstable: (props: LinkProps, ref: React_2.Ref<HTMLAnchorElement | HTMLButtonElement>) => LinkState;
58
60
 
59
61
  /**
60
- * The useLinkState hook processes the Link state.
62
+ * The useLinkState_unstable hook processes the Link state.
61
63
  * @param state - Link state to mutate.
62
64
  */
63
- export declare const useLinkState: (state: LinkState) => LinkState;
65
+ export declare const useLinkState_unstable: (state: LinkState) => LinkState;
64
66
 
65
- export declare const useLinkStyles: (state: LinkState) => LinkState;
67
+ export declare const useLinkStyles_unstable: (state: LinkState) => LinkState;
66
68
 
67
69
  export { }
@@ -1,15 +1,15 @@
1
1
  import * as React from 'react';
2
- import { useLink } from './useLink';
3
- import { useLinkStyles } from './useLinkStyles';
4
- import { renderLink } from './renderLink';
2
+ import { useLink_unstable } from './useLink';
3
+ import { useLinkStyles_unstable } from './useLinkStyles';
4
+ import { renderLink_unstable } from './renderLink';
5
5
  /**
6
6
  * A Link is a reference to data that a user can follow by clicking or tapping it.
7
7
  */
8
8
 
9
- export var Link = /*#__PURE__*/React.forwardRef(function (props, ref) {
10
- var state = useLink(props, ref);
11
- useLinkStyles(state);
12
- return renderLink(state); // Work around some small mismatches in inferred types which don't matter in practice
9
+ export const Link = /*#__PURE__*/React.forwardRef((props, ref) => {
10
+ const state = useLink_unstable(props, ref);
11
+ useLinkStyles_unstable(state);
12
+ return renderLink_unstable(state); // Work around some small mismatches in inferred types which don't matter in practice
13
13
  });
14
14
  Link.displayName = 'Link';
15
15
  //# sourceMappingURL=Link.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,OAAT,QAAwB,WAAxB;AACA,SAAS,aAAT,QAA8B,iBAA9B;AACA,SAAS,UAAT,QAA2B,cAA3B;AAIA;;AAEG;;AACH,OAAO,IAAM,IAAI,gBAAmC,KAAK,CAAC,UAAN,CAAiB,UAAC,KAAD,EAAQ,GAAR,EAAW;AAC9E,MAAM,KAAK,GAAG,OAAO,CAAC,KAAD,EAAQ,GAAR,CAArB;AAEA,EAAA,aAAa,CAAC,KAAD,CAAb;AAEA,SAAO,UAAU,CAAC,KAAD,CAAjB,CAL8E,CAM9E;AACD,CAPmD,CAA7C;AASP,IAAI,CAAC,WAAL,GAAmB,MAAnB","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,gBAAT,QAAiC,WAAjC;AACA,SAAS,sBAAT,QAAuC,iBAAvC;AACA,SAAS,mBAAT,QAAoC,cAApC;AAIA;;AAEG;;AACH,OAAO,MAAM,IAAI,gBAAmC,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAClF,QAAM,KAAK,GAAG,gBAAgB,CAAC,KAAD,EAAQ,GAAR,CAA9B;AAEA,EAAA,sBAAsB,CAAC,KAAD,CAAtB;AAEA,SAAO,mBAAmB,CAAC,KAAD,CAA1B,CALkF,CAMlF;AACD,CAPmD,CAA7C;AASP,IAAI,CAAC,WAAL,GAAmB,MAAnB","sourceRoot":""}
@@ -1,11 +1,11 @@
1
- import type { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities';
1
+ import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
2
2
  export declare type LinkSlots = {
3
3
  /**
4
4
  * Root of the component that renders as either an <a> or a <button> tag.
5
5
  */
6
- root: IntrinsicShorthandProps<'a', 'button'>;
6
+ root: Slot<'a', 'button'>;
7
7
  };
8
- export declare type LinkCommons = {
8
+ declare type LinkCommons = {
9
9
  /**
10
10
  * A link can appear either with its default style or subtle.
11
11
  * If not specified, the link appears with its default styling.
@@ -30,3 +30,4 @@ export declare type LinkCommons = {
30
30
  };
31
31
  export declare type LinkProps = ComponentProps<LinkSlots> & LinkCommons;
32
32
  export declare type LinkState = ComponentState<LinkSlots> & LinkCommons;
33
+ export {};
@@ -2,4 +2,4 @@ import type { LinkState } from './Link.types';
2
2
  /**
3
3
  * Renders a Link component by passing the state defined props to the appropriate slots.
4
4
  */
5
- export declare const renderLink: (state: LinkState) => JSX.Element;
5
+ export declare const renderLink_unstable: (state: LinkState) => JSX.Element;
@@ -1,15 +1,15 @@
1
- import { __assign } from "tslib";
2
1
  import * as React from 'react';
3
2
  import { getSlots } from '@fluentui/react-utilities';
4
3
  /**
5
4
  * Renders a Link component by passing the state defined props to the appropriate slots.
6
5
  */
7
6
 
8
- export var renderLink = function (state) {
9
- var _a = getSlots(state, ['root']),
10
- slots = _a.slots,
11
- slotProps = _a.slotProps;
12
-
13
- return /*#__PURE__*/React.createElement(slots.root, __assign({}, slotProps.root));
7
+ export const renderLink_unstable = state => {
8
+ const {
9
+ slots,
10
+ slotProps
11
+ } = getSlots(state);
12
+ return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
13
+ });
14
14
  };
15
15
  //# sourceMappingURL=renderLink.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Link/renderLink.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,IAAM,UAAU,GAAG,UAAC,KAAD,EAAiB;AACnC,MAAA,EAAA,GAAuB,QAAQ,CAAY,KAAZ,EAAmB,CAAC,MAAD,CAAnB,CAA/B;AAAA,MAAE,KAAK,GAAA,EAAA,CAAA,KAAP;AAAA,MAAS,SAAS,GAAA,EAAA,CAAA,SAAlB;;AAEN,sBAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,QAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,CAAP;AACD,CAJM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Link/renderLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,mBAAmB,GAAI,KAAD,IAAqB;AACtD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAY,KAAZ,CAArC;AAEA,sBAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAAP;AACD,CAJM","sourceRoot":""}
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import type { LinkProps, LinkState } from './Link.types';
3
3
  /**
4
- * Given user props, defines default props for the Link, calls useLinkState, and returns processed state.
4
+ * Given user props, defines default props for the Link, calls useLinkState_unstable, and returns processed state.
5
5
  * @param props - User provided props to the Link component.
6
6
  * @param ref - User provided ref to be passed to the Link component.
7
7
  */
8
- export declare const useLink: (props: LinkProps, ref: React.Ref<HTMLAnchorElement | HTMLButtonElement>) => LinkState;
8
+ export declare const useLink_unstable: (props: LinkProps, ref: React.Ref<HTMLAnchorElement | HTMLButtonElement>) => LinkState;
@@ -1,35 +1,36 @@
1
- import { __assign } from "tslib";
2
1
  import { getNativeElementProps } from '@fluentui/react-utilities';
3
- import { useLinkState } from './useLinkState';
2
+ import { useLinkState_unstable } from './useLinkState';
4
3
  /**
5
- * Given user props, defines default props for the Link, calls useLinkState, and returns processed state.
4
+ * Given user props, defines default props for the Link, calls useLinkState_unstable, and returns processed state.
6
5
  * @param props - User provided props to the Link component.
7
6
  * @param ref - User provided ref to be passed to the Link component.
8
7
  */
9
8
 
10
- export var useLink = function (props, ref) {
11
- var appearance = props.appearance,
12
- disabled = props.disabled,
13
- disabledFocusable = props.disabledFocusable,
14
- inline = props.inline;
15
- var as = props.as || (props.href ? 'a' : 'button');
16
- var state = {
9
+ export const useLink_unstable = (props, ref) => {
10
+ const {
11
+ appearance,
12
+ disabled,
13
+ disabledFocusable,
14
+ inline
15
+ } = props;
16
+ const as = props.as || (props.href ? 'a' : 'button');
17
+ const state = {
17
18
  // Props passed at the top-level
18
- appearance: appearance,
19
- disabled: disabled,
20
- disabledFocusable: disabledFocusable,
21
- inline: inline,
19
+ appearance,
20
+ disabled,
21
+ disabledFocusable,
22
+ inline,
22
23
  // Slots definition
23
24
  components: {
24
25
  root: 'a'
25
26
  },
26
- root: getNativeElementProps(as, __assign(__assign({
27
- ref: ref
28
- }, props), {
29
- as: as
30
- }))
27
+ root: getNativeElementProps(as, {
28
+ ref,
29
+ ...props,
30
+ as
31
+ })
31
32
  };
32
- useLinkState(state);
33
+ useLinkState_unstable(state);
33
34
  return state;
34
35
  };
35
36
  //# sourceMappingURL=useLink.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Link/useLink.ts"],"names":[],"mappings":";AACA,SAAS,qBAAT,QAAsC,2BAAtC;AACA,SAAS,YAAT,QAA6B,gBAA7B;AAGA;;;;AAIG;;AACH,OAAO,IAAM,OAAO,GAAG,UAAC,KAAD,EAAmB,GAAnB,EAAwE;AACrF,MAAA,UAAU,GAA0C,KAAK,CAA/C,UAAV;AAAA,MAAY,QAAQ,GAAgC,KAAK,CAArC,QAApB;AAAA,MAAsB,iBAAiB,GAAa,KAAK,CAAlB,iBAAvC;AAAA,MAAyC,MAAM,GAAK,KAAK,CAAV,MAA/C;AACR,MAAM,EAAE,GAAG,KAAK,CAAC,EAAN,KAAa,KAAK,CAAC,IAAN,GAAa,GAAb,GAAmB,QAAhC,CAAX;AAEA,MAAM,KAAK,GAAc;AACvB;AACA,IAAA,UAAU,EAAA,UAFa;AAGvB,IAAA,QAAQ,EAAA,QAHe;AAIvB,IAAA,iBAAiB,EAAA,iBAJM;AAKvB,IAAA,MAAM,EAAA,MALiB;AAOvB;AACA,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE;AADI,KARW;AAYvB,IAAA,IAAI,EAAE,qBAAqB,CAAC,EAAD,EAAG,QAAA,CAAA,QAAA,CAAA;AAC5B,MAAA,GAAG,EAAA;AADyB,KAAA,EAEzB,KAFyB,CAAA,EAEpB;AACR,MAAA,EAAE,EAAA;AADM,KAFoB,CAAH;AAZJ,GAAzB;AAmBA,EAAA,YAAY,CAAC,KAAD,CAAZ;AAEA,SAAO,KAAP;AACD,CA1BM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Link/useLink.ts"],"names":[],"mappings":"AACA,SAAS,qBAAT,QAAsC,2BAAtC;AACA,SAAS,qBAAT,QAAsC,gBAAtC;AAGA;;;;AAIG;;AACH,OAAO,MAAM,gBAAgB,GAAG,CAC9B,KAD8B,EAE9B,GAF8B,KAGjB;AACb,QAAM;AAAE,IAAA,UAAF;AAAc,IAAA,QAAd;AAAwB,IAAA,iBAAxB;AAA2C,IAAA;AAA3C,MAAsD,KAA5D;AACA,QAAM,EAAE,GAAG,KAAK,CAAC,EAAN,KAAa,KAAK,CAAC,IAAN,GAAa,GAAb,GAAmB,QAAhC,CAAX;AAEA,QAAM,KAAK,GAAc;AACvB;AACA,IAAA,UAFuB;AAGvB,IAAA,QAHuB;AAIvB,IAAA,iBAJuB;AAKvB,IAAA,MALuB;AAOvB;AACA,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE;AADI,KARW;AAYvB,IAAA,IAAI,EAAE,qBAAqB,CAAC,EAAD,EAAK;AAC9B,MAAA,GAD8B;AAE9B,SAAG,KAF2B;AAG9B,MAAA;AAH8B,KAAL;AAZJ,GAAzB;AAmBA,EAAA,qBAAqB,CAAC,KAAD,CAArB;AAEA,SAAO,KAAP;AACD,CA7BM","sourceRoot":""}