@fluentui/react-label 9.0.0-beta.10 → 9.0.0-beta.11

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.json CHANGED
@@ -2,7 +2,42 @@
2
2
  "name": "@fluentui/react-label",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 19 Apr 2022 19:14:37 GMT",
5
+ "date": "Wed, 04 May 2022 13:24:11 GMT",
6
+ "tag": "@fluentui/react-label_v9.0.0-beta.11",
7
+ "version": "9.0.0-beta.11",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "mgodbolt@microsoft.com",
12
+ "package": "@fluentui/react-label",
13
+ "commit": "65c5c91acea26b129e9ffac6b2b1a8c9808f0141",
14
+ "comment": "Add style to make required match text when disabled"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-label",
19
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.6",
20
+ "commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-label",
25
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.7",
26
+ "commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
27
+ }
28
+ ],
29
+ "none": [
30
+ {
31
+ "author": "tristan.watanabe@gmail.com",
32
+ "package": "@fluentui/react-label",
33
+ "commit": "88fa8f279506c3cfbcc2facff95ecb5b420a217a",
34
+ "comment": "react-label: Move to new common folder."
35
+ }
36
+ ]
37
+ }
38
+ },
39
+ {
40
+ "date": "Tue, 19 Apr 2022 19:17:27 GMT",
6
41
  "tag": "@fluentui/react-label_v9.0.0-beta.10",
7
42
  "version": "9.0.0-beta.10",
8
43
  "comments": {
@@ -29,19 +64,19 @@
29
64
  "author": "beachball",
30
65
  "package": "@fluentui/react-label",
31
66
  "comment": "Bump @fluentui/react-theme to v9.0.0-rc.5",
32
- "commit": "9c8592decacb9f7b1dc608a03c9f991918806008"
67
+ "commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
33
68
  },
34
69
  {
35
70
  "author": "beachball",
36
71
  "package": "@fluentui/react-label",
37
72
  "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.6",
38
- "commit": "9c8592decacb9f7b1dc608a03c9f991918806008"
73
+ "commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
39
74
  },
40
75
  {
41
76
  "author": "beachball",
42
77
  "package": "@fluentui/react-label",
43
78
  "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.4",
44
- "commit": "9c8592decacb9f7b1dc608a03c9f991918806008"
79
+ "commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
45
80
  }
46
81
  ],
