@fluentui/react-label 0.0.0-nightly-20220428-0420.1 → 0.0.0-nightly-20220503-0421.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "@fluentui/react-label",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 28 Apr 2022 04:29:37 GMT",
6
- "tag": "@fluentui/react-label_v0.0.0-nightly-20220428-0420.1",
7
- "version": "0.0.0-nightly-20220428-0420.1",
5
+ "date": "Tue, 03 May 2022 04:34:43 GMT",
6
+ "tag": "@fluentui/react-label_v0.0.0-nightly-20220503-0421.1",
7
+ "version": "0.0.0-nightly-20220503-0421.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
@@ -13,23 +13,37 @@
13
13
  "commit": "not available",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
+ {
17
+ "author": "mgodbolt@microsoft.com",
18
+ "package": "@fluentui/react-label",
19
+ "commit": "65c5c91acea26b129e9ffac6b2b1a8c9808f0141",
20
+ "comment": "Add style to make required match text when disabled"
21
+ },
16
22
  {
17
23
  "author": "beachball",
18
24
  "package": "@fluentui/react-label",
19
- "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220428-0420.1",
20
- "commit": "594dc819d26484ec1863d37916abf429520bace7"
25
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220503-0421.1",
26
+ "commit": "0a280b0835179cafee6022280911ba42ab7baeac"
21
27
  },
22
28
  {
23
29
  "author": "beachball",
24
30
  "package": "@fluentui/react-label",
25
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220428-0420.1",
26
- "commit": "594dc819d26484ec1863d37916abf429520bace7"
31
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220503-0421.1",
32
+ "commit": "0a280b0835179cafee6022280911ba42ab7baeac"
27
33
  },
28
34
  {
29
35
  "author": "beachball",
30
36
  "package": "@fluentui/react-label",
31
- "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220428-0420.1",
32
- "commit": "594dc819d26484ec1863d37916abf429520bace7"
37
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220503-0421.1",
38
+ "commit": "0a280b0835179cafee6022280911ba42ab7baeac"
39
+ }
40
+ ],
41
+ "none": [
42
+ {
43
+ "author": "tristan.watanabe@gmail.com",
44
+ "package": "@fluentui/react-label",
45
+ "commit": "88fa8f279506c3cfbcc2facff95ecb5b420a217a",
46
+ "comment": "react-label: Move to new common folder."
33
47
  }
34
48
  ]
35
49
  }
package/CHANGELOG.md CHANGED
@@ -1,24 +1,25 @@
1
1
  # Change Log - @fluentui/react-label
2
2
 
3
- This log was last generated on Thu, 28 Apr 2022 04:29:37 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 03 May 2022 04:34:43 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20220428-0420.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v0.0.0-nightly-20220428-0420.1)
7
+ ## [0.0.0-nightly-20220503-0421.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v0.0.0-nightly-20220503-0421.1)
8
8
 
9
- Thu, 28 Apr 2022 04:29:37 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.10..@fluentui/react-label_v0.0.0-nightly-20220428-0420.1)
9
+ Tue, 03 May 2022 04:34:43 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.10..@fluentui/react-label_v0.0.0-nightly-20220503-0421.1)
11
11
 
12
12
  ### Changes
13
13
 
14
14
  - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by email not defined)
15
- - Bump @fluentui/react-theme to v0.0.0-nightly-20220428-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/594dc819d26484ec1863d37916abf429520bace7) by beachball)
16
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20220428-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/594dc819d26484ec1863d37916abf429520bace7) by beachball)
17
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220428-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/594dc819d26484ec1863d37916abf429520bace7) by beachball)
15
+ - Add style to make required match text when disabled ([PR #22715](https://github.com/microsoft/fluentui/pull/22715) by mgodbolt@microsoft.com)
16
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20220503-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/0a280b0835179cafee6022280911ba42ab7baeac) by beachball)
17
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20220503-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/0a280b0835179cafee6022280911ba42ab7baeac) by beachball)
18
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220503-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/0a280b0835179cafee6022280911ba42ab7baeac) by beachball)
18
19
 
19
20
  ## [9.0.0-beta.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.10)
20
21
 
21
- Tue, 19 Apr 2022 19:17:27 GMT
22
+ Tue, 19 Apr 2022 19:17:27 GMT
22
23
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.9..@fluentui/react-label_v9.0.0-beta.10)
23
24
 
24
25
  ### Changes
@@ -32,7 +33,7 @@ Tue, 19 Apr 2022 19:17:27 GMT
32
33
 
33
34
  ## [9.0.0-beta.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.9)
34
35
 
35
- Fri, 04 Mar 2022 05:17:37 GMT
36
+ Fri, 04 Mar 2022 05:17:37 GMT
36
37
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.8..@fluentui/react-label_v9.0.0-beta.9)
37
38
 
38
39
  ### Changes
@@ -43,7 +44,7 @@ Fri, 04 Mar 2022 05:17:37 GMT
43
44
 
44
45
  ## [9.0.0-beta.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.8)
45
46
 
46
- Tue, 01 Mar 2022 02:17:36 GMT
47
+ Tue, 01 Mar 2022 02:17:36 GMT
47
48
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.7..@fluentui/react-label_v9.0.0-beta.8)
48
49
 
49
50
  ### Changes
@@ -53,7 +54,7 @@ Tue, 01 Mar 2022 02:17:36 GMT
53
54
 
54
55
  ## [9.0.0-beta.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.7)
55
56
 
56
- Fri, 18 Feb 2022 13:35:32 GMT
57
+ Fri, 18 Feb 2022 13:35:32 GMT
57
58
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.5..@fluentui/react-label_v9.0.0-beta.7)
58
59
 
59
60
  ### Changes
@@ -64,7 +65,7 @@ Fri, 18 Feb 2022 13:35:32 GMT
64
65
 
