@fluentui/react-tabs 9.5.2 → 9.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -2
- package/dist/index.d.ts +6 -3
- package/lib/components/Tab/Tab.types.js.map +1 -1
- package/lib/components/Tab/useTabStyles.styles.js +292 -34
- package/lib/components/Tab/useTabStyles.styles.js.map +1 -1
- package/lib/components/TabList/TabList.types.js.map +1 -1
- package/lib/components/TabList/useTabListStyles.styles.js +21 -3
- package/lib/components/TabList/useTabListStyles.styles.js.map +1 -1
- package/lib-commonjs/components/Tab/Tab.types.js.map +1 -1
- package/lib-commonjs/components/Tab/useTabStyles.styles.js +382 -50
- package/lib-commonjs/components/Tab/useTabStyles.styles.js.map +1 -1
- package/lib-commonjs/components/TabList/TabList.types.js.map +1 -1
- package/lib-commonjs/components/TabList/useTabListStyles.styles.js +26 -3
- package/lib-commonjs/components/TabList/useTabListStyles.styles.js.map +1 -1
- package/package.json +7 -7
|
@@ -149,25 +149,25 @@ const iconClassNames = {
|
|
|
149
149
|
},
|
|
150
150
|
transparent: {
|
|
151
151
|
De3pzq: "f1c21dwh",
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
B95qlz1: "f9rvdkv",
|
|
153
|
+
B7xitij: "f1051ucx",
|
|
154
154
|
Bptxc3x: "fmmjozx",
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
Bwqhzpy: "fqhzt5g",
|
|
156
|
+
iyk698: "f7l5cgy",
|
|
157
157
|
cl4aha: "fpkze5g",
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
B0q3jbp: "f1iywnoi",
|
|
159
|
+
Be9ayug: "f9n45c4"
|
|
160
160
|
},
|
|
161
161
|
subtle: {
|
|
162
162
|
De3pzq: "fhovq9v",
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
B95qlz1: "f1bifk9c",
|
|
164
|
+
B7xitij: "fo6hitd",
|
|
165
165
|
Bptxc3x: "fmmjozx",
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
Bwqhzpy: "fqhzt5g",
|
|
167
|
+
iyk698: "f7l5cgy",
|
|
168
168
|
cl4aha: "fpkze5g",
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
B0q3jbp: "f1iywnoi",
|
|
170
|
+
Be9ayug: "f9n45c4"
|
|
171
171
|
},
|
|
172
172
|
disabled: {
|
|
173
173
|
De3pzq: "f1c21dwh",
|
|
@@ -177,11 +177,234 @@ const iconClassNames = {
|
|
|
177
177
|
},
|
|
178
178
|
selected: {
|
|
179
179
|
Bptxc3x: "f1cadz5z",
|
|
180
|
-
|
|
181
|
-
|
|
180
|
+
Bwqhzpy: "fwhdxxj",
|
|
181
|
+
iyk698: "fintccb",
|
|
182
182
|
cl4aha: "ffplhdr",
|
|
183
|
-
|
|
184
|
-
|
|
183
|
+
B0q3jbp: "fjo17wb",
|
|
184
|
+
Be9ayug: "f148789c"
|
|
185
|
+
},
|
|
186
|
+
circular: {
|
|
187
|
+
Beyfa6y: 0,
|
|
188
|
+
Bbmb7ep: 0,
|
|
189
|
+
Btl43ni: 0,
|
|
190
|
+
B7oj6ja: 0,
|
|
191
|
+
Dimara: "f44lkw9",
|
|
192
|
+
Bptxc3x: "ftorr8m",
|
|
193
|
+
cl4aha: "f16lqpmv"
|
|
194
|
+
},
|
|
195
|
+
subtleCircular: {
|
|
196
|
+
De3pzq: "f1c21dwh",
|
|
197
|
+
Bgfg5da: 0,
|
|
198
|
+
B9xav0g: 0,
|
|
199
|
+
oivjwe: 0,
|
|
200
|
+
Bn0qgzm: 0,
|
|
201
|
+
B4g9neb: 0,
|
|
202
|
+
zhjwy3: 0,
|
|
203
|
+
wvpqe5: 0,
|
|
204
|
+
ibv6hh: 0,
|
|
205
|
+
u1mtju: 0,
|
|
206
|
+
h3c5rm: 0,
|
|
207
|
+
vrafjx: 0,
|
|
208
|
+
Bekrc4i: 0,
|
|
209
|
+
i8vvqc: 0,
|
|
210
|
+
g2u3we: 0,
|
|
211
|
+
icvyot: 0,
|
|
212
|
+
B4j52fo: 0,
|
|
213
|
+
irswps: "fp7rvkm",
|
|
214
|
+
sj55zd: "fkfq4zb",
|
|
215
|
+
B95qlz1: "f1yywxnv",
|
|
216
|
+
Eo63ln: 0,
|
|
217
|
+
r9osk6: 0,
|
|
218
|
+
Itrz8y: 0,
|
|
219
|
+
zeg6vx: 0,
|
|
220
|
+
l65xgk: 0,
|
|
221
|
+
Bw4olcx: 0,
|
|
222
|
+
Folb0i: 0,
|
|
223
|
+
I2h8y4: 0,
|
|
224
|
+
Bgxgoyi: 0,
|
|
225
|
+
Bvlkotb: 0,
|
|
226
|
+
Fwyncl: 0,
|
|
227
|
+
Byh5edv: 0,
|
|
228
|
+
Becqvjq: 0,
|
|
229
|
+
uumbiq: 0,
|
|
230
|
+
B73q3dg: 0,
|
|
231
|
+
Bblwbaf: 0,
|
|
232
|
+
B0ezav: "ft57sj0",
|
|
233
|
+
r4wkhp: "f1fcoy83",
|
|
234
|
+
B7xitij: "f1lzpamt",
|
|
235
|
+
d3wsvi: 0,
|
|
236
|
+
Hdqn7s: 0,
|
|
237
|
+
zu5y1p: 0,
|
|
238
|
+
owqphb: 0,
|
|
239
|
+
g9c53k: 0,
|
|
240
|
+
Btmu08z: 0,
|
|
241
|
+
Bthxvy6: 0,
|
|
242
|
+
gluvuq: 0,
|
|
243
|
+
tb88gp: 0,
|
|
244
|
+
wns6jk: 0,
|
|
245
|
+
kdfdk4: 0,
|
|
246
|
+
Bbw008l: 0,
|
|
247
|
+
Bayi1ib: 0,
|
|
248
|
+
B1kkfu3: 0,
|
|
249
|
+
J1oqyp: 0,
|
|
250
|
+
kem6az: 0,
|
|
251
|
+
goa3yj: "fhn220o",
|
|
252
|
+
p743kt: "f15qf7sh"
|
|
253
|
+
},
|
|
254
|
+
subtleCircularSelected: {
|
|
255
|
+
De3pzq: "f16xkysk",
|
|
256
|
+
Bgfg5da: 0,
|
|
257
|
+
B9xav0g: 0,
|
|
258
|
+
oivjwe: 0,
|
|
259
|
+
Bn0qgzm: 0,
|
|
260
|
+
B4g9neb: 0,
|
|
261
|
+
zhjwy3: 0,
|
|
262
|
+
wvpqe5: 0,
|
|
263
|
+
ibv6hh: 0,
|
|
264
|
+
u1mtju: 0,
|
|
265
|
+
h3c5rm: 0,
|
|
266
|
+
vrafjx: 0,
|
|
267
|
+
Bekrc4i: 0,
|
|
268
|
+
i8vvqc: 0,
|
|
269
|
+
g2u3we: 0,
|
|
270
|
+
icvyot: 0,
|
|
271
|
+
B4j52fo: 0,
|
|
272
|
+
irswps: "f1c2pc3t",
|
|
273
|
+
sj55zd: "faj9fo0",
|
|
274
|
+
B95qlz1: "fsm7zmf",
|
|
275
|
+
Eo63ln: 0,
|
|
276
|
+
r9osk6: 0,
|
|
277
|
+
Itrz8y: 0,
|
|
278
|
+
zeg6vx: 0,
|
|
279
|
+
l65xgk: 0,
|
|
280
|
+
Bw4olcx: 0,
|
|
281
|
+
Folb0i: 0,
|
|
282
|
+
I2h8y4: 0,
|
|
283
|
+
Bgxgoyi: 0,
|
|
284
|
+
Bvlkotb: 0,
|
|
285
|
+
Fwyncl: 0,
|
|
286
|
+
Byh5edv: 0,
|
|
287
|
+
Becqvjq: 0,
|
|
288
|
+
uumbiq: 0,
|
|
289
|
+
B73q3dg: 0,
|
|
290
|
+
Bblwbaf: 0,
|
|
291
|
+
B0ezav: "f1wo0sfq",
|
|
292
|
+
r4wkhp: "f1afuynh",
|
|
293
|
+
B7xitij: "f94ddyl",
|
|
294
|
+
d3wsvi: 0,
|
|
295
|
+
Hdqn7s: 0,
|
|
296
|
+
zu5y1p: 0,
|
|
297
|
+
owqphb: 0,
|
|
298
|
+
g9c53k: 0,
|
|
299
|
+
Btmu08z: 0,
|
|
300
|
+
Bthxvy6: 0,
|
|
301
|
+
gluvuq: 0,
|
|
302
|
+
tb88gp: 0,
|
|
303
|
+
wns6jk: 0,
|
|
304
|
+
kdfdk4: 0,
|
|
305
|
+
Bbw008l: 0,
|
|
306
|
+
Bayi1ib: 0,
|
|
307
|
+
B1kkfu3: 0,
|
|
308
|
+
J1oqyp: 0,
|
|
309
|
+
kem6az: 0,
|
|
310
|
+
goa3yj: "fmle6oo",
|
|
311
|
+
p743kt: "f1d3itm4"
|
|
312
|
+
},
|
|
313
|
+
subtleCircularDisabled: {
|
|
314
|
+
De3pzq: "f1c21dwh",
|
|
315
|
+
sj55zd: "f1s2aq7o",
|
|
316
|
+
Bgfg5da: 0,
|
|
317
|
+
B9xav0g: 0,
|
|
318
|
+
oivjwe: 0,
|
|
319
|
+
Bn0qgzm: 0,
|
|
320
|
+
B4g9neb: 0,
|
|
321
|
+
zhjwy3: 0,
|
|
322
|
+
wvpqe5: 0,
|
|
323
|
+
ibv6hh: 0,
|
|
324
|
+
u1mtju: 0,
|
|
325
|
+
h3c5rm: 0,
|
|
326
|
+
vrafjx: 0,
|
|
327
|
+
Bekrc4i: 0,
|
|
328
|
+
i8vvqc: 0,
|
|
329
|
+
g2u3we: 0,
|
|
330
|
+
icvyot: 0,
|
|
331
|
+
B4j52fo: 0,
|
|
332
|
+
irswps: "fp7rvkm"
|
|
333
|
+
},
|
|
334
|
+
subtleCircularDisabledSelected: {
|
|
335
|
+
Bgfg5da: 0,
|
|
336
|
+
B9xav0g: 0,
|
|
337
|
+
oivjwe: 0,
|
|
338
|
+
Bn0qgzm: 0,
|
|
339
|
+
B4g9neb: 0,
|
|
340
|
+
zhjwy3: 0,
|
|
341
|
+
wvpqe5: 0,
|
|
342
|
+
ibv6hh: 0,
|
|
343
|
+
u1mtju: 0,
|
|
344
|
+
h3c5rm: 0,
|
|
345
|
+
vrafjx: 0,
|
|
346
|
+
Bekrc4i: 0,
|
|
347
|
+
i8vvqc: 0,
|
|
348
|
+
g2u3we: 0,
|
|
349
|
+
icvyot: 0,
|
|
350
|
+
B4j52fo: 0,
|
|
351
|
+
irswps: "fegtqic"
|
|
352
|
+
},
|
|
353
|
+
filledCircular: {
|
|
354
|
+
De3pzq: "f16xq7d1",
|
|
355
|
+
sj55zd: "fkfq4zb",
|
|
356
|
+
B95qlz1: "fwwxidx",
|
|
357
|
+
r4wkhp: "f1fcoy83",
|
|
358
|
+
B7xitij: "f14i52sd",
|
|
359
|
+
p743kt: "f15qf7sh"
|
|
360
|
+
},
|
|
361
|
+
filledCircularSelected: {
|
|
362
|
+
De3pzq: "ffp7eso",
|
|
363
|
+
sj55zd: "f1phragk",
|
|
364
|
+
B95qlz1: "f1lm9dni",
|
|
365
|
+
r4wkhp: "f1mn5ei1",
|
|
366
|
+
B7xitij: "f1g6ncd0",
|
|
367
|
+
p743kt: "fl71aob"
|
|
368
|
+
},
|
|
369
|
+
filledCircularDisabled: {
|
|
370
|
+
De3pzq: "f1bg9a2p",
|
|
371
|
+
Bgfg5da: 0,
|
|
372
|
+
B9xav0g: 0,
|
|
373
|
+
oivjwe: 0,
|
|
374
|
+
Bn0qgzm: 0,
|
|
375
|
+
B4g9neb: 0,
|
|
376
|
+
zhjwy3: 0,
|
|
377
|
+
wvpqe5: 0,
|
|
378
|
+
ibv6hh: 0,
|
|
379
|
+
u1mtju: 0,
|
|
380
|
+
h3c5rm: 0,
|
|
381
|
+
vrafjx: 0,
|
|
382
|
+
Bekrc4i: 0,
|
|
383
|
+
i8vvqc: 0,
|
|
384
|
+
g2u3we: 0,
|
|
385
|
+
icvyot: 0,
|
|
386
|
+
B4j52fo: 0,
|
|
387
|
+
irswps: "fp7rvkm",
|
|
388
|
+
sj55zd: "f1s2aq7o"
|
|
389
|
+
},
|
|
390
|
+
filledCircularDisabledSelected: {
|
|
391
|
+
Bgfg5da: 0,
|
|
392
|
+
B9xav0g: 0,
|
|
393
|
+
oivjwe: 0,
|
|
394
|
+
Bn0qgzm: 0,
|
|
395
|
+
B4g9neb: 0,
|
|
396
|
+
zhjwy3: 0,
|
|
397
|
+
wvpqe5: 0,
|
|
398
|
+
ibv6hh: 0,
|
|
399
|
+
u1mtju: 0,
|
|
400
|
+
h3c5rm: 0,
|
|
401
|
+
vrafjx: 0,
|
|
402
|
+
Bekrc4i: 0,
|
|
403
|
+
i8vvqc: 0,
|
|
404
|
+
g2u3we: 0,
|
|
405
|
+
icvyot: 0,
|
|
406
|
+
B4j52fo: 0,
|
|
407
|
+
irswps: "fegtqic"
|
|
185
408
|
}
|
|
186
409
|
}, {
|
|
187
410
|
d: [
|
|
@@ -256,30 +479,116 @@ const iconClassNames = {
|
|
|
256
479
|
}
|
|
257
480
|
],
|
|
258
481
|
".f1c21dwh{background-color:var(--colorTransparentBackground);}",
|
|
482
|
+
".f9rvdkv:enabled:hover{background-color:var(--colorTransparentBackgroundHover);}",
|
|
483
|
+
".f1051ucx:enabled:active{background-color:var(--colorTransparentBackgroundPressed);}",
|
|
259
484
|
".fmmjozx .fui-Tab__icon{color:var(--colorNeutralForeground2);}",
|
|
485
|
+
".fqhzt5g:enabled:hover .fui-Tab__icon{color:var(--colorNeutralForeground2Hover);}",
|
|
486
|
+
".f7l5cgy:enabled:active .fui-Tab__icon{color:var(--colorNeutralForeground2Pressed);}",
|
|
260
487
|
".fpkze5g .fui-Tab__content{color:var(--colorNeutralForeground2);}",
|
|
488
|
+
".f1iywnoi:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground2Hover);}",
|
|
489
|
+
".f9n45c4:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground2Pressed);}",
|
|
261
490
|
".fhovq9v{background-color:var(--colorSubtleBackground);}",
|
|
491
|
+
".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",
|
|
492
|
+
".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",
|
|
262
493
|
".fato7r6 .fui-Tab__icon{color:var(--colorNeutralForegroundDisabled);}",
|
|
263
494
|
".fao1bnu .fui-Tab__content{color:var(--colorNeutralForegroundDisabled);}",
|
|
264
495
|
".fdrzuqr{cursor:not-allowed;}",
|
|
265
496
|
".f1cadz5z .fui-Tab__icon{color:var(--colorCompoundBrandForeground1);}",
|
|
266
|
-
".
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
".
|
|
270
|
-
".
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
".
|
|
278
|
-
".
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
497
|
+
".fwhdxxj:enabled:hover .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Hover);}",
|
|
498
|
+
".fintccb:enabled:active .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Pressed);}",
|
|
499
|
+
".ffplhdr .fui-Tab__content{color:var(--colorNeutralForeground1);}",
|
|
500
|
+
".fjo17wb:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground1Hover);}",
|
|
501
|
+
".f148789c:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground1Pressed);}",
|
|
502
|
+
[
|
|
503
|
+
".f44lkw9{border-radius:var(--borderRadiusCircular);}",
|
|
504
|
+
{
|
|
505
|
+
p: -1
|
|
506
|
+
}
|
|
507
|
+
],
|
|
508
|
+
".ftorr8m .fui-Tab__icon{color:inherit;}",
|
|
509
|
+
".f16lqpmv .fui-Tab__content{color:inherit;}",
|
|
510
|
+
[
|
|
511
|
+
".fp7rvkm{border:solid var(--strokeWidthThin) var(--colorTransparentStroke);}",
|
|
512
|
+
{
|
|
513
|
+
p: -2
|
|
514
|
+
}
|
|
515
|
+
],
|
|
516
|
+
".fkfq4zb{color:var(--colorNeutralForeground2);}",
|
|
517
|
+
".f1yywxnv:enabled:hover{background-color:var(--colorNeutralBackground1Hover);}",
|
|
518
|
+
[
|
|
519
|
+
".ft57sj0:enabled:hover{border:solid var(--strokeWidthThin) var(--colorNeutralStroke1Hover);}",
|
|
520
|
+
{
|
|
521
|
+
p: -2
|
|
522
|
+
}
|
|
523
|
+
],
|
|
524
|
+
".f1fcoy83:enabled:hover{color:var(--colorNeutralForeground2Hover);}",
|
|
525
|
+
".f1lzpamt:enabled:active{background-color:var(--colorNeutralBackground1Pressed);}",
|
|
526
|
+
[
|
|
527
|
+
".fhn220o:enabled:active{border:solid var(--strokeWidthThin) var(--colorNeutralStroke1Pressed);}",
|
|
528
|
+
{
|
|
529
|
+
p: -2
|
|
530
|
+
}
|
|
531
|
+
],
|
|
532
|
+
".f15qf7sh:enabled:active{color:var(--colorNeutralForeground2Pressed);}",
|
|
533
|
+
".f16xkysk{background-color:var(--colorBrandBackground2);}",
|
|
534
|
+
[
|
|
535
|
+
".f1c2pc3t{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStroke);}",
|
|
536
|
+
{
|
|
537
|
+
p: -2
|
|
538
|
+
}
|
|
539
|
+
],
|
|
540
|
+
".faj9fo0{color:var(--colorBrandForeground2);}",
|
|
541
|
+
".fsm7zmf:enabled:hover{background-color:var(--colorBrandBackground2Hover);}",
|
|
542
|
+
[
|
|
543
|
+
".f1wo0sfq:enabled:hover{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStrokeHover);}",
|
|
544
|
+
{
|
|
545
|
+
p: -2
|
|
546
|
+
}
|
|
547
|
+
],
|
|
548
|
+
".f1afuynh:enabled:hover{color:var(--colorBrandForeground2Hover);}",
|
|
549
|
+
".f94ddyl:enabled:active{background-color:var(--colorBrandBackground2Pressed);}",
|
|
550
|
+
[
|
|
551
|
+
".fmle6oo:enabled:active{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStrokePressed);}",
|
|
552
|
+
{
|
|
553
|
+
p: -2
|
|
554
|
+
}
|
|
555
|
+
],
|
|
556
|
+
".f1d3itm4:enabled:active{color:var(--colorBrandForeground2Pressed);}",
|
|
557
|
+
".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",
|
|
558
|
+
[
|
|
559
|
+
".fp7rvkm{border:solid var(--strokeWidthThin) var(--colorTransparentStroke);}",
|
|
560
|
+
{
|
|
561
|
+
p: -2
|
|
562
|
+
}
|
|
563
|
+
],
|
|
564
|
+
[
|
|
565
|
+
".fegtqic{border:solid var(--strokeWidthThin) var(--colorNeutralStrokeDisabled);}",
|
|
566
|
+
{
|
|
567
|
+
p: -2
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
".f16xq7d1{background-color:var(--colorNeutralBackground3);}",
|
|
571
|
+
".fwwxidx:enabled:hover{background-color:var(--colorNeutralBackground3Hover);}",
|
|
572
|
+
".f14i52sd:enabled:active{background-color:var(--colorNeutralBackground3Pressed);}",
|
|
573
|
+
".ffp7eso{background-color:var(--colorBrandBackground);}",
|
|
574
|
+
".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",
|
|
575
|
+
".f1lm9dni:enabled:hover{background-color:var(--colorBrandBackgroundHover);}",
|
|
576
|
+
".f1mn5ei1:enabled:hover{color:var(--colorNeutralForegroundOnBrand);}",
|
|
577
|
+
".f1g6ncd0:enabled:active{background-color:var(--colorBrandBackgroundPressed);}",
|
|
578
|
+
".fl71aob:enabled:active{color:var(--colorNeutralForegroundOnBrand);}",
|
|
579
|
+
".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",
|
|
580
|
+
[
|
|
581
|
+
".fp7rvkm{border:solid var(--strokeWidthThin) var(--colorTransparentStroke);}",
|
|
582
|
+
{
|
|
583
|
+
p: -2
|
|
584
|
+
}
|
|
585
|
+
],
|
|
586
|
+
[
|
|
587
|
+
".fegtqic{border:solid var(--strokeWidthThin) var(--colorNeutralStrokeDisabled);}",
|
|
588
|
+
{
|
|
589
|
+
p: -2
|
|
590
|
+
}
|
|
591
|
+
]
|
|
283
592
|
]
|
|
284
593
|
});
|
|
285
594
|
/**
|
|
@@ -477,11 +786,11 @@ const useActiveIndicatorStyles = /*#__PURE__*/ (0, _react.__styles)({
|
|
|
477
786
|
},
|
|
478
787
|
selected: {
|
|
479
788
|
Bjyk6c5: "f1ksivud",
|
|
480
|
-
|
|
481
|
-
|
|
789
|
+
Bej4dhw: "f1476jrx",
|
|
790
|
+
B7wqxwa: "f18q216b",
|
|
482
791
|
f7digc: "fy7ktjt",
|
|
483
|
-
|
|
484
|
-
|
|
792
|
+
Bvuzv5k: "f1033yux",
|
|
793
|
+
k4sdgo: "fkh9b8o"
|
|
485
794
|
},
|
|
486
795
|
disabled: {
|
|
487
796
|
Bjyk6c5: "f13lkzet"
|
|
@@ -561,6 +870,8 @@ const useActiveIndicatorStyles = /*#__PURE__*/ (0, _react.__styles)({
|
|
|
561
870
|
".f13zj6fq::after{content:\"\";}",
|
|
562
871
|
".f1mdlcz9::after{position:absolute;}",
|
|
563
872
|
".f1ksivud::after{background-color:var(--colorCompoundBrandStroke);}",
|
|
873
|
+
".f1476jrx:enabled:hover::after{background-color:var(--colorCompoundBrandStrokeHover);}",
|
|
874
|
+
".f18q216b:enabled:active::after{background-color:var(--colorCompoundBrandStrokePressed);}",
|
|
564
875
|
".f13lkzet::after{background-color:var(--colorNeutralForegroundDisabled);}",
|
|
565
876
|
".fo72kxq::after{bottom:0;}",
|
|
566
877
|
".f9bb2ob::after{height:var(--strokeWidthThick);}",
|
|
@@ -579,12 +890,6 @@ const useActiveIndicatorStyles = /*#__PURE__*/ (0, _react.__styles)({
|
|
|
579
890
|
".f1w7dm5g::after{bottom:var(--spacingVerticalMNudge);}",
|
|
580
891
|
".f1p6em4m::after{top:var(--spacingVerticalMNudge);}"
|
|
581
892
|
],
|
|
582
|
-
h: [
|
|
583
|
-
".f1eytvvh:hover::after{background-color:var(--colorCompoundBrandStrokeHover);}"
|
|
584
|
-
],
|
|
585
|
-
a: [
|
|
586
|
-
".fuaa9s:active::after{background-color:var(--colorCompoundBrandStrokePressed);}"
|
|
587
|
-
],
|
|
588
893
|
m: [
|
|
589
894
|
[
|
|
590
895
|
"@media (forced-colors: active){.fy7ktjt::after{background-color:ButtonText;}}",
|
|
@@ -593,13 +898,13 @@ const useActiveIndicatorStyles = /*#__PURE__*/ (0, _react.__styles)({
|
|
|
593
898
|
}
|
|
594
899
|
],
|
|
595
900
|
[
|
|
596
|
-
"@media (forced-colors: active){.
|
|
901
|
+
"@media (forced-colors: active){.f1033yux:enabled:hover::after{background-color:ButtonText;}}",
|
|
597
902
|
{
|
|
598
903
|
m: "(forced-colors: active)"
|
|
599
904
|
}
|
|
600
905
|
],
|
|
601
906
|
[
|
|
602
|
-
"@media (forced-colors: active){.
|
|
907
|
+
"@media (forced-colors: active){.fkh9b8o:enabled:active::after{background-color:ButtonText;}}",
|
|
603
908
|
{
|
|
604
909
|
m: "(forced-colors: active)"
|
|
605
910
|
}
|
|
@@ -750,10 +1055,17 @@ const useTabIndicatorStyles_unstable = (state)=>{
|
|
|
750
1055
|
const rootStyles = useRootStyles();
|
|
751
1056
|
const pendingIndicatorStyles = usePendingIndicatorStyles();
|
|
752
1057
|
const activeIndicatorStyles = useActiveIndicatorStyles();
|
|
753
|
-
const { disabled, selected, size, vertical } = state;
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
1058
|
+
const { appearance, disabled, selected, size, vertical } = state;
|
|
1059
|
+
const classes = [
|
|
1060
|
+
tabClassNames.root,
|
|
1061
|
+
rootStyles.root
|
|
1062
|
+
];
|
|
1063
|
+
if (appearance !== 'subtle-circular' && appearance !== 'filled-circular') {
|
|
1064
|
+
classes.push(// pending indicator (before pseudo element)
|
|
1065
|
+
pendingIndicatorStyles.base, size === 'small' && (vertical ? pendingIndicatorStyles.smallVertical : pendingIndicatorStyles.smallHorizontal), size === 'medium' && (vertical ? pendingIndicatorStyles.mediumVertical : pendingIndicatorStyles.mediumHorizontal), size === 'large' && (vertical ? pendingIndicatorStyles.largeVertical : pendingIndicatorStyles.largeHorizontal), disabled && pendingIndicatorStyles.disabled, // active indicator (after pseudo element)
|
|
1066
|
+
selected && activeIndicatorStyles.base, selected && !disabled && activeIndicatorStyles.selected, selected && size === 'small' && (vertical ? activeIndicatorStyles.smallVertical : activeIndicatorStyles.smallHorizontal), selected && size === 'medium' && (vertical ? activeIndicatorStyles.mediumVertical : activeIndicatorStyles.mediumHorizontal), selected && size === 'large' && (vertical ? activeIndicatorStyles.largeVertical : activeIndicatorStyles.largeHorizontal), selected && disabled && activeIndicatorStyles.disabled);
|
|
1067
|
+
}
|
|
1068
|
+
state.root.className = (0, _react.mergeClasses)(...classes, state.root.className);
|
|
757
1069
|
(0, _useTabAnimatedIndicatorstyles.useTabAnimatedIndicatorStyles_unstable)(state);
|
|
758
1070
|
return state;
|
|
759
1071
|
};
|
|
@@ -762,7 +1074,27 @@ const useTabButtonStyles_unstable = (state, slot)=>{
|
|
|
762
1074
|
const rootStyles = useRootStyles();
|
|
763
1075
|
const focusStyles = useFocusStyles();
|
|
764
1076
|
const { appearance, disabled, selected, size, vertical } = state;
|
|
765
|
-
|
|
1077
|
+
const isSubtleCircular = appearance === 'subtle-circular';
|
|
1078
|
+
const isFilledCircular = appearance === 'filled-circular';
|
|
1079
|
+
const isCircular = isSubtleCircular || isFilledCircular;
|
|
1080
|
+
const circularAppearance = [
|
|
1081
|
+
rootStyles.circular,
|
|
1082
|
+
// subtle-circular appearance
|
|
1083
|
+
isSubtleCircular && rootStyles.subtleCircular,
|
|
1084
|
+
selected && isSubtleCircular && rootStyles.subtleCircularSelected,
|
|
1085
|
+
disabled && isSubtleCircular && rootStyles.subtleCircularDisabled,
|
|
1086
|
+
selected && disabled && isSubtleCircular && rootStyles.subtleCircularDisabledSelected,
|
|
1087
|
+
// filled-circular appearance
|
|
1088
|
+
isFilledCircular && rootStyles.filledCircular,
|
|
1089
|
+
selected && isFilledCircular && rootStyles.filledCircularSelected,
|
|
1090
|
+
disabled && isFilledCircular && rootStyles.filledCircularDisabled,
|
|
1091
|
+
selected && disabled && isFilledCircular && rootStyles.filledCircularDisabledSelected
|
|
1092
|
+
];
|
|
1093
|
+
slot.className = (0, _react.mergeClasses)(rootStyles.button, // orientation
|
|
1094
|
+
vertical ? rootStyles.vertical : rootStyles.horizontal, // size
|
|
1095
|
+
size === 'small' && (vertical ? rootStyles.smallVertical : rootStyles.smallHorizontal), size === 'medium' && (vertical ? rootStyles.mediumVertical : rootStyles.mediumHorizontal), size === 'large' && (vertical ? rootStyles.largeVertical : rootStyles.largeHorizontal), focusStyles.base, !disabled && appearance === 'subtle' && rootStyles.subtle, !disabled && appearance === 'transparent' && rootStyles.transparent, ...isCircular ? circularAppearance : [
|
|
1096
|
+
!disabled && selected && rootStyles.selected
|
|
1097
|
+
], disabled && rootStyles.disabled, slot.className);
|
|
766
1098
|
return state;
|
|
767
1099
|
};
|
|
768
1100
|
const useTabContentStyles_unstable = (state)=>{
|