47
82
  "none": [
package/CHANGELOG.md CHANGED
@@ -1,12 +1,23 @@
1
1
  # Change Log - @fluentui/react-label
2
2
 
3
- This log was last generated on Tue, 19 Apr 2022 19:14:37 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 04 May 2022 13:24:11 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-beta.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.11)
8
+
9
+ Wed, 04 May 2022 13:24:11 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.10..@fluentui/react-label_v9.0.0-beta.11)
11
+
12
+ ### Changes
13
+
14
+ - Add style to make required match text when disabled ([PR #22715](https://github.com/microsoft/fluentui/pull/22715) by mgodbolt@microsoft.com)
15
+ - Bump @fluentui/react-theme to v9.0.0-rc.6 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
16
+ - Bump @fluentui/react-utilities to v9.0.0-rc.7 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
17
+
7
18
  ## [9.0.0-beta.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.10)
8
19
 
9
- Tue, 19 Apr 2022 19:14:37 GMT
20
+ Tue, 19 Apr 2022 19:17:27 GMT
10
21
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.9..@fluentui/react-label_v9.0.0-beta.10)
11
22
 
12
23
  ### Changes
@@ -14,13 +25,13 @@ Tue, 19 Apr 2022 19:14:37 GMT
14
25
  - Add static classnames to Label ([PR #21960](https://github.com/microsoft/fluentui/pull/21960) by seanmonahan@microsoft.com)
15
26
  - chore: Update Griffel to latest version ([PR #21976](https://github.com/microsoft/fluentui/pull/21976) by olfedias@microsoft.com)
16
27
  - Removing star exports. ([PR #22138](https://github.com/microsoft/fluentui/pull/22138) by Humberto.Morimoto@microsoft.com)
17
- - Bump @fluentui/react-theme to v9.0.0-rc.5 ([PR #22367](https://github.com/microsoft/fluentui/pull/22367) by beachball)
18
- - Bump @fluentui/react-utilities to v9.0.0-rc.6 ([PR #22367](https://github.com/microsoft/fluentui/pull/22367) by beachball)
19
- - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.4 ([PR #22367](https://github.com/microsoft/fluentui/pull/22367) by beachball)
28
+ - Bump @fluentui/react-theme to v9.0.0-rc.5 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
29
+ - Bump @fluentui/react-utilities to v9.0.0-rc.6 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
30
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.4 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
20
31
 
21
32
  ## [9.0.0-beta.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.9)
22
33
 
23
- Fri, 04 Mar 2022 05:17:37 GMT
34
+ Fri, 04 Mar 2022 05:17:37 GMT
24
35
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.8..@fluentui/react-label_v9.0.0-beta.9)
25
36
 
26
37
  ### Changes
@@ -31,7 +42,7 @@ Fri, 04 Mar 2022 05:17:37 GMT
31
42
 
32
43
  ## [9.0.0-beta.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.8)
33
44
 
34
- Tue, 01 Mar 2022 02:17:36 GMT
45
+ Tue, 01 Mar 2022 02:17:36 GMT
35
46
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.7..@fluentui/react-label_v9.0.0-beta.8)
36
47
 
37
48
  ### Changes
@@ -41,7 +52,7 @@ Tue, 01 Mar 2022 02:17:36 GMT
41
52
 
42
53
  ## [9.0.0-beta.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.7)
43
54
 
44
- Fri, 18 Feb 2022 13:35:32 GMT
55
+ Fri, 18 Feb 2022 13:35:32 GMT
45
56
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.5..@fluentui/react-label_v9.0.0-beta.7)
46
57
 
47
58
  ### Changes
@@ -52,7 +63,7 @@ Fri, 18 Feb 2022 13:35:32 GMT
52
63
 
53
64
  ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.5)
54
65
 
55
- Thu, 10 Feb 2022 08:51:22 GMT
66
+ Thu, 10 Feb 2022 08:51:22 GMT
56
67
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.4..@fluentui/react-label_v9.0.0-beta.5)
57
68
 
58
69
  ### Changes
@@ -65,14 +76,14 @@ Thu, 10 Feb 2022 08:51:22 GMT
65
76
  - Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
66
77
  - 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)
67
78
  - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
68
- - 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)
79
+ - 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)
69
80
  - 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)
70
81
  - Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
71
82
  - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
72
83
 
73
84
  ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.4)
74
85
 
75
- Thu, 25 Nov 2021 08:34:14 GMT
86
+ Thu, 25 Nov 2021 08:34:14 GMT
76
87
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.3..@fluentui/react-label_v9.0.0-beta.4)
77
88
 
78
89
  ### Changes
@@ -86,7 +97,7 @@ Thu, 25 Nov 2021 08:34:14 GMT
86
97
 
87
98
  ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.3)
88
99
 
89
- Fri, 12 Nov 2021 13:25:25 GMT
100
+ Fri, 12 Nov 2021 13:25:25 GMT
90
101
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.2..@fluentui/react-label_v9.0.0-beta.3)
91
102
 
92
103
  ### Changes
@@ -101,7 +112,7 @@ Fri, 12 Nov 2021 13:25:25 GMT
101
112
 
102
113
  ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.2)
103
114
 
104
- Wed, 27 Oct 2021 12:14:18 GMT
115
+ Wed, 27 Oct 2021 12:14:18 GMT
105
116
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.1..@fluentui/react-label_v9.0.0-beta.2)
106
117
 
107
118
  ### Changes
@@ -116,7 +127,7 @@ Wed, 27 Oct 2021 12:14:18 GMT
116
127
 
117
128
  ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.1)
118
129
 
119
- Wed, 06 Oct 2021 10:37:22 GMT
130
+ Wed, 06 Oct 2021 10:37:22 GMT
120
131
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.51..@fluentui/react-label_v9.0.0-beta.1)
121
132
 
122
133
  ### Changes
@@ -130,7 +141,7 @@ Wed, 06 Oct 2021 10:37:22 GMT
130
141
 
131
142
  ## [9.0.0-alpha.51](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.51)
132
143
 
133
- Tue, 05 Oct 2021 12:47:58 GMT
144
+ Tue, 05 Oct 2021 12:47:58 GMT
134
145
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.50..@fluentui/react-label_v9.0.0-alpha.51)
135
146
 
136
147
  ### Changes