65
66
  ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.5)
66
67
 
67
- Thu, 10 Feb 2022 08:51:22 GMT
68
+ Thu, 10 Feb 2022 08:51:22 GMT
68
69
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.4..@fluentui/react-label_v9.0.0-beta.5)
69
70
 
70
71
  ### Changes
@@ -77,14 +78,14 @@ Thu, 10 Feb 2022 08:51:22 GMT
77
78
  - Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
78
79
  - react-label: Replacing use of functions in makeStyles with direct use of tokens. ([PR #21046](https://github.com/microsoft/fluentui/pull/21046) by Humberto.Morimoto@microsoft.com)
79
80
  - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
80
- - 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)
81
+ - 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)
81
82
  - 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)
82
83
  - Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
83
84
  - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
84
85
 
85
86
  ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.4)
86
87
 
87
- Thu, 25 Nov 2021 08:34:14 GMT
88
+ Thu, 25 Nov 2021 08:34:14 GMT
88
89
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.3..@fluentui/react-label_v9.0.0-beta.4)
89
90
 
90
91
  ### Changes
@@ -98,7 +99,7 @@ Thu, 25 Nov 2021 08:34:14 GMT
98
99
 
99
100
  ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.3)
100
101
 
101
- Fri, 12 Nov 2021 13:25:25 GMT
102
+ Fri, 12 Nov 2021 13:25:25 GMT
102
103
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.2..@fluentui/react-label_v9.0.0-beta.3)
103
104
 
104
105
  ### Changes
@@ -113,7 +114,7 @@ Fri, 12 Nov 2021 13:25:25 GMT
113
114
 
114
115
  ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.2)
115
116
 
116
- Wed, 27 Oct 2021 12:14:18 GMT
117
+ Wed, 27 Oct 2021 12:14:18 GMT
117
118
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.1..@fluentui/react-label_v9.0.0-beta.2)
118
119
 
119
120
  ### Changes
@@ -128,7 +129,7 @@ Wed, 27 Oct 2021 12:14:18 GMT
128
129
 
129
130
  ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.1)
130
131
 
131
- Wed, 06 Oct 2021 10:37:22 GMT
132
+ Wed, 06 Oct 2021 10:37:22 GMT
132
133
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.51..@fluentui/react-label_v9.0.0-beta.1)
133
134
 
134
135
  ### Changes
@@ -142,7 +143,7 @@ Wed, 06 Oct 2021 10:37:22 GMT
142
143
 
143
144
  ## [9.0.0-alpha.51](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.51)
144
145
 
145
- Tue, 05 Oct 2021 12:47:58 GMT
146
+ Tue, 05 Oct 2021 12:47:58 GMT
146
147
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.50..@fluentui/react-label_v9.0.0-alpha.51)
147
148
 
148
149
  ### Changes
@@ -154,7 +155,7 @@ Tue, 05 Oct 2021 12:47:58 GMT
154
155
 
155
156
  ## [9.0.0-alpha.50](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.50)
156
157
 
157
- Tue, 05 Oct 2021 09:28:07 GMT
158
+ Tue, 05 Oct 2021 09:28:07 GMT
158
159
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.49..@fluentui/react-label_v9.0.0-alpha.50)
159
160
 
160
161
  ### Changes
@@ -168,7 +169,7 @@ Tue, 05 Oct 2021 09:28:07 GMT
168
169
 
169
170
  ## [9.0.0-alpha.49](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.49)
170
171
 
171
- Fri, 01 Oct 2021 14:13:08 GMT
172
+ Fri, 01 Oct 2021 14:13:08 GMT
172
173
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.47..@fluentui/react-label_v9.0.0-alpha.49)
173
174
 
174
175
  ### Changes
@@ -182,7 +183,7 @@ Fri, 01 Oct 2021 14:13:08 GMT
182
183
 
183
184
  ## [9.0.0-alpha.47](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.47)
184
185
 
185
- Wed, 29 Sep 2021 08:06:11 GMT
186
+ Wed, 29 Sep 2021 08:06:11 GMT
186
187
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.46..@fluentui/react-label_v9.0.0-alpha.47)
187
188
 
188
189
  ### Changes
@@ -194,7 +195,7 @@ Wed, 29 Sep 2021 08:06:11 GMT
194
195
 
195
196
  ## [9.0.0-alpha.46](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.46)
196
197
 
197
- Mon, 27 Sep 2021 08:06:00 GMT
198
+ Mon, 27 Sep 2021 08:06:00 GMT
198
199
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.45..@fluentui/react-label_v9.0.0-alpha.46)
199
200
 
200
201
  ### Changes
@@ -207,7 +208,7 @@ Mon, 27 Sep 2021 08:06:00 GMT
207
208
 
208
209
  ## [9.0.0-alpha.45](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.45)
209
210
 
210
- Fri, 24 Sep 2021 09:17:17 GMT
211
+ Fri, 24 Sep 2021 09:17:17 GMT
211
212
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.44..@fluentui/react-label_v9.0.0-alpha.45)
212
213
 
213
214
  ### Changes
@@ -220,7 +221,7 @@ Fri, 24 Sep 2021 09:17:17 GMT
220
221
 
221
222
  ## [9.0.0-alpha.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.44)
222
223
 
223
- Thu, 23 Sep 2021 08:21:34 GMT
224
+ Thu, 23 Sep 2021 08:21:34 GMT
224
225
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.43..@fluentui/react-label_v9.0.0-alpha.44)
225
226
 
226
227
  ### Changes
@@ -233,7 +234,7 @@ Thu, 23 Sep 2021 08:21:34 GMT
233
234
 
234
235
  ## [9.0.0-alpha.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.43)
235
236
 
