@ni/nimble-components 19.6.0 → 19.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1169,7 +1169,7 @@ const Ur=ti.create(Sr($s)).withDefault((e=>cs(Tc(e),.2)))
1169
1169
  ti.create(Sr(Cs)).withDefault((e=>Ec(Tc(e))))
1170
1170
  const Gr=ti.create(Sr(ks)).withDefault((e=>cs(Tc(e),.15))),Wr=ti.create(Sr(Ss)).withDefault((e=>cs(function(e){return Fc(e,Xn,qn,Un)}(e),.1)))
1171
1171
  ti.create(Sr(_s)).withDefault((e=>cs(function(e){return Fc(e,Xn,qn,Un)}(e),.15)))
1172
- const Kr=ti.create(Sr(Is)).withDefault((e=>Hc(e))),Xr=ti.create(Sr(Rs)).withDefault((e=>Ec(Hc(e)))),Yr=ti.create(Sr(Ms)).withDefault((e=>Vc(e))),Qr=ti.create(Sr(As)).withDefault((e=>function(e){return Fc(e,es,Ln,Un)}(e))),Jr=ti.create(Sr(Es)).withDefault((e=>function(e){return Fc(e,zn,Bn,Un)}(e))),ea=ti.create(Sr(Os)).withDefault((e=>function(e){return Fc(e,Dn,Tn,Un)}(e))),ta=ti.create(Sr(Fs)).withDefault((e=>Fc(e,Qn,Qn,Un))),oa=ti.create(Sr(Vs)).withDefault((e=>Fc(e,Xn,qn,Un)))
1172
+ const Kr=ti.create(Sr(Is)).withDefault((e=>Hc(e))),Xr=ti.create(Sr(Rs)).withDefault((e=>Ec(Hc(e)))),Yr=ti.create(Sr(Ms)).withDefault((e=>Vc(e))),Qr=ti.create(Sr(As)).withDefault((e=>function(e){return Fc(e,es,Ln,Un)}(e))),Jr=ti.create(Sr(Es)).withDefault((e=>function(e){return Fc(e,zn,Bn,Un)}(e))),ea=ti.create(Sr(Os)).withDefault((e=>function(e){return Fc(e,Dn,Tn,Un)}(e))),ta=ti.create(Sr(Fs)).withDefault((e=>Fc(e,Qn,os,Un))),oa=ti.create(Sr(Vs)).withDefault((e=>Fc(e,Xn,qn,Un)))
1173
1173
  ti.create(Sr(Hs)).withDefault((e=>function(e){switch(Lr.getValueFor(e)){case gs:return ds
1174
1174
  case vs:return hs
1175
1175
  case ms:return us
@@ -1186,7 +1186,7 @@ const pa=ti.create(Sr($r)).withDefault((e=>`0px 2px 4px ${cs(Fc(e,Kn,Kn,Kn),.16)
1186
1186
  Oc(er,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Noto Serif","400","25px","32px","Noto Serif Fallback"),Oc(Js,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Noto Serif","400","29.100000381469727px","40px","Noto Serif Fallback"),Oc(or,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","400","25px","32px","Source Sans Pro Fallback")
1187
1187
  const[va,ma,fa,ba,wa,xa,ya,$a]=Oc(ir,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","400","22px","28px","Source Sans Pro Fallback")
1188
1188
  Oc(nr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","400","19px","24px","Source Sans Pro Fallback"),Oc(sr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","300","16px","20px","Source Sans Pro Fallback")
1189
- const[Ca,ka,Sa,_a,Ia,Ra,Ma,Aa]=Oc(rr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","300","12.800000190734863px","16px","Source Sans Pro Fallback"),[Ea,Oa,Fa,Va,Ha,Pa,Ta,Da]=Oc(ar,(e=>Pc(e)),(e=>cs(Pc(e),.3)),is,ns,ss,rs,Zr),[La,za,Ba,Na,Za,qa,ja,Ua]=Oc(lr,(e=>Fc(e,ts,os,cs(Un,.6))),(e=>cs(Pc(e),.3)),is,ns,ss,rs,Zr),[Ga,Wa,Ka,Xa,Ya,Qa,Ja,el]=Oc(cr,(e=>Fc(e,ts,os,os)),(e=>cs(Pc(e),.3)),is,ns,ss,rs,Zr),[tl,ol,il,nl,sl,rl,al,ll]=Oc(dr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),is,ns,ss,rs,Zr),[cl,dl,hl,ul,pl,gl,vl,ml]=Oc(hr,(e=>cs(Pc(e),.6)),(e=>cs(Pc(e),.3)),"Source Sans Pro","400","14px","18px","Source Sans Pro Fallback"),[fl,bl,wl,xl,yl,$l,Cl,kl]=Oc(ur,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","600","14px","18px","Source Sans Pro Fallback"),[Sl,_l,Il,Rl,Ml,Al,El,Ol]=Oc(pr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","400","14px","18px","Source Sans Pro Fallback"),[Fl,Vl,Hl,Pl,Tl,Dl,Ll,zl]=Oc(gr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","600","11px","16px","Source Sans Pro Fallback"),[Bl,Nl,Zl,ql,jl,Ul,Gl,Wl]=Oc(vr,(e=>cs(Pc(e),.6)),(e=>cs(Pc(e),.3)),"Source Sans Pro","600","11px","16px","Source Sans Pro Fallback"),[Kl,Xl,Yl,Ql,Jl,ec,tc,oc]=Oc(mr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","400","12.800000190734863px","16px","Source Sans Pro Fallback"),[ic,nc,sc,rc,ac,lc,cc,dc]=Oc(fr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","400","11px",as,"Source Sans Pro Fallback"),[hc,uc,pc,gc,vc,mc,fc,bc]=Oc(wr,(e=>Vc(e)),(e=>cs(Vc(e),.3)),"Source Sans Pro","400","11px",as,"Source Sans Pro Fallback"),[wc,xc,yc,$c,Cc,kc,Sc,_c]=Oc(tr,(e=>cs(Pc(e),.6)),(e=>cs(Pc(e),.3)),"Source Sans Pro","600","12.800000190734863px",as,"Source Sans Pro Fallback"),Ic=ti.create(Sr(qs)).withDefault("uppercase"),Rc=ti.create(Sr(Xs)).withDefault("0.075s"),Mc=ti.create(Sr(Ys)).withDefault("0.15s"),Ac=ti.create(Sr(Qs)).withDefault(ls)
1189
+ const[Ca,ka,Sa,_a,Ia,Ra,Ma,Aa]=Oc(rr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","300","12.800000190734863px","16px","Source Sans Pro Fallback"),[Ea,Oa,Fa,Va,Ha,Pa,Ta,Da]=Oc(ar,(e=>Pc(e)),(e=>cs(Pc(e),.3)),is,ns,ss,rs,Zr),[La,za,Ba,Na,Za,qa,ja,Ua]=Oc(lr,(e=>Fc(e,ts,os,cs(Un,.6))),(e=>cs(Pc(e),.3)),is,ns,ss,rs,Zr),[Ga,Wa,Ka,Xa,Ya,Qa,Ja,el]=Oc(cr,(e=>Fc(e,ts,os,os)),(e=>cs(Pc(e),.3)),is,ns,ss,rs,Zr),[tl,ol,il,nl,sl,rl,al,ll]=Oc(dr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),is,ns,ss,rs,Zr),[cl,dl,hl,ul,pl,gl,vl,ml]=Oc(hr,(e=>cs(Pc(e),.6)),(e=>cs(Pc(e),.3)),"Source Sans Pro","400","14px","18px","Source Sans Pro Fallback"),[fl,bl,wl,xl,yl,$l,Cl,kl]=Oc(ur,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","600","14px","18px","Source Sans Pro Fallback"),[Sl,_l,Il,Rl,Ml,Al,El,Ol]=Oc(pr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","400","14px","18px","Source Sans Pro Fallback"),[Fl,Vl,Hl,Pl,Tl,Dl,Ll,zl]=Oc(gr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","600","11px","16px","Source Sans Pro Fallback"),[Bl,Nl,Zl,ql,jl,Ul,Gl,Wl]=Oc(vr,(e=>cs(Pc(e),.6)),(e=>cs(Pc(e),.3)),"Source Sans Pro","600","11px","16px","Source Sans Pro Fallback"),[Kl,Xl,Yl,Ql,Jl,ec,tc,oc]=Oc(mr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","600","12.800000190734863px","16px","Source Sans Pro Fallback"),[ic,nc,sc,rc,ac,lc,cc,dc]=Oc(fr,(e=>Pc(e)),(e=>cs(Pc(e),.3)),"Source Sans Pro","400","11px",as,"Source Sans Pro Fallback"),[hc,uc,pc,gc,vc,mc,fc,bc]=Oc(wr,(e=>Vc(e)),(e=>cs(Vc(e),.3)),"Source Sans Pro","400","11px",as,"Source Sans Pro Fallback"),[wc,xc,yc,$c,Cc,kc,Sc,_c]=Oc(tr,(e=>cs(Pc(e),.6)),(e=>cs(Pc(e),.3)),"Source Sans Pro","600","12.800000190734863px",as,"Source Sans Pro Fallback"),Ic=ti.create(Sr(qs)).withDefault("uppercase"),Rc=ti.create(Sr(Xs)).withDefault("0.075s"),Mc=ti.create(Sr(Ys)).withDefault("0.15s"),Ac=ti.create(Sr(Qs)).withDefault(ls)
1190
1190
  function Ec(e){const{r:t,g:o,b:i}=Hn(e)
1191
1191
  return`${255*t}, ${255*o}, ${255*i}`}function Oc(e,t,o,i,n,s,r,a){if(""===e||""===i||""===n||""===s||""===r||""===a)throw new Error("createFontTokens parameter unexpectedly set to empty string")
1192
1192
  const l=ti.create(Sr(e)).withDefault(`${n} ${s}/${r} ${i}, ${a}`),c=e.split("-font"),d=c[0]
@@ -1194,7 +1194,7 @@ if(void 0===d||""!==c[1])throw new Error(`fontTokenName value of ${e} did not ha
1194
1194
  return[l,ti.create(Sr(`${d}-font-color`)).withDefault((e=>t(e))),ti.create(Sr(`${d}-disabled-font-color`)).withDefault((e=>o(e))),ti.create(Sr(`${d}-font-family`)).withDefault(`${i}`),ti.create(Sr(`${d}-font-weight`)).withDefault(`${n}`),ti.create(Sr(`${d}-font-size`)).withDefault(`${s}`),ti.create(Sr(`${d}-font-line-height`)).withDefault(`${r}`),ti.create(Sr(`${d}-fallback-font-family`)).withDefault(`${a}`)]}function Fc(e,t,o,i){switch(Lr.getValueFor(e)){case gs:return t
1195
1195
  case vs:return o
1196
1196
  case ms:return i
1197
- default:return t}}function Vc(e){return Fc(e,Nn,"#ff4646",Un)}function Hc(e){return Fc(e,Xn,qn,Un)}function Pc(e){return Fc(e,Xn,qn,Un)}function Tc(e){return Fc(e,Qn,Qn,Un)}const Dc=fe`
1197
+ default:return t}}function Vc(e){return Fc(e,Nn,"#ff4646",Un)}function Hc(e){return Fc(e,Xn,qn,Un)}function Pc(e){return Fc(e,Xn,qn,Un)}function Tc(e){return Fc(e,Qn,os,Un)}const Dc=fe`
1198
1198
  ${xn("inline")}
1199
1199
 
1200
1200
  :host {
@@ -1365,7 +1365,13 @@ class jc{constructor(e,t,o){this.propertyName=e,this.value=t,this.styles=o}bind(
1365
1365
  outline: none;
1366
1366
  margin: 0;
1367
1367
  padding: 0 ${la};
1368
- transition: box-shadow ${Rc};
1368
+ position: relative;
1369
+ transition: box-shadow ${Rc} ease-in-out,
1370
+ border-color ${Rc} ease-in-out,
1371
+ background-size ${Rc} ease-in-out;
1372
+ background-size: 100% 100%;
1373
+ background-repeat: no-repeat;
1374
+ background-position: center;
1369
1375
  }
1370
1376
 
1371
1377
  :host([content-hidden]) .control {
@@ -1380,26 +1386,55 @@ class jc{constructor(e,t,o){this.propertyName=e,this.value=t,this.styles=o}bind(
1380
1386
  }
1381
1387
 
1382
1388
  .control:hover {
1389
+ border-color: ${ta};
1383
1390
  box-shadow: 0px 0px 0px ${ca} ${ta} inset;
1384
- outline: none;
1385
1391
  }
1386
1392
 
1387
1393
  .control${Cn} {
1394
+ border-color: ${ta};
1388
1395
  box-shadow: 0px 0px 0px ${ca} ${ta} inset;
1389
- outline: ${ca} solid ${ta};
1390
- outline-offset: -4px;
1391
1396
  }
1392
1397
 
1393
1398
  .control:active {
1394
1399
  box-shadow: none;
1395
- outline: none;
1400
+ background-image: linear-gradient(
1401
+ ${Ur},
1402
+ ${Ur}
1403
+ );
1404
+ background-size: calc(100% - 2px) calc(100% - 2px);
1396
1405
  }
1397
1406
 
1398
1407
  :host([disabled]) .control {
1399
1408
  box-shadow: none;
1409
+ background-image: none;
1410
+ }
1411
+
1412
+ .control::before {
1413
+ content: '';
1414
+ position: absolute;
1415
+ width: 100%;
1416
+ height: 100%;
1417
+ pointer-events: none;
1418
+ box-sizing: border-box;
1419
+ outline: 0px solid transparent;
1420
+ color: transparent;
1421
+ background-clip: content-box;
1422
+ transition: outline ${Rc} ease-in-out;
1423
+ }
1424
+
1425
+ .control${Cn}::before {
1426
+ outline: ${ca} solid ${ta};
1427
+ outline-offset: -3px;
1428
+ }
1429
+
1430
+ .control:active::before {
1400
1431
  outline: none;
1401
1432
  }
1402
1433
 
1434
+ :host([disabled]) .control::before {
1435
+ box-shadow: none;
1436
+ }
1437
+
1403
1438
  .content {
1404
1439
  display: contents;
1405
1440
  }
@@ -1440,77 +1475,57 @@ class jc{constructor(e,t,o){this.propertyName=e,this.value=t,this.styles=o}bind(
1440
1475
  }
1441
1476
  `.withBehaviors(Uc(Nc,fe`
1442
1477
  .control {
1443
- background-color: transparent;
1444
1478
  border-color: rgba(${qr}, 0.3);
1445
1479
  }
1446
1480
 
1447
1481
  .control:hover {
1448
1482
  background-color: transparent;
1449
- border-color: ${ta};
1450
- }
1451
-
1452
- .control${Cn} {
1453
- background-color: transparent;
1454
- border-color: ${ta};
1455
- }
1456
-
1457
- .control:active {
1458
- background-color: ${Ur};
1459
- border-color: ${Ur};
1460
1483
  }
1461
1484
 
1462
1485
  :host([disabled]) .control {
1463
- background-color: transparent;
1464
- border-color: rgba(${Xr}, 0.2);
1486
+ border-color: rgba(${Xr}, 0.3);
1465
1487
  }
1466
1488
  `),Uc(Zc,fe`
1467
- .control {
1468
- background-color: transparent;
1469
- border-color: transparent;
1470
- }
1471
-
1472
1489
  .control:hover {
1473
1490
  background-color: transparent;
1474
- border-color: ${ta};
1475
1491
  }
1476
1492
 
1477
1493
  .control${Cn} {
1478
1494
  background-color: transparent;
1479
- border-color: ${ta};
1480
- }
1481
-
1482
- .control:active {
1483
- background-color: ${Ur};
1484
- border-color: ${Ur};
1485
1495
  }
1486
1496
 
1487
1497
  :host([disabled]) .control {
1488
- background-color: transparent;
1489
1498
  border-color: transparent;
1490
1499
  }
1491
1500
  `),Uc(qc,fe`
1492
1501
  .control {
1493
1502
  background-color: rgba(${Xr}, 0.1);
1494
- border-color: transparent;
1495
1503
  }
1496
1504
 
1497
1505
  .control:hover {
1498
1506
  background-color: transparent;
1499
- border-color: ${ta};
1507
+ background-image: linear-gradient(
1508
+ rgba(${Xr}, 0.1),
1509
+ rgba(${Xr}, 0.1)
1510
+ );
1511
+ background-size: calc(100% - 4px) calc(100% - 4px);
1500
1512
  }
1501
1513
 
1502
1514
  .control${Cn} {
1503
- background-color: rgba(${Xr}, 0.1);
1504
- border-color: ${ta};
1505
- }
1506
-
1507
- .control${Cn}:hover {
1508
1515
  background-color: transparent;
1516
+ background-image: linear-gradient(
1517
+ rgba(${Xr}, 0.1),
1518
+ rgba(${Xr}, 0.1)
1519
+ );
1520
+ background-size: calc(100% - 4px) calc(100% - 4px);
1509
1521
  }
1510
1522
 
1511
1523
  .control:active {
1512
- background-color: ${Ur};
1513
- border-color: ${Ur};
1524
+ background-image: linear-gradient(
1525
+ ${Ur},
1526
+ ${Ur}
1527
+ );
1528
+ background-size: calc(100% - 2px) calc(100% - 2px);
1514
1529
  }
1515
1530
 
1516
1531
  :host([disabled]) .control {
@@ -1532,7 +1547,8 @@ class jc{constructor(e,t,o){this.propertyName=e,this.value=t,this.styles=o}bind(
1532
1547
  }
1533
1548
 
1534
1549
  :host([appearance-variant='primary']) .control:active {
1535
- box-shadow: none;
1550
+ box-shadow: 0px 0px 0px ${ca} ${Ur}
1551
+ inset;
1536
1552
  }
1537
1553
 
1538
1554
  :host([appearance-variant='primary'][disabled]) .control {
@@ -1540,10 +1556,9 @@ class jc{constructor(e,t,o){this.propertyName=e,this.value=t,this.styles=o}bind(
1540
1556
  }
1541
1557
  `),Uc(qc,fe`
1542
1558
  :host([appearance-variant='primary']) .control {
1543
- background-clip: padding-box;
1544
1559
  border-color: rgba(${qr}, 0.3);
1545
- border-width: calc(2 * ${ca});
1546
- padding: 0 calc(${la} - ${ca});
1560
+ box-shadow: 0px 0px 0px ${ca}
1561
+ rgba(${qr}, 0.3) inset;
1547
1562
  }
1548
1563
 
1549
1564
  :host([appearance-variant='primary'][content-hidden]) .control {
@@ -1552,7 +1567,7 @@ class jc{constructor(e,t,o){this.propertyName=e,this.value=t,this.styles=o}bind(
1552
1567
 
1553
1568
  :host([appearance-variant='primary']) .control:hover {
1554
1569
  border-color: ${ta};
1555
- box-shadow: none;
1570
+ box-shadow: 0px 0px 0px ${ca} ${ta} inset;
1556
1571
  }
1557
1572
 
1558
1573
  :host([appearance-variant='primary']) .control${Cn} {
@@ -1569,11 +1584,7 @@ class jc{constructor(e,t,o){this.propertyName=e,this.value=t,this.styles=o}bind(
1569
1584
  }
1570
1585
 
1571
1586
  :host([appearance-variant='primary']) .control:active {
1572
- background-clip: border-box;
1573
- border-color: ${Ur};
1574
- border-width: ${ca};
1575
1587
  box-shadow: none;
1576
- padding: 0 ${la};
1577
1588
  }
1578
1589
 
1579
1590
  :host([appearance-variant='primary'][content-hidden])
@@ -1593,6 +1604,11 @@ class jc{constructor(e,t,o){this.propertyName=e,this.value=t,this.styles=o}bind(
1593
1604
  .control {
1594
1605
  padding: 0px;
1595
1606
  }
1607
+
1608
+ :host([appearance-variant='primary']) .control:active::before {
1609
+ border-color: ${Ur};
1610
+ border-width: ${ca};
1611
+ }
1596
1612
  `)),Kc=fe`
1597
1613
  ${Gc}
1598
1614
  ${Wc}
@@ -1759,7 +1775,7 @@ const od=fe`
1759
1775
  :host {
1760
1776
  position: relative;
1761
1777
  box-sizing: border-box;
1762
- font: ${Sl};
1778
+ font: ${Kl};
1763
1779
  height: ${sa};
1764
1780
  color: ${_l};
1765
1781
  align-items: center;
@@ -2676,7 +2692,7 @@ const og=fe`
2676
2692
  ${xn("inline-flex")}
2677
2693
 
2678
2694
  :host {
2679
- font: ${Kl};
2695
+ font: ${Sl};
2680
2696
  align-items: center;
2681
2697
  cursor: pointer;
2682
2698
  outline: none;
@@ -2811,24 +2827,78 @@ const sg=ai.tagFor(ig),rg=fe`
2811
2827
  .control[aria-pressed='true'] {
2812
2828
  background-color: ${Ur};
2813
2829
  border-color: ${Ur};
2830
+ position: relative;
2831
+ transition: box-shadow ${Rc} ease-in-out,
2832
+ border-color ${Rc} ease-in-out,
2833
+ background-size ${Rc} ease-in-out;
2834
+ background-size: 100% 100%;
2835
+ background-repeat: no-repeat;
2836
+ background-position: center;
2814
2837
  }
2815
2838
 
2816
2839
  .control[aria-pressed='true']:hover {
2817
- background-color: ${Ur};
2840
+ border-color: ${ta};
2841
+ box-shadow: 0px 0px 0px ${ca} ${ta} inset;
2842
+ background-image: linear-gradient(
2843
+ ${Ur},
2844
+ ${Ur}
2845
+ );
2846
+ background-size: calc(100% - 4px) calc(100% - 4px);
2818
2847
  }
2819
2848
 
2820
2849
  .control[aria-pressed='true']${Cn} {
2821
- background-color: ${Ur};
2850
+ background-color: transparent;
2851
+ border-color: ${ta};
2852
+ box-shadow: 0px 0px 0px ${ca} ${ta} inset;
2853
+ background-image: linear-gradient(
2854
+ ${Ur},
2855
+ ${Ur}
2856
+ );
2857
+ background-size: calc(100% - 4px) calc(100% - 4px);
2858
+ }
2859
+
2860
+ .control[aria-pressed='true']:active {
2861
+ box-shadow: none;
2862
+ background-image: linear-gradient(
2863
+ ${Ur},
2864
+ ${Ur}
2865
+ );
2866
+ background-size: calc(100% - 2px) calc(100% - 2px);
2822
2867
  }
2823
2868
 
2824
2869
  :host([disabled]) .control[aria-pressed='true'] {
2825
- background-color: ${Ur};
2826
2870
  border-color: ${Ur};
2871
+ background-color: ${Ur};
2872
+ background-image: none;
2827
2873
  }
2828
2874
 
2829
2875
  :host([disabled]) .control[aria-pressed='true']:hover {
2830
- background-color: ${Ur};
2831
2876
  border-color: ${Ur};
2877
+ background-color: ${Ur};
2878
+ box-shadow: none;
2879
+ }
2880
+
2881
+ .control[aria-pressed='true']::before {
2882
+ content: '';
2883
+ position: absolute;
2884
+ width: 100%;
2885
+ height: 100%;
2886
+ pointer-events: none;
2887
+ box-sizing: border-box;
2888
+ outline: 0px solid transparent;
2889
+ outline: none;
2890
+ background-clip: content-box;
2891
+ transition: outline ${Rc} ease-in-out;
2892
+ }
2893
+
2894
+ .control[aria-pressed='true']${Cn}::before {
2895
+ outline: ${ca} solid ${ta};
2896
+ outline-offset: -3px;
2897
+ color: transparent;
2898
+ }
2899
+
2900
+ .control[aria-pressed='true']:active::before {
2901
+ outline: none;
2832
2902
  }
2833
2903
  `
2834
2904
  class ag extends Zi{constructor(){super(...arguments),this.appearance=Nc,this.contentHidden=!1}}e([ne],ag.prototype,"appearance",void 0),e([ne({attribute:"content-hidden",mode:"boolean"})],ag.prototype,"contentHidden",void 0),Et(ag,Ne,wo)
@@ -4433,7 +4503,7 @@ const xb=fe`
4433
4503
  ${xn("inline-flex")}
4434
4504
 
4435
4505
  :host {
4436
- font: ${Kl};
4506
+ font: ${Sl};
4437
4507
  align-items: center;
4438
4508
  outline: none;
4439
4509
  width: fit-content;
@@ -4850,7 +4920,7 @@ const Tb=fe`
4850
4920
 
4851
4921
  :host {
4852
4922
  outline: none;
4853
- font: ${Kl};
4923
+ font: ${Sl};
4854
4924
  color: ${Xl};
4855
4925
  flex-direction: column;
4856
4926
  cursor: pointer;