@@ -142,7 +153,7 @@ Tue, 05 Oct 2021 12:47:58 GMT
142
153
 
143
154
  ## [9.0.0-alpha.50](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.50)
144
155
 
145
- Tue, 05 Oct 2021 09:28:07 GMT
156
+ Tue, 05 Oct 2021 09:28:07 GMT
146
157
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.49..@fluentui/react-label_v9.0.0-alpha.50)
147
158
 
148
159
  ### Changes
@@ -156,7 +167,7 @@ Tue, 05 Oct 2021 09:28:07 GMT
156
167
 
157
168
  ## [9.0.0-alpha.49](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.49)
158
169
 
159
- Fri, 01 Oct 2021 14:13:08 GMT
170
+ Fri, 01 Oct 2021 14:13:08 GMT
160
171
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.47..@fluentui/react-label_v9.0.0-alpha.49)
161
172
 
162
173
  ### Changes
@@ -170,7 +181,7 @@ Fri, 01 Oct 2021 14:13:08 GMT
170
181
 
171
182
  ## [9.0.0-alpha.47](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.47)
172
183
 
173
- Wed, 29 Sep 2021 08:06:11 GMT
184
+ Wed, 29 Sep 2021 08:06:11 GMT
174
185
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.46..@fluentui/react-label_v9.0.0-alpha.47)
175
186
 
176
187
  ### Changes
@@ -182,7 +193,7 @@ Wed, 29 Sep 2021 08:06:11 GMT
182
193
 
183
194
  ## [9.0.0-alpha.46](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.46)
184
195
 
185
- Mon, 27 Sep 2021 08:06:00 GMT
196
+ Mon, 27 Sep 2021 08:06:00 GMT
186
197
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.45..@fluentui/react-label_v9.0.0-alpha.46)
187
198
 
188
199
  ### Changes
@@ -195,7 +206,7 @@ Mon, 27 Sep 2021 08:06:00 GMT
195
206
 
196
207
  ## [9.0.0-alpha.45](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.45)
197
208
 
198
- Fri, 24 Sep 2021 09:17:17 GMT
209
+ Fri, 24 Sep 2021 09:17:17 GMT
199
210
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.44..@fluentui/react-label_v9.0.0-alpha.45)
200
211
 
201
212
  ### Changes
@@ -208,7 +219,7 @@ Fri, 24 Sep 2021 09:17:17 GMT
208
219
 
209
220
  ## [9.0.0-alpha.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.44)
210
221
 
211
- Thu, 23 Sep 2021 08:21:34 GMT
222
+ Thu, 23 Sep 2021 08:21:34 GMT
212
223
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.43..@fluentui/react-label_v9.0.0-alpha.44)
213
224
 
214
225
  ### Changes
@@ -221,7 +232,7 @@ Thu, 23 Sep 2021 08:21:34 GMT
221
232
 
222
233
  ## [9.0.0-alpha.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.43)
223
234
 
224
- Wed, 22 Sep 2021 10:10:07 GMT
235
+ Wed, 22 Sep 2021 10:10:07 GMT
225
236
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.42..@fluentui/react-label_v9.0.0-alpha.43)
226
237
 
227
238
  ### Changes
@@ -234,7 +245,7 @@ Wed, 22 Sep 2021 10:10:07 GMT
234
245
 
235
246
  ## [9.0.0-alpha.42](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.42)
236
247
 
237
- Tue, 21 Sep 2021 07:42:34 GMT
248
+ Tue, 21 Sep 2021 07:42:34 GMT
238
249
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.41..@fluentui/react-label_v9.0.0-alpha.42)
239
250
 
240
251
  ### Changes
@@ -247,7 +258,7 @@ Tue, 21 Sep 2021 07:42:34 GMT
247
258
 
248
259
  ## [9.0.0-alpha.41](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.41)
249
260
 
250
- Mon, 20 Sep 2021 07:36:26 GMT
261
+ Mon, 20 Sep 2021 07:36:26 GMT
251
262
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.40..@fluentui/react-label_v9.0.0-alpha.41)
252
263
 
253
264
  ### Changes
@@ -256,7 +267,7 @@ Mon, 20 Sep 2021 07:36:26 GMT
256
267
 
257
268
  ## [9.0.0-alpha.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.40)
258
269
 