236
- Wed, 22 Sep 2021 10:10:07 GMT
237
+ Wed, 22 Sep 2021 10:10:07 GMT
237
238
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.42..@fluentui/react-label_v9.0.0-alpha.43)
238
239
 
239
240
  ### Changes
@@ -246,7 +247,7 @@ Wed, 22 Sep 2021 10:10:07 GMT
246
247
 
247
248
  ## [9.0.0-alpha.42](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.42)
248
249
 
249
- Tue, 21 Sep 2021 07:42:34 GMT
250
+ Tue, 21 Sep 2021 07:42:34 GMT
250
251
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.41..@fluentui/react-label_v9.0.0-alpha.42)
251
252
 
252
253
  ### Changes
@@ -259,7 +260,7 @@ Tue, 21 Sep 2021 07:42:34 GMT
259
260
 
260
261
  ## [9.0.0-alpha.41](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.41)
261
262
 
262
- Mon, 20 Sep 2021 07:36:26 GMT
263
+ Mon, 20 Sep 2021 07:36:26 GMT
263
264
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.40..@fluentui/react-label_v9.0.0-alpha.41)
264
265
 
265
266
  ### Changes
@@ -268,7 +269,7 @@ Mon, 20 Sep 2021 07:36:26 GMT
268
269
 
269
270
  ## [9.0.0-alpha.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.40)
270
271
 
271
- Fri, 17 Sep 2021 07:35:26 GMT
272
+ Fri, 17 Sep 2021 07:35:26 GMT
272
273
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.39..@fluentui/react-label_v9.0.0-alpha.40)
273
274
 
274
275
  ### Changes
@@ -277,7 +278,7 @@ Fri, 17 Sep 2021 07:35:26 GMT
277
278
 
278
279
  ## [9.0.0-alpha.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.39)
279
280
 
280
- Thu, 16 Sep 2021 07:38:39 GMT
281
+ Thu, 16 Sep 2021 07:38:39 GMT
281
282
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.38..@fluentui/react-label_v9.0.0-alpha.39)
282
283
 
283
284
  ### Changes
@@ -286,7 +287,7 @@ Thu, 16 Sep 2021 07:38:39 GMT
286
287
 
287
288
  ## [9.0.0-alpha.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.38)
288
289
 
289
- Tue, 14 Sep 2021 20:09:02 GMT
290
+ Tue, 14 Sep 2021 20:09:02 GMT
290
291
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.37..@fluentui/react-label_v9.0.0-alpha.38)
291
292
 
292
293
  ### Changes
@@ -295,7 +296,7 @@ Tue, 14 Sep 2021 20:09:02 GMT
295
296
 
296
297
  ## [9.0.0-alpha.37](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.37)
297
298
 
298
- Fri, 10 Sep 2021 16:31:53 GMT
299
+ Fri, 10 Sep 2021 16:31:53 GMT
299
300
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.36..@fluentui/react-label_v9.0.0-alpha.37)
300
301
 
301
302
  ### Changes
@@ -305,7 +306,7 @@ Fri, 10 Sep 2021 16:31:53 GMT
305
306
 
306
307
  ## [9.0.0-alpha.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.36)
307
308
 
308
- Fri, 10 Sep 2021 07:39:51 GMT
309
+ Fri, 10 Sep 2021 07:39:51 GMT
309
310
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.35..@fluentui/react-label_v9.0.0-alpha.36)
310
311
 
311
312
  ### Changes
@@ -314,7 +315,7 @@ Fri, 10 Sep 2021 07:39:51 GMT
314
315
 
315
316
  ## [9.0.0-alpha.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.35)
316
317
 
317
- Mon, 06 Sep 2021 07:34:53 GMT
318
+ Mon, 06 Sep 2021 07:34:53 GMT
318
319
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.34..@fluentui/react-label_v9.0.0-alpha.35)
319
320
 
320
321
  ### Changes
@@ -323,7 +324,7 @@ Mon, 06 Sep 2021 07:34:53 GMT
323
324
 
324
325
  ## [9.0.0-alpha.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.34)
325
326
 
326
- Thu, 02 Sep 2021 07:36:46 GMT
327
+ Thu, 02 Sep 2021 07:36:46 GMT
327
328
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.33..@fluentui/react-label_v9.0.0-alpha.34)
328
329
 
329
330
  ### Patches
@@ -336,7 +337,7 @@ Thu, 02 Sep 2021 07:36:46 GMT
336
337
 
337
338
  ## [9.0.0-alpha.33](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.33)
338
339
 
339
- Wed, 01 Sep 2021 07:39:56 GMT
340
+ Wed, 01 Sep 2021 07:39:56 GMT
340
341
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.32..@fluentui/react-label_v9.0.0-alpha.33)
341
342
 
342
343
  ### Changes
@@ -345,7 +346,7 @@ Wed, 01 Sep 2021 07:39:56 GMT
345
346
 
346
347
  ## [9.0.0-alpha.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.32)
347
348
 
348
- Tue, 31 Aug 2021 07:37:47 GMT
349
+ Tue, 31 Aug 2021 07:37:47 GMT
349
350
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.31..@fluentui/react-label_v9.0.0-alpha.32)
350
351
 
351
352
  ### Changes
@@ -354,7 +355,7 @@ Tue, 31 Aug 2021 07:37:47 GMT
354
355
 
355
356
  ## [9.0.0-alpha.31](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.31)
356
357
 
357
- Fri, 27 Aug 2021 07:33:32 GMT
358
+ Fri, 27 Aug 2021 07:33:32 GMT
358
359
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.30..@fluentui/react-label_v9.0.0-alpha.31)
359
360
 
360
361
  ### Changes
@@ -363,7 +364,7 @@ Fri, 27 Aug 2021 07:33:32 GMT
363
364
 
364
365
  ## [9.0.0-alpha.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.30)
365
366
 
