@bestow-ui/react 1.7.0 → 1.8.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/README.md +1 -1
- package/dist/{chunk-YYLDXZWR.js → chunk-MP5VSIWQ.js} +8 -7
- package/dist/chunk-MP5VSIWQ.js.map +1 -0
- package/dist/client.js +404 -235
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +538 -372
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +33 -19
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/shared.js +2 -1
- package/dist/shared.js.map +1 -1
- package/package.json +4 -2
- package/dist/chunk-YYLDXZWR.js.map +0 -1
package/dist/index.css
CHANGED
|
@@ -791,7 +791,7 @@
|
|
|
791
791
|
transition: border-color var(--bestow-duration-fast), box-shadow var(--bestow-duration-fast);
|
|
792
792
|
cursor: text;
|
|
793
793
|
}
|
|
794
|
-
._19p5zvh0:hover:not([data-disabled]) {
|
|
794
|
+
._19p5zvh0:hover:not([data-disabled], fieldset:disabled *) {
|
|
795
795
|
border-color: var(--bestow-color-border-input-hover, var(--bestow-color-border-strong));
|
|
796
796
|
}
|
|
797
797
|
._19p5zvh0:focus-within {
|
|
@@ -804,7 +804,8 @@
|
|
|
804
804
|
._19p5zvh0[data-invalid]:focus-within {
|
|
805
805
|
box-shadow: 0 0 0 1px var(--bestow-color-danger-solid);
|
|
806
806
|
}
|
|
807
|
-
._19p5zvh0[data-disabled]
|
|
807
|
+
._19p5zvh0[data-disabled],
|
|
808
|
+
fieldset:disabled ._19p5zvh0 {
|
|
808
809
|
background-color: var(--bestow-color-bg-muted);
|
|
809
810
|
cursor: not-allowed;
|
|
810
811
|
opacity: 0.6;
|
|
@@ -1588,6 +1589,8 @@
|
|
|
1588
1589
|
font-family: var(--bestow-font-family-sans);
|
|
1589
1590
|
font-weight: var(--bestow-font-weight-semibold);
|
|
1590
1591
|
line-height: var(--bestow-font-line-height-tight);
|
|
1592
|
+
box-sizing: border-box;
|
|
1593
|
+
text-decoration: none;
|
|
1591
1594
|
white-space: nowrap;
|
|
1592
1595
|
cursor: pointer;
|
|
1593
1596
|
user-select: none;
|
|
@@ -1600,7 +1603,8 @@
|
|
|
1600
1603
|
outline: 2px solid var(--bestow-color-border-focus);
|
|
1601
1604
|
outline-offset: 2px;
|
|
1602
1605
|
}
|
|
1603
|
-
.xcekda6:disabled
|
|
1606
|
+
.xcekda6:disabled,
|
|
1607
|
+
.xcekda6[data-disabled] {
|
|
1604
1608
|
opacity: 0.5;
|
|
1605
1609
|
cursor: not-allowed;
|
|
1606
1610
|
}
|
|
@@ -1611,14 +1615,14 @@
|
|
|
1611
1615
|
background-color: var(--xcekda0);
|
|
1612
1616
|
color: var(--xcekda2);
|
|
1613
1617
|
}
|
|
1614
|
-
.xcekda7:hover:not(:disabled) {
|
|
1618
|
+
.xcekda7:hover:not(:disabled, [data-disabled]) {
|
|
1615
1619
|
background-color: var(--xcekda1);
|
|
1616
1620
|
}
|
|
1617
1621
|
.xcekda8 {
|
|
1618
1622
|
background-color: var(--xcekda3);
|
|
1619
1623
|
color: var(--xcekda5);
|
|
1620
1624
|
}
|
|
1621
|
-
.xcekda8:hover:not(:disabled) {
|
|
1625
|
+
.xcekda8:hover:not(:disabled, [data-disabled]) {
|
|
1622
1626
|
background-color: var(--xcekda4);
|
|
1623
1627
|
}
|
|
1624
1628
|
.xcekda9 {
|
|
@@ -1626,14 +1630,14 @@
|
|
|
1626
1630
|
border-color: var(--xcekda0);
|
|
1627
1631
|
color: var(--xcekda5);
|
|
1628
1632
|
}
|
|
1629
|
-
.xcekda9:hover:not(:disabled) {
|
|
1633
|
+
.xcekda9:hover:not(:disabled, [data-disabled]) {
|
|
1630
1634
|
background-color: var(--xcekda3);
|
|
1631
1635
|
}
|
|
1632
1636
|
.xcekdaa {
|
|
1633
1637
|
background-color: transparent;
|
|
1634
1638
|
color: var(--xcekda5);
|
|
1635
1639
|
}
|
|
1636
|
-
.xcekdaa:hover:not(:disabled) {
|
|
1640
|
+
.xcekdaa:hover:not(:disabled, [data-disabled]) {
|
|
1637
1641
|
background-color: var(--xcekda3);
|
|
1638
1642
|
}
|
|
1639
1643
|
.xcekdab {
|
|
@@ -1852,7 +1856,8 @@
|
|
|
1852
1856
|
cursor: pointer;
|
|
1853
1857
|
user-select: none;
|
|
1854
1858
|
}
|
|
1855
|
-
._1y7mzsn0[data-disabled]
|
|
1859
|
+
._1y7mzsn0[data-disabled],
|
|
1860
|
+
fieldset:disabled ._1y7mzsn0 {
|
|
1856
1861
|
cursor: not-allowed;
|
|
1857
1862
|
opacity: 0.5;
|
|
1858
1863
|
}
|
|
@@ -3345,7 +3350,8 @@
|
|
|
3345
3350
|
cursor: pointer;
|
|
3346
3351
|
user-select: none;
|
|
3347
3352
|
}
|
|
3348
|
-
[data-disabled] ._1w9iwjmb
|
|
3353
|
+
[data-disabled] ._1w9iwjmb,
|
|
3354
|
+
fieldset:disabled ._1w9iwjmb {
|
|
3349
3355
|
cursor: not-allowed;
|
|
3350
3356
|
opacity: 0.5;
|
|
3351
3357
|
}
|
|
@@ -3422,7 +3428,7 @@
|
|
|
3422
3428
|
background-color var(--bestow-duration-fast),
|
|
3423
3429
|
box-shadow var(--bestow-duration-fast);
|
|
3424
3430
|
}
|
|
3425
|
-
._1h65mmo2:hover:not([data-disabled]) {
|
|
3431
|
+
._1h65mmo2:hover:not([data-disabled], :disabled) {
|
|
3426
3432
|
color: var(--bestow-color-fg-default);
|
|
3427
3433
|
}
|
|
3428
3434
|
._1h65mmo2[data-state=checked] {
|
|
@@ -3434,7 +3440,8 @@
|
|
|
3434
3440
|
outline: 2px solid var(--bestow-color-border-focus);
|
|
3435
3441
|
outline-offset: -2px;
|
|
3436
3442
|
}
|
|
3437
|
-
._1h65mmo2[data-disabled]
|
|
3443
|
+
._1h65mmo2[data-disabled],
|
|
3444
|
+
._1h65mmo2:disabled {
|
|
3438
3445
|
opacity: 0.5;
|
|
3439
3446
|
cursor: not-allowed;
|
|
3440
3447
|
}
|
|
@@ -3545,13 +3552,13 @@
|
|
|
3545
3552
|
font-weight: var(--bestow-font-weight-semibold);
|
|
3546
3553
|
line-height: var(--bestow-font-line-height-normal);
|
|
3547
3554
|
text-decoration: none;
|
|
3548
|
-
box-shadow: var(--bestow-shadow-md);
|
|
3549
3555
|
transform: translateY(calc(-100% - var(--bestow-space-4)));
|
|
3550
3556
|
transition: transform var(--bestow-duration-fast) ease-out;
|
|
3551
3557
|
}
|
|
3552
3558
|
._1t9jaar0:focus,
|
|
3553
3559
|
._1t9jaar0:focus-visible {
|
|
3554
3560
|
transform: translateY(0);
|
|
3561
|
+
box-shadow: var(--bestow-shadow-md);
|
|
3555
3562
|
outline: 2px solid var(--bestow-color-border-focus);
|
|
3556
3563
|
outline-offset: 2px;
|
|
3557
3564
|
}
|
|
@@ -3761,20 +3768,24 @@
|
|
|
3761
3768
|
padding-top: calc((28px - var(--bestow-font-size-sm) * 1.5) / 2);
|
|
3762
3769
|
}
|
|
3763
3770
|
.kervhmd {
|
|
3764
|
-
|
|
3771
|
+
box-sizing: border-box;
|
|
3772
|
+
min-height: calc(calc((28px - var(--bestow-font-size-sm) * 1.5) / 2) + var(--bestow-font-size-sm) * var(--bestow-font-line-height-normal) + 2px + var(--bestow-font-size-xs) * var(--bestow-font-line-height-normal));
|
|
3765
3773
|
}
|
|
3766
3774
|
.kervhme {
|
|
3775
|
+
font-size: var(--bestow-font-size-sm);
|
|
3776
|
+
}
|
|
3777
|
+
.kervhmf {
|
|
3767
3778
|
color: var(--bestow-color-fg-default);
|
|
3768
3779
|
font-weight: var(--bestow-font-weight-medium);
|
|
3769
3780
|
}
|
|
3770
|
-
.
|
|
3781
|
+
.kervhmg {
|
|
3771
3782
|
color: var(--bestow-color-fg-default);
|
|
3772
3783
|
font-weight: var(--bestow-font-weight-semibold);
|
|
3773
3784
|
}
|
|
3774
|
-
.
|
|
3785
|
+
.kervhmh {
|
|
3775
3786
|
color: var(--bestow-color-fg-muted);
|
|
3776
3787
|
}
|
|
3777
|
-
.
|
|
3788
|
+
.kervhmi {
|
|
3778
3789
|
font-size: var(--bestow-font-size-xs);
|
|
3779
3790
|
color: var(--bestow-color-fg-muted);
|
|
3780
3791
|
}
|
|
@@ -3801,7 +3812,8 @@
|
|
|
3801
3812
|
gap: var(--bestow-space-2);
|
|
3802
3813
|
color: var(--bestow-color-fg-default);
|
|
3803
3814
|
}
|
|
3804
|
-
.o33ul20[data-disabled]
|
|
3815
|
+
.o33ul20[data-disabled],
|
|
3816
|
+
fieldset:disabled .o33ul20 {
|
|
3805
3817
|
opacity: 0.5;
|
|
3806
3818
|
}
|
|
3807
3819
|
.o33ul21 {
|
|
@@ -3888,7 +3900,8 @@
|
|
|
3888
3900
|
cursor: pointer;
|
|
3889
3901
|
user-select: none;
|
|
3890
3902
|
}
|
|
3891
|
-
[data-disabled] > .o33ul2c
|
|
3903
|
+
[data-disabled] > .o33ul2c,
|
|
3904
|
+
fieldset:disabled .o33ul2c {
|
|
3892
3905
|
cursor: not-allowed;
|
|
3893
3906
|
}
|
|
3894
3907
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -4454,7 +4467,8 @@
|
|
|
4454
4467
|
[data-invalid] .ea01813 {
|
|
4455
4468
|
border-color: var(--bestow-color-danger-solid);
|
|
4456
4469
|
}
|
|
4457
|
-
[data-disabled] .ea01813
|
|
4470
|
+
[data-disabled] .ea01813,
|
|
4471
|
+
fieldset:disabled .ea01813 {
|
|
4458
4472
|
background-color: var(--bestow-color-bg-muted);
|
|
4459
4473
|
opacity: 0.6;
|
|
4460
4474
|
}
|