259
- Fri, 17 Sep 2021 07:35:26 GMT
270
+ Fri, 17 Sep 2021 07:35:26 GMT
260
271
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.39..@fluentui/react-label_v9.0.0-alpha.40)
261
272
 
262
273
  ### Changes
@@ -265,7 +276,7 @@ Fri, 17 Sep 2021 07:35:26 GMT
265
276
 
266
277
  ## [9.0.0-alpha.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.39)
267
278
 
268
- Thu, 16 Sep 2021 07:38:39 GMT
279
+ Thu, 16 Sep 2021 07:38:39 GMT
269
280
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.38..@fluentui/react-label_v9.0.0-alpha.39)
270
281
 
271
282
  ### Changes
@@ -274,7 +285,7 @@ Thu, 16 Sep 2021 07:38:39 GMT
274
285
 
275
286
  ## [9.0.0-alpha.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.38)
276
287
 
277
- Tue, 14 Sep 2021 20:09:02 GMT
288
+ Tue, 14 Sep 2021 20:09:02 GMT
278
289
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.37..@fluentui/react-label_v9.0.0-alpha.38)
279
290
 
280
291
  ### Changes
@@ -283,7 +294,7 @@ Tue, 14 Sep 2021 20:09:02 GMT
283
294
 
284
295
  ## [9.0.0-alpha.37](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.37)
285
296
 
286
- Fri, 10 Sep 2021 16:31:53 GMT
297
+ Fri, 10 Sep 2021 16:31:53 GMT
287
298
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.36..@fluentui/react-label_v9.0.0-alpha.37)
288
299
 
289
300
  ### Changes
@@ -293,7 +304,7 @@ Fri, 10 Sep 2021 16:31:53 GMT
293
304
 
294
305
  ## [9.0.0-alpha.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.36)
295
306
 
296
- Fri, 10 Sep 2021 07:39:51 GMT
307
+ Fri, 10 Sep 2021 07:39:51 GMT
297
308
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.35..@fluentui/react-label_v9.0.0-alpha.36)
298
309
 
299
310
  ### Changes
@@ -302,7 +313,7 @@ Fri, 10 Sep 2021 07:39:51 GMT
302
313
 
303
314
  ## [9.0.0-alpha.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.35)
304
315
 
305
- Mon, 06 Sep 2021 07:34:53 GMT
316
+ Mon, 06 Sep 2021 07:34:53 GMT
306
317
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.34..@fluentui/react-label_v9.0.0-alpha.35)
307
318
 
308
319
  ### Changes
@@ -311,7 +322,7 @@ Mon, 06 Sep 2021 07:34:53 GMT
311
322
 
312
323
  ## [9.0.0-alpha.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.34)
313
324
 
314
- Thu, 02 Sep 2021 07:36:46 GMT
325
+ Thu, 02 Sep 2021 07:36:46 GMT
315
326
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.33..@fluentui/react-label_v9.0.0-alpha.34)
316
327
 
317
328
  ### Patches
@@ -324,7 +335,7 @@ Thu, 02 Sep 2021 07:36:46 GMT
324
335
 
325
336
  ## [9.0.0-alpha.33](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.33)
326
337
 
327
- Wed, 01 Sep 2021 07:39:56 GMT
338
+ Wed, 01 Sep 2021 07:39:56 GMT
328
339
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.32..@fluentui/react-label_v9.0.0-alpha.33)
329
340
 
330
341
  ### Changes
@@ -333,7 +344,7 @@ Wed, 01 Sep 2021 07:39:56 GMT
333
344
 
334
345
  ## [9.0.0-alpha.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.32)
335
346
 
336
- Tue, 31 Aug 2021 07:37:47 GMT
347
+ Tue, 31 Aug 2021 07:37:47 GMT
337
348
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.31..@fluentui/react-label_v9.0.0-alpha.32)
338
349
 
339
350
  ### Changes
@@ -342,7 +353,7 @@ Tue, 31 Aug 2021 07:37:47 GMT
342
353
 
343
354
  ## [9.0.0-alpha.31](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.31)
344
355
 
345
- Fri, 27 Aug 2021 07:33:32 GMT
356
+ Fri, 27 Aug 2021 07:33:32 GMT
346
357
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.30..@fluentui/react-label_v9.0.0-alpha.31)
347
358
 
348
359
  ### Changes