366
- Thu, 26 Aug 2021 07:35:43 GMT
367
+ Thu, 26 Aug 2021 07:35:43 GMT
367
368
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.29..@fluentui/react-label_v9.0.0-alpha.30)
368
369
 
369
370
  ### Changes
@@ -372,7 +373,7 @@ Thu, 26 Aug 2021 07:35:43 GMT
372
373
 
373
374
  ## [9.0.0-alpha.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.29)
374
375
 
375
- Tue, 24 Aug 2021 07:34:48 GMT
376
+ Tue, 24 Aug 2021 07:34:48 GMT
376
377
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.28..@fluentui/react-label_v9.0.0-alpha.29)
377
378
 
378
379
  ### Changes
@@ -381,7 +382,7 @@ Tue, 24 Aug 2021 07:34:48 GMT
381
382
 
382
383
  ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.28)
383
384
 
384
- Fri, 20 Aug 2021 07:37:28 GMT
385
+ Fri, 20 Aug 2021 07:37:28 GMT
385
386
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.27..@fluentui/react-label_v9.0.0-alpha.28)
386
387
 
387
388
  ### Changes
@@ -390,7 +391,7 @@ Fri, 20 Aug 2021 07:37:28 GMT
390
391
 
391
392
  ## [9.0.0-alpha.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.27)
392
393
 
393
- Thu, 19 Aug 2021 07:41:35 GMT
394
+ Thu, 19 Aug 2021 07:41:35 GMT
394
395
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.26..@fluentui/react-label_v9.0.0-alpha.27)
395
396
 
396
397
  ### Changes
@@ -399,7 +400,7 @@ Thu, 19 Aug 2021 07:41:35 GMT
399
400
 
400
401
  ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.26)
401
402
 
402
- Fri, 13 Aug 2021 07:36:34 GMT
403
+ Fri, 13 Aug 2021 07:36:34 GMT
403
404
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.25..@fluentui/react-label_v9.0.0-alpha.26)
404
405
 
405
406
  ### Changes
@@ -408,7 +409,7 @@ Fri, 13 Aug 2021 07:36:34 GMT
408
409
 
409
410
  ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.25)
410
411
 
411
- Wed, 11 Aug 2021 07:34:54 GMT
412
+ Wed, 11 Aug 2021 07:34:54 GMT
412
413
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.24..@fluentui/react-label_v9.0.0-alpha.25)
413
414
 
414
415
  ### Changes
@@ -417,7 +418,7 @@ Wed, 11 Aug 2021 07:34:54 GMT
417
418
 
418
419
  ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.24)
419
420
 
420
- Fri, 06 Aug 2021 07:35:14 GMT
421
+ Fri, 06 Aug 2021 07:35:14 GMT
421
422
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.23..@fluentui/react-label_v9.0.0-alpha.24)
422
423
 
423
424
  ### Changes
@@ -426,7 +427,7 @@ Fri, 06 Aug 2021 07:35:14 GMT
426
427
 
427
428
  ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.23)
428
429
 
429
- Tue, 03 Aug 2021 07:39:30 GMT
430
+ Tue, 03 Aug 2021 07:39:30 GMT
430
431
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.22..@fluentui/react-label_v9.0.0-alpha.23)
431
432
 
432
433
  ### Patches
@@ -441,7 +442,7 @@ Tue, 03 Aug 2021 07:39:30 GMT
441
442
 
442
443
  ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.22)
443
444
 
444
- Mon, 02 Aug 2021 07:36:20 GMT
445
+ Mon, 02 Aug 2021 07:36:20 GMT
445
446
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.21..@fluentui/react-label_v9.0.0-alpha.22)
446
447
 
447
448
  ### Changes
@@ -450,7 +451,7 @@ Mon, 02 Aug 2021 07:36:20 GMT
450
451
 
451
452
  ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.21)
452
453
 
453
- Mon, 26 Jul 2021 07:37:30 GMT
454
+ Mon, 26 Jul 2021 07:37:30 GMT
454
455
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.20..@fluentui/react-label_v9.0.0-alpha.21)
455
456
 
456
457
  ### Changes
@@ -459,7 +460,7 @@ Mon, 26 Jul 2021 07:37:30 GMT
459
460
 
460
461
  ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.20)
461
462
 
462
- Fri, 23 Jul 2021 07:38:19 GMT
463
+ Fri, 23 Jul 2021 07:38:19 GMT
463
464
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.19..@fluentui/react-label_v9.0.0-alpha.20)
464
465
 
465
466
  ### Changes
@@ -468,7 +469,7 @@ Fri, 23 Jul 2021 07:38:19 GMT
468
469
 
469
470
  ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.19)
470
471
 
471
- Thu, 22 Jul 2021 07:36:55 GMT
472
+ Thu, 22 Jul 2021 07:36:55 GMT
472
473
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.18..@fluentui/react-label_v9.0.0-alpha.19)
473
474
 
474
475
  ### Changes
@@ -477,7 +478,7 @@ Thu, 22 Jul 2021 07:36:55 GMT
477
478
 
478
479
  ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.18)
479
480
 
480
- Thu, 15 Jul 2021 07:36:18 GMT
481
+ Thu, 15 Jul 2021 07:36:18 GMT
481
482
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.17..@fluentui/react-label_v9.0.0-alpha.18)
482
483
 
483
484
  ### Changes
@@ -486,7 +487,7 @@ Thu, 15 Jul 2021 07:36:18 GMT
486
487
 
487
488
  ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.17)
488
489
 
489
- Tue, 13 Jul 2021 22:32:58 GMT
490
+ Tue, 13 Jul 2021 22:32:58 GMT
490
491
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.16..@fluentui/react-label_v9.0.0-alpha.17)
491
492
 
492
493
  ### Patches
@@ -499,7 +500,7 @@ Tue, 13 Jul 2021 22:32:58 GMT
499
500
 
500
501
  ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.16)
501
502
 
502
- Tue, 13 Jul 2021 07:35:36 GMT
503
+ Tue, 13 Jul 2021 07:35:36 GMT
503
504
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.15..@fluentui/react-label_v9.0.0-alpha.16)
504
505
 
505
506
  ### Changes
@@ -508,7 +509,7 @@ Tue, 13 Jul 2021 07:35:36 GMT
508
509
 
509
510
  ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.15)
510
511
 
511
- Fri, 09 Jul 2021 07:39:31 GMT
512
+ Fri, 09 Jul 2021 07:39:31 GMT
512
513
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.14..@fluentui/react-label_v9.0.0-alpha.15)
513
514
 
514
515
  ### Patches
@@ -523,7 +524,7 @@ Fri, 09 Jul 2021 07:39:31 GMT
523
524
 
524
525
  ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.14)
525
526
 
526
- Fri, 02 Jul 2021 23:15:55 GMT
527
+ Fri, 02 Jul 2021 23:15:55 GMT
527
528
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.13..@fluentui/react-label_v9.0.0-alpha.14)
528
529
 
529
530
  ### Changes
@@ -532,7 +533,7 @@ Fri, 02 Jul 2021 23:15:55 GMT
532
533
 
533
534
  ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.13)
534
535
 
535
- Fri, 02 Jul 2021 07:37:06 GMT
536
+ Fri, 02 Jul 2021 07:37:06 GMT
536
537
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.12..@fluentui/react-label_v9.0.0-alpha.13)
537
538
 
538
539
  ### Changes
@@ -541,7 +542,7 @@ Fri, 02 Jul 2021 07:37:06 GMT
541
542
 
542
543
  ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.12)
543
544
 
544
- Thu, 01 Jul 2021 07:35:05 GMT
545
+ Thu, 01 Jul 2021 07:35:05 GMT
545
546
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.11..@fluentui/react-label_v9.0.0-alpha.12)
546
547
 
547
548
  ### Changes
@@ -550,7 +551,7 @@ Thu, 01 Jul 2021 07:35:05 GMT
550
551
 
551
552
  ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.11)
552
553
 
553
- Wed, 30 Jun 2021 07:38:35 GMT
554
+ Wed, 30 Jun 2021 07:38:35 GMT
554
555
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.10..@fluentui/react-label_v9.0.0-alpha.11)
555
556
 
556
557
  ### Changes
@@ -559,7 +560,7 @@ Wed, 30 Jun 2021 07:38:35 GMT
559
560
 
560
561
  ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.10)
561
562
 
562
- Tue, 29 Jun 2021 07:33:32 GMT
563
+ Tue, 29 Jun 2021 07:33:32 GMT
563
564
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.9..@fluentui/react-label_v9.0.0-alpha.10)
564
565
 
565
566
  ### Changes
@@ -568,7 +569,7 @@ Tue, 29 Jun 2021 07:33:32 GMT
568
569
 
569
570
  ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.9)
570
571
 
571
- Fri, 18 Jun 2021 07:30:58 GMT
572
+ Fri, 18 Jun 2021 07:30:58 GMT
572
573
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.8..@fluentui/react-label_v9.0.0-alpha.9)
573
574
 
574
575
  ### Changes
@@ -577,7 +578,7 @@ Fri, 18 Jun 2021 07:30:58 GMT
577
578
 
578
579
  ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.8)
579
580
 
580
- Tue, 15 Jun 2021 07:40:20 GMT
581
+ Tue, 15 Jun 2021 07:40:20 GMT
581
582
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.7..@fluentui/react-label_v9.0.0-alpha.8)
582
583
 
583
584
  ### Changes
@@ -586,7 +587,7 @@ Tue, 15 Jun 2021 07:40:20 GMT
586
587
 
587
588
  ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.7)
588
589
 
589
- Wed, 09 Jun 2021 07:33:38 GMT
590
+ Wed, 09 Jun 2021 07:33:38 GMT
590
591
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.6..@fluentui/react-label_v9.0.0-alpha.7)
591
592
 
592
593
  ### Changes
@@ -595,7 +596,7 @@ Wed, 09 Jun 2021 07:33:38 GMT
595
596
 
596
597
  ## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.6)
597
598
 
598
- Mon, 07 Jun 2021 07:38:15 GMT
599
+ Mon, 07 Jun 2021 07:38:15 GMT
599
600
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.5..@fluentui/react-label_v9.0.0-alpha.6)
600
601
 
601
602
  ### Patches
@@ -610,7 +611,7 @@ Mon, 07 Jun 2021 07:38:15 GMT
610
611
 
611
612
  ## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.5)
612
613
 
613
- Fri, 04 Jun 2021 07:37:23 GMT
614
+ Fri, 04 Jun 2021 07:37:23 GMT
614
615
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.4..@fluentui/react-label_v9.0.0-alpha.5)
615
616
 
616
617
  ### Changes
@@ -619,7 +620,7 @@ Fri, 04 Jun 2021 07:37:23 GMT
619
620
 
620
621
  ## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.4)
621
622
 
622
- Thu, 03 Jun 2021 07:36:03 GMT
623
+ Thu, 03 Jun 2021 07:36:03 GMT
623
624
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.3..@fluentui/react-label_v9.0.0-alpha.4)
624
625
 
625
626
  ### Changes
@@ -628,7 +629,7 @@ Thu, 03 Jun 2021 07:36:03 GMT
628
629
 
629
630
  ## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.3)
630
631
 
631
- Wed, 26 May 2021 07:35:43 GMT
632
+ Wed, 26 May 2021 07:35:43 GMT
632
633
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.2..@fluentui/react-label_v9.0.0-alpha.3)
633
634
 
634
635
  ### Changes
@@ -637,7 +638,7 @@ Wed, 26 May 2021 07:35:43 GMT
637
638
 