@@ -351,7 +362,7 @@ Fri, 27 Aug 2021 07:33:32 GMT
351
362
 
352
363
  ## [9.0.0-alpha.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.30)
353
364
 
354
- Thu, 26 Aug 2021 07:35:43 GMT
365
+ Thu, 26 Aug 2021 07:35:43 GMT
355
366
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.29..@fluentui/react-label_v9.0.0-alpha.30)
356
367
 
357
368
  ### Changes
@@ -360,7 +371,7 @@ Thu, 26 Aug 2021 07:35:43 GMT
360
371
 
361
372
  ## [9.0.0-alpha.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.29)
362
373
 
363
- Tue, 24 Aug 2021 07:34:48 GMT
374
+ Tue, 24 Aug 2021 07:34:48 GMT
364
375
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.28..@fluentui/react-label_v9.0.0-alpha.29)
365
376
 
366
377
  ### Changes
@@ -369,7 +380,7 @@ Tue, 24 Aug 2021 07:34:48 GMT
369
380
 
370
381
  ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.28)
371
382
 
372
- Fri, 20 Aug 2021 07:37:28 GMT
383
+ Fri, 20 Aug 2021 07:37:28 GMT
373
384
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.27..@fluentui/react-label_v9.0.0-alpha.28)
374
385
 
375
386
  ### Changes
@@ -378,7 +389,7 @@ Fri, 20 Aug 2021 07:37:28 GMT
378
389
 
379
390
  ## [9.0.0-alpha.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.27)
380
391
 
381
- Thu, 19 Aug 2021 07:41:35 GMT
392
+ Thu, 19 Aug 2021 07:41:35 GMT
382
393
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.26..@fluentui/react-label_v9.0.0-alpha.27)
383
394
 
384
395
  ### Changes
@@ -387,7 +398,7 @@ Thu, 19 Aug 2021 07:41:35 GMT
387
398
 
388
399
  ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.26)
389
400
 
390
- Fri, 13 Aug 2021 07:36:34 GMT
401
+ Fri, 13 Aug 2021 07:36:34 GMT
391
402
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.25..@fluentui/react-label_v9.0.0-alpha.26)
392
403
 
393
404
  ### Changes
@@ -396,7 +407,7 @@ Fri, 13 Aug 2021 07:36:34 GMT
396
407
 
397
408
  ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.25)
398
409
 
399
- Wed, 11 Aug 2021 07:34:54 GMT
410
+ Wed, 11 Aug 2021 07:34:54 GMT
400
411
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.24..@fluentui/react-label_v9.0.0-alpha.25)
401
412
 
402
413
  ### Changes
@@ -405,7 +416,7 @@ Wed, 11 Aug 2021 07:34:54 GMT
405
416
 
406
417
  ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.24)
407
418
 
408
- Fri, 06 Aug 2021 07:35:14 GMT
419
+ Fri, 06 Aug 2021 07:35:14 GMT
409
420
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.23..@fluentui/react-label_v9.0.0-alpha.24)
410
421
 
411
422
  ### Changes
@@ -414,7 +425,7 @@ Fri, 06 Aug 2021 07:35:14 GMT
414
425
 
415
426
  ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.23)
416
427
 
417
- Tue, 03 Aug 2021 07:39:30 GMT
428
+ Tue, 03 Aug 2021 07:39:30 GMT
418
429
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.22..@fluentui/react-label_v9.0.0-alpha.23)
419
430
 
420
431
  ### Patches
@@ -429,7 +440,7 @@ Tue, 03 Aug 2021 07:39:30 GMT
429
440
 
430
441
  ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.22)
431
442
 
432
- Mon, 02 Aug 2021 07:36:20 GMT
443
+ Mon, 02 Aug 2021 07:36:20 GMT
433
444
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.21..@fluentui/react-label_v9.0.0-alpha.22)
434
445
 
435
446
  ### Changes
@@ -438,7 +449,7 @@ Mon, 02 Aug 2021 07:36:20 GMT
438
449
 
439
450
  ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.21)
440
451
 
441
- Mon, 26 Jul 2021 07:37:30 GMT
452
+ Mon, 26 Jul 2021 07:37:30 GMT
442
453
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.20..@fluentui/react-label_v9.0.0-alpha.21)
443
454
 
444
455
  ### Changes
@@ -447,7 +458,7 @@ Mon, 26 Jul 2021 07:37:30 GMT
447
458
 
448
459
  ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.20)
449
460
 
450
- Fri, 23 Jul 2021 07:38:19 GMT
461
+ Fri, 23 Jul 2021 07:38:19 GMT
451
462
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.19..@fluentui/react-label_v9.0.0-alpha.20)
452
463
 
453
464
  ### Changes
@@ -456,7 +467,7 @@ Fri, 23 Jul 2021 07:38:19 GMT
456
467
 
457
468
  ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.19)
458
469
 
459
- Thu, 22 Jul 2021 07:36:55 GMT
470
+ Thu, 22 Jul 2021 07:36:55 GMT
460
471
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.18..@fluentui/react-label_v9.0.0-alpha.19)
461
472
 
462
473
  ### Changes
@@ -465,7 +476,7 @@ Thu, 22 Jul 2021 07:36:55 GMT
465
476
 
466
477
  ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.18)
467
478
 
468
- Thu, 15 Jul 2021 07:36:18 GMT
479
+ Thu, 15 Jul 2021 07:36:18 GMT
469
480
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.17..@fluentui/react-label_v9.0.0-alpha.18)
470
481
 
471
482
  ### Changes
@@ -474,7 +485,7 @@ Thu, 15 Jul 2021 07:36:18 GMT
474
485
 
475
486
  ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.17)
476
487
 
477
- Tue, 13 Jul 2021 22:32:58 GMT
488
+ Tue, 13 Jul 2021 22:32:58 GMT
478
489
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.16..@fluentui/react-label_v9.0.0-alpha.17)
479
490
 
480
491
  ### Patches
@@ -487,7 +498,7 @@ Tue, 13 Jul 2021 22:32:58 GMT
487
498
 
488
499
  ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.16)
489
500
 
490
- Tue, 13 Jul 2021 07:35:36 GMT
501
+ Tue, 13 Jul 2021 07:35:36 GMT
491
502
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.15..@fluentui/react-label_v9.0.0-alpha.16)
492
503
 
493
504
  ### Changes
@@ -496,7 +507,7 @@ Tue, 13 Jul 2021 07:35:36 GMT
496
507
 
497
508
  ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.15)
498
509
 
499
- Fri, 09 Jul 2021 07:39:31 GMT
510
+ Fri, 09 Jul 2021 07:39:31 GMT
500
511
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.14..@fluentui/react-label_v9.0.0-alpha.15)
501
512
 
502
513
  ### Patches
@@ -511,7 +522,7 @@ Fri, 09 Jul 2021 07:39:31 GMT
511
522
 
512
523
  ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.14)
513
524
 
514
- Fri, 02 Jul 2021 23:15:55 GMT
525
+ Fri, 02 Jul 2021 23:15:55 GMT
515
526
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.13..@fluentui/react-label_v9.0.0-alpha.14)
516
527
 
517
528
  ### Changes
@@ -520,7 +531,7 @@ Fri, 02 Jul 2021 23:15:55 GMT
520
531
 
521
532
  ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.13)
522
533
 
523
- Fri, 02 Jul 2021 07:37:06 GMT
534
+ Fri, 02 Jul 2021 07:37:06 GMT
524
535
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.12..@fluentui/react-label_v9.0.0-alpha.13)
525
536
 
526
537
  ### Changes
@@ -529,7 +540,7 @@ Fri, 02 Jul 2021 07:37:06 GMT
529
540
 
530
541
  ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.12)
531
542
 
532
- Thu, 01 Jul 2021 07:35:05 GMT
543
+ Thu, 01 Jul 2021 07:35:05 GMT
533
544
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.11..@fluentui/react-label_v9.0.0-alpha.12)
534
545
 
535
546
  ### Changes
@@ -538,7 +549,7 @@ Thu, 01 Jul 2021 07:35:05 GMT
538
549
 
539
550
  ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.11)
540
551
 
541
- Wed, 30 Jun 2021 07:38:35 GMT
552
+ Wed, 30 Jun 2021 07:38:35 GMT
542
553
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.10..@fluentui/react-label_v9.0.0-alpha.11)
543
554
 
544
555
  ### Changes
@@ -547,7 +558,7 @@ Wed, 30 Jun 2021 07:38:35 GMT
547
558
 
548
559
  ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.10)
549
560
 