638
639
  ## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.2)
639
640
 
640
- Fri, 21 May 2021 07:34:54 GMT
641
+ Fri, 21 May 2021 07:34:54 GMT
641
642
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.1..@fluentui/react-label_v9.0.0-alpha.2)
642
643
 
643
644
  ### Changes
File without changes
@@ -25,6 +25,9 @@ const useStyles = /*#__PURE__*/__styles({
25
25
  "sj55zd": "f1whyuy6",
26
26
  "uwmqm3": ["fycuoez", "f8wuabp"]
27
27
  },
28
+ "requiredDisabled": {
29
+ "sj55zd": "f1s2aq7o"
30
+ },
28
31
  "small": {
29
32
  "Be2twd7": "fy9rknc",
30
33
  "Bg96gwp": "fwrc4pm"
@@ -54,7 +57,7 @@ export const useLabelStyles_unstable = state => {
54
57
  state.root.className = mergeClasses(labelClassNames.root, styles.root, state.disabled && styles.disabled, styles[state.size], state.strong && styles.strong, state.root.className);
55
58
 
56
59
  if (state.required) {
57
- state.required.className = mergeClasses(labelClassNames.required, styles.required, state.required.className);
60
+ state.required.className = mergeClasses(labelClassNames.required, styles.required, state.disabled && styles.requiredDisabled, state.required.className);
58
61
  }
59
62
 
60
63
  return state;
@@ -1 +1 @@
1
- {"version":3,"sources":["components/Label/useLabelStyles.ts"],"names":[],"mappings":"AAAA,mBAAqB,YAArB,QAAyC,gBAAzC;AACA,SAAS,MAAT,QAAuB,uBAAvB;AAIA;;AAEG;;AACH,OAAO,MAAM,cAAc,GAAG,WAAvB;AACP,OAAO,MAAM,eAAe,GAA+B;AACzD,EAAA,IAAI,EAAE,WADmD;AAEzD,EAAA,QAAQ,EAAE;AAF+C,CAApD;AAKP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAoCA;;AAEG;;;AACH,OAAO,MAAM,uBAAuB,GAAI,KAAD,IAAkC;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CACjC,eAAe,CAAC,IADiB,EAEjC,MAAM,CAAC,IAF0B,EAGjC,KAAK,CAAC,QAAN,IAAkB,MAAM,CAAC,QAHQ,EAIjC,MAAM,CAAC,KAAK,CAAC,IAAP,CAJ2B,EAKjC,KAAK,CAAC,MAAN,IAAgB,MAAM,CAAC,MALU,EAMjC,KAAK,CAAC,IAAN,CAAW,SANsB,CAAnC;;AASA,MAAI,KAAK,CAAC,QAAV,EAAoB;AAClB,IAAA,KAAK,CAAC,QAAN,CAAe,SAAf,GAA2B,YAAY,CAAC,eAAe,CAAC,QAAjB,EAA2B,MAAM,CAAC,QAAlC,EAA4C,KAAK,CAAC,QAAN,CAAe,SAA3D,CAAvC;AACD;;AAED,SAAO,KAAP;AACD,CAhBM","sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { LabelSlots, LabelState } from './Label.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\n/**\n * @deprecated Use `labelClassNames.root` instead.\n */\nexport const labelClassName = 'fui-Label';\nexport const labelClassNames: SlotClassNames<LabelSlots> = {\n root: 'fui-Label',\n required: 'fui-Label__required',\n};\n\n/**\n * Styles for the label\n */\nconst useStyles = makeStyles({\n root: {\n fontFamily: tokens.fontFamilyBase,\n color: tokens.colorNeutralForeground1,\n },\n\n disabled: {\n color: tokens.colorNeutralForegroundDisabled,\n },\n\n required: {\n color: tokens.colorPaletteRedForeground3,\n paddingLeft: '4px', // TODO: Once spacing tokens are added, change this to Horizontal XS\n },\n\n small: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n\n medium: {\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n },\n\n large: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n fontWeight: tokens.fontWeightSemibold,\n },\n\n strong: {\n fontWeight: tokens.fontWeightSemibold,\n },\n});\n\n/**\n * Apply styling to the Label slots based on the state\n */\nexport const useLabelStyles_unstable = (state: LabelState): LabelState => {\n const styles = useStyles();\n state.root.className = mergeClasses(\n labelClassNames.root,\n styles.root,\n state.disabled && styles.disabled,\n styles[state.size],\n state.strong && styles.strong,\n state.root.className,\n );\n\n if (state.required) {\n state.required.className = mergeClasses(labelClassNames.required, styles.required, state.required.className);\n }\n\n return state;\n};\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["components/Label/useLabelStyles.ts"],"names":[],"mappings":"AAAA,mBAAqB,YAArB,QAAyC,gBAAzC;AACA,SAAS,MAAT,QAAuB,uBAAvB;AAIA;;AAEG;;AACH,OAAO,MAAM,cAAc,GAAG,WAAvB;AACP,OAAO,MAAM,eAAe,GAA+B;AACzD,EAAA,IAAI,EAAE,WADmD;AAEzD,EAAA,QAAQ,EAAE;AAF+C,CAApD;AAKP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAwCA;;AAEG;;;AACH,OAAO,MAAM,uBAAuB,GAAI,KAAD,IAAkC;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CACjC,eAAe,CAAC,IADiB,EAEjC,MAAM,CAAC,IAF0B,EAGjC,KAAK,CAAC,QAAN,IAAkB,MAAM,CAAC,QAHQ,EAIjC,MAAM,CAAC,KAAK,CAAC,IAAP,CAJ2B,EAKjC,KAAK,CAAC,MAAN,IAAgB,MAAM,CAAC,MALU,EAMjC,KAAK,CAAC,IAAN,CAAW,SANsB,CAAnC;;AASA,MAAI,KAAK,CAAC,QAAV,EAAoB;AAClB,IAAA,KAAK,CAAC,QAAN,CAAe,SAAf,GAA2B,YAAY,CACrC,eAAe,CAAC,QADqB,EAErC,MAAM,CAAC,QAF8B,EAGrC,KAAK,CAAC,QAAN,IAAkB,MAAM,CAAC,gBAHY,EAIrC,KAAK,CAAC,QAAN,CAAe,SAJsB,CAAvC;AAMD;;AAED,SAAO,KAAP;AACD,CArBM","sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { LabelSlots, LabelState } from './Label.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\n/**\n * @deprecated Use `labelClassNames.root` instead.\n */\nexport const labelClassName = 'fui-Label';\nexport const labelClassNames: SlotClassNames<LabelSlots> = {\n root: 'fui-Label',\n required: 'fui-Label__required',\n};\n\n/**\n * Styles for the label\n */\nconst useStyles = makeStyles({\n root: {\n fontFamily: tokens.fontFamilyBase,\n color: tokens.colorNeutralForeground1,\n },\n\n disabled: {\n color: tokens.colorNeutralForegroundDisabled,\n },\n\n required: {\n color: tokens.colorPaletteRedForeground3,\n paddingLeft: '4px', // TODO: Once spacing tokens are added, change this to Horizontal XS\n },\n\n requiredDisabled: {\n color: tokens.colorNeutralForegroundDisabled,\n },\n\n small: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n\n medium: {\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n },\n\n large: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n fontWeight: tokens.fontWeightSemibold,\n },\n\n strong: {\n fontWeight: tokens.fontWeightSemibold,\n },\n});\n\n/**\n * Apply styling to the Label slots based on the state\n */\nexport const useLabelStyles_unstable = (state: LabelState): LabelState => {\n const styles = useStyles();\n state.root.className = mergeClasses(\n labelClassNames.root,\n styles.root,\n state.disabled && styles.disabled,\n styles[state.size],\n state.strong && styles.strong,\n state.root.className,\n );\n\n if (state.required) {\n state.required.className = mergeClasses(\n labelClassNames.required,\n styles.required,\n state.disabled && styles.requiredDisabled,\n state.required.className,\n );\n }\n\n return state;\n};\n"],"sourceRoot":"../src/"}
@@ -34,6 +34,9 @@ const useStyles = /*#__PURE__*/react_1.__styles({
34
34
  "sj55zd": "f1whyuy6",
35
35
  "uwmqm3": ["fycuoez", "f8wuabp"]
36
36
  },
37
+ "requiredDisabled": {
38
+ "sj55zd": "f1s2aq7o"
39
+ },
37
40
  "small": {
38
41
  "Be2twd7": "fy9rknc",
39
42
  "Bg96gwp": "fwrc4pm"
@@ -63,7 +66,7 @@ const useLabelStyles_unstable = state => {
63
66
  state.root.className = react_1.mergeClasses(exports.labelClassNames.root, styles.root, state.disabled && styles.disabled, styles[state.size], state.strong && styles.strong, state.root.className);
64
67
 
65
68
  if (state.required) {
66
- state.required.className = react_1.mergeClasses(exports.labelClassNames.required, styles.required, state.required.className);
69
+ state.required.className = react_1.mergeClasses(exports.labelClassNames.required, styles.required, state.disabled && styles.requiredDisabled, state.required.className);
67
70
  }
68
71
 
69
72
  return state;
@@ -1 +1 @@
1
- {"version":3,"sources":["components/Label/useLabelStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,cAAA,GAAiB,WAAjB;AACA,OAAA,CAAA,eAAA,GAA8C;AACzD,EAAA,IAAI,EAAE,WADmD;AAEzD,EAAA,QAAQ,EAAE;AAF+C,CAA9C;AAKb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAoCA;;AAEG;;;AACI,MAAM,uBAAuB,GAAI,KAAD,IAAkC;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,OAAA,CAAA,YAAA,CACrB,OAAA,CAAA,eAAA,CAAgB,IADK,EAErB,MAAM,CAAC,IAFc,EAGrB,KAAK,CAAC,QAAN,IAAkB,MAAM,CAAC,QAHJ,EAIrB,MAAM,CAAC,KAAK,CAAC,IAAP,CAJe,EAKrB,KAAK,CAAC,MAAN,IAAgB,MAAM,CAAC,MALF,EAMrB,KAAK,CAAC,IAAN,CAAW,SANU,CAAvB;;AASA,MAAI,KAAK,CAAC,QAAV,EAAoB;AAClB,IAAA,KAAK,CAAC,QAAN,CAAe,SAAf,GAA2B,OAAA,CAAA,YAAA,CAAa,OAAA,CAAA,eAAA,CAAgB,QAA7B,EAAuC,MAAM,CAAC,QAA9C,EAAwD,KAAK,CAAC,QAAN,CAAe,SAAvE,CAA3B;AACD;;AAED,SAAO,KAAP;AACD,CAhBM;;AAAM,OAAA,CAAA,uBAAA,GAAuB,uBAAvB","sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { LabelSlots, LabelState } from './Label.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\n/**\n * @deprecated Use `labelClassNames.root` instead.\n */\nexport const labelClassName = 'fui-Label';\nexport const labelClassNames: SlotClassNames<LabelSlots> = {\n root: 'fui-Label',\n required: 'fui-Label__required',\n};\n\n/**\n * Styles for the label\n */\nconst useStyles = makeStyles({\n root: {\n fontFamily: tokens.fontFamilyBase,\n color: tokens.colorNeutralForeground1,\n },\n\n disabled: {\n color: tokens.colorNeutralForegroundDisabled,\n },\n\n required: {\n color: tokens.colorPaletteRedForeground3,\n paddingLeft: '4px', // TODO: Once spacing tokens are added, change this to Horizontal XS\n },\n\n small: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n\n medium: {\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n },\n\n large: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n fontWeight: tokens.fontWeightSemibold,\n },\n\n strong: {\n fontWeight: tokens.fontWeightSemibold,\n },\n});\n\n/**\n * Apply styling to the Label slots based on the state\n */\nexport const useLabelStyles_unstable = (state: LabelState): LabelState => {\n const styles = useStyles();\n state.root.className = mergeClasses(\n labelClassNames.root,\n styles.root,\n state.disabled && styles.disabled,\n styles[state.size],\n state.strong && styles.strong,\n state.root.className,\n );\n\n if (state.required) {\n state.required.className = mergeClasses(labelClassNames.required, styles.required, state.required.className);\n }\n\n return state;\n};\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["components/Label/useLabelStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,cAAA,GAAiB,WAAjB;AACA,OAAA,CAAA,eAAA,GAA8C;AACzD,EAAA,IAAI,EAAE,WADmD;AAEzD,EAAA,QAAQ,EAAE;AAF+C,CAA9C;AAKb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAwCA;;AAEG;;;AACI,MAAM,uBAAuB,GAAI,KAAD,IAAkC;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,OAAA,CAAA,YAAA,CACrB,OAAA,CAAA,eAAA,CAAgB,IADK,EAErB,MAAM,CAAC,IAFc,EAGrB,KAAK,CAAC,QAAN,IAAkB,MAAM,CAAC,QAHJ,EAIrB,MAAM,CAAC,KAAK,CAAC,IAAP,CAJe,EAKrB,KAAK,CAAC,MAAN,IAAgB,MAAM,CAAC,MALF,EAMrB,KAAK,CAAC,IAAN,CAAW,SANU,CAAvB;;AASA,MAAI,KAAK,CAAC,QAAV,EAAoB;AAClB,IAAA,KAAK,CAAC,QAAN,CAAe,SAAf,GAA2B,OAAA,CAAA,YAAA,CACzB,OAAA,CAAA,eAAA,CAAgB,QADS,EAEzB,MAAM,CAAC,QAFkB,EAGzB,KAAK,CAAC,QAAN,IAAkB,MAAM,CAAC,gBAHA,EAIzB,KAAK,CAAC,QAAN,CAAe,SAJU,CAA3B;AAMD;;AAED,SAAO,KAAP;AACD,CArBM;;AAAM,OAAA,CAAA,uBAAA,GAAuB,uBAAvB","sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { LabelSlots, LabelState } from './Label.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\n/**\n * @deprecated Use `labelClassNames.root` instead.\n */\nexport const labelClassName = 'fui-Label';\nexport const labelClassNames: SlotClassNames<LabelSlots> = {\n root: 'fui-Label',\n required: 'fui-Label__required',\n};\n\n/**\n * Styles for the label\n */\nconst useStyles = makeStyles({\n root: {\n fontFamily: tokens.fontFamilyBase,\n color: tokens.colorNeutralForeground1,\n },\n\n disabled: {\n color: tokens.colorNeutralForegroundDisabled,\n },\n\n required: {\n color: tokens.colorPaletteRedForeground3,\n paddingLeft: '4px', // TODO: Once spacing tokens are added, change this to Horizontal XS\n },\n\n requiredDisabled: {\n color: tokens.colorNeutralForegroundDisabled,\n },\n\n small: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n\n medium: {\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n },\n\n large: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n fontWeight: tokens.fontWeightSemibold,\n },\n\n strong: {\n fontWeight: tokens.fontWeightSemibold,\n },\n});\n\n/**\n * Apply styling to the Label slots based on the state\n */\nexport const useLabelStyles_unstable = (state: LabelState): LabelState => {\n const styles = useStyles();\n state.root.className = mergeClasses(\n labelClassNames.root,\n styles.root,\n state.disabled && styles.disabled,\n styles[state.size],\n state.strong && styles.strong,\n state.root.className,\n );\n\n if (state.required) {\n state.required.className = mergeClasses(\n labelClassNames.required,\n styles.required,\n state.disabled && styles.requiredDisabled,\n state.required.className,\n );\n }\n\n return state;\n};\n"],"sourceRoot":"../src/"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-label",
3
- "version": "0.0.0-nightly-20220428-0420.1",
3
+ "version": "0.0.0-nightly-20220503-0421.1",
4
4
  "description": "Fluent UI React Label component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -21,19 +21,19 @@
21
21
  "start": "yarn storybook",
22
22
  "test": "jest --passWithNoTests",
23
23
  "docs": "api-extractor run --config=config/api-extractor.local.json --local",
24
- "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-label/src && yarn docs",
25
- "storybook": "node ../../scripts/storybook/runner",
24
+ "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/packages/react-components/react-label/src && yarn docs",
25
+ "storybook": "node ../../../scripts/storybook/runner",
26
26
  "type-check": "tsc -b tsconfig.json"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@fluentui/eslint-plugin": "*",
30
30
  "@fluentui/react-conformance": "*",
31
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20220428-0420.1",
31
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20220503-0421.1",
32
32
  "@fluentui/scripts": "^1.0.0"
33
33
  },
34
34
  "dependencies": {
35
- "@fluentui/react-theme": "0.0.0-nightly-20220428-0420.1",
36
- "@fluentui/react-utilities": "0.0.0-nightly-20220428-0420.1",
35
+ "@fluentui/react-theme": "0.0.0-nightly-20220503-0421.1",
36
+ "@fluentui/react-utilities": "0.0.0-nightly-20220503-0421.1",
37
37
  "@griffel/react": "1.0.3",
38
38
  "tslib": "^2.1.0"
39
39
  },