550
- Tue, 29 Jun 2021 07:33:32 GMT
561
+ Tue, 29 Jun 2021 07:33:32 GMT
551
562
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.9..@fluentui/react-label_v9.0.0-alpha.10)
552
563
 
553
564
  ### Changes
@@ -556,7 +567,7 @@ Tue, 29 Jun 2021 07:33:32 GMT
556
567
 
557
568
  ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.9)
558
569
 
559
- Fri, 18 Jun 2021 07:30:58 GMT
570
+ Fri, 18 Jun 2021 07:30:58 GMT
560
571
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.8..@fluentui/react-label_v9.0.0-alpha.9)
561
572
 
562
573
  ### Changes
@@ -565,7 +576,7 @@ Fri, 18 Jun 2021 07:30:58 GMT
565
576
 
566
577
  ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.8)
567
578
 
568
- Tue, 15 Jun 2021 07:40:20 GMT
579
+ Tue, 15 Jun 2021 07:40:20 GMT
569
580
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.7..@fluentui/react-label_v9.0.0-alpha.8)
570
581
 
571
582
  ### Changes
@@ -574,7 +585,7 @@ Tue, 15 Jun 2021 07:40:20 GMT
574
585
 
575
586
  ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.7)
576
587
 
577
- Wed, 09 Jun 2021 07:33:38 GMT
588
+ Wed, 09 Jun 2021 07:33:38 GMT
578
589
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.6..@fluentui/react-label_v9.0.0-alpha.7)
579
590
 
580
591
  ### Changes
@@ -583,7 +594,7 @@ Wed, 09 Jun 2021 07:33:38 GMT
583
594
 
584
595
  ## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.6)
585
596
 
586
- Mon, 07 Jun 2021 07:38:15 GMT
597
+ Mon, 07 Jun 2021 07:38:15 GMT
587
598
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.5..@fluentui/react-label_v9.0.0-alpha.6)
588
599
 
589
600
  ### Patches
@@ -598,7 +609,7 @@ Mon, 07 Jun 2021 07:38:15 GMT
598
609
 
599
610
  ## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.5)
600
611
 
601
- Fri, 04 Jun 2021 07:37:23 GMT
612
+ Fri, 04 Jun 2021 07:37:23 GMT
602
613
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.4..@fluentui/react-label_v9.0.0-alpha.5)
603
614
 
604
615
  ### Changes
@@ -607,7 +618,7 @@ Fri, 04 Jun 2021 07:37:23 GMT
607
618
 
608
619
  ## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.4)
609
620
 
610
- Thu, 03 Jun 2021 07:36:03 GMT
621
+ Thu, 03 Jun 2021 07:36:03 GMT
611
622
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.3..@fluentui/react-label_v9.0.0-alpha.4)
612
623
 
613
624
  ### Changes
@@ -616,7 +627,7 @@ Thu, 03 Jun 2021 07:36:03 GMT
616
627
 
617
628
  ## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.3)
618
629
 
619
- Wed, 26 May 2021 07:35:43 GMT
630
+ Wed, 26 May 2021 07:35:43 GMT
620
631
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.2..@fluentui/react-label_v9.0.0-alpha.3)
621
632
 
622
633
  ### Changes
@@ -625,7 +636,7 @@ Wed, 26 May 2021 07:35:43 GMT
625
636
 
626
637
  ## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-alpha.2)
627
638
 
628
- Fri, 21 May 2021 07:34:54 GMT
639
+ Fri, 21 May 2021 07:34:54 GMT
629
640
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-alpha.1..@fluentui/react-label_v9.0.0-alpha.2)
630
641
 
631
642
  ### 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": "9.0.0-beta.10",
3
+ "version": "9.0.0-beta.11",
4
4
  "description": "Fluent UI React Label component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -21,8 +21,8 @@
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": {
@@ -32,8 +32,8 @@
32
32
  "@fluentui/scripts": "^1.0.0"
33
33
  },
34
34
  "dependencies": {
35
- "@fluentui/react-theme": "9.0.0-rc.5",
36
- "@fluentui/react-utilities": "9.0.0-rc.6",
35
+ "@fluentui/react-theme": "9.0.0-rc.6",
36
+ "@fluentui/react-utilities": "9.0.0-rc.7",
37
37
  "@griffel/react": "1.0.3",
38
38
  "tslib": "^2.1.0"
39
39
  },