@bestow-ui/react 1.8.0 → 2.0.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 +5 -6
- package/dist/{chunk-MP5VSIWQ.js → chunk-BDQ5IJIS.js} +2 -2
- package/dist/chunk-BDQ5IJIS.js.map +1 -0
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +50 -27
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +45 -38
- package/dist/index.d.ts +45 -38
- package/dist/shared.js +1 -1
- package/dist/shared.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-MP5VSIWQ.js.map +0 -1
package/dist/index.css
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@layer base, bestow;
|
|
2
|
+
@layer bestow {
|
|
1
3
|
/* src/theme/contract.css.ts */
|
|
2
4
|
:root {
|
|
3
5
|
--bestow-space-0: 0;
|
|
@@ -50,6 +52,7 @@
|
|
|
50
52
|
--bestow-duration-fast: 120ms;
|
|
51
53
|
--bestow-duration-normal: 200ms;
|
|
52
54
|
--bestow-duration-slow: 320ms;
|
|
55
|
+
--bestow-opacity-disabled: 0.5;
|
|
53
56
|
--bestow-z-index-overlay: 1300;
|
|
54
57
|
--bestow-z-index-modal: 1310;
|
|
55
58
|
--bestow-z-index-dropdown: 1320;
|
|
@@ -67,6 +70,9 @@
|
|
|
67
70
|
--bestow-color-border-default: #dee2e6;
|
|
68
71
|
--bestow-color-border-strong: #adb5bd;
|
|
69
72
|
--bestow-color-border-focus: #3b6ff6;
|
|
73
|
+
--bestow-color-border-input: #666e76;
|
|
74
|
+
--bestow-color-border-input-hover: #495057;
|
|
75
|
+
--bestow-color-border-control: #666e76;
|
|
70
76
|
--bestow-color-primary-solid: #2554eb;
|
|
71
77
|
--bestow-color-primary-solid-hover: #1d42d8;
|
|
72
78
|
--bestow-color-primary-contrast: #ffffff;
|
|
@@ -158,6 +164,7 @@
|
|
|
158
164
|
--bestow-duration-fast: 120ms;
|
|
159
165
|
--bestow-duration-normal: 200ms;
|
|
160
166
|
--bestow-duration-slow: 320ms;
|
|
167
|
+
--bestow-opacity-disabled: 0.5;
|
|
161
168
|
--bestow-z-index-overlay: 1300;
|
|
162
169
|
--bestow-z-index-modal: 1310;
|
|
163
170
|
--bestow-z-index-dropdown: 1320;
|
|
@@ -175,6 +182,9 @@
|
|
|
175
182
|
--bestow-color-border-default: #dee2e6;
|
|
176
183
|
--bestow-color-border-strong: #adb5bd;
|
|
177
184
|
--bestow-color-border-focus: #3b6ff6;
|
|
185
|
+
--bestow-color-border-input: #666e76;
|
|
186
|
+
--bestow-color-border-input-hover: #495057;
|
|
187
|
+
--bestow-color-border-control: #666e76;
|
|
178
188
|
--bestow-color-primary-solid: #2554eb;
|
|
179
189
|
--bestow-color-primary-solid-hover: #1d42d8;
|
|
180
190
|
--bestow-color-primary-contrast: #ffffff;
|
|
@@ -266,6 +276,7 @@
|
|
|
266
276
|
--bestow-duration-fast: 120ms;
|
|
267
277
|
--bestow-duration-normal: 200ms;
|
|
268
278
|
--bestow-duration-slow: 320ms;
|
|
279
|
+
--bestow-opacity-disabled: 0.5;
|
|
269
280
|
--bestow-z-index-overlay: 1300;
|
|
270
281
|
--bestow-z-index-modal: 1310;
|
|
271
282
|
--bestow-z-index-dropdown: 1320;
|
|
@@ -283,6 +294,9 @@
|
|
|
283
294
|
--bestow-color-border-default: #495057;
|
|
284
295
|
--bestow-color-border-strong: #adb5bd;
|
|
285
296
|
--bestow-color-border-focus: #6090fa;
|
|
297
|
+
--bestow-color-border-input: #adb5bd;
|
|
298
|
+
--bestow-color-border-input-hover: #dee2e6;
|
|
299
|
+
--bestow-color-border-control: #adb5bd;
|
|
286
300
|
--bestow-color-primary-solid: #2554eb;
|
|
287
301
|
--bestow-color-primary-solid-hover: #1d42d8;
|
|
288
302
|
--bestow-color-primary-contrast: #ffffff;
|
|
@@ -374,6 +388,7 @@
|
|
|
374
388
|
--bestow-duration-fast: 120ms;
|
|
375
389
|
--bestow-duration-normal: 200ms;
|
|
376
390
|
--bestow-duration-slow: 320ms;
|
|
391
|
+
--bestow-opacity-disabled: 0.5;
|
|
377
392
|
--bestow-z-index-overlay: 1300;
|
|
378
393
|
--bestow-z-index-modal: 1310;
|
|
379
394
|
--bestow-z-index-dropdown: 1320;
|
|
@@ -391,6 +406,9 @@
|
|
|
391
406
|
--bestow-color-border-default: #dee2e6;
|
|
392
407
|
--bestow-color-border-strong: #adb5bd;
|
|
393
408
|
--bestow-color-border-focus: #3b6ff6;
|
|
409
|
+
--bestow-color-border-input: #666e76;
|
|
410
|
+
--bestow-color-border-input-hover: #495057;
|
|
411
|
+
--bestow-color-border-control: #666e76;
|
|
394
412
|
--bestow-color-primary-solid: #2554eb;
|
|
395
413
|
--bestow-color-primary-solid-hover: #1d42d8;
|
|
396
414
|
--bestow-color-primary-contrast: #ffffff;
|
|
@@ -483,6 +501,7 @@
|
|
|
483
501
|
--bestow-duration-fast: 120ms;
|
|
484
502
|
--bestow-duration-normal: 200ms;
|
|
485
503
|
--bestow-duration-slow: 320ms;
|
|
504
|
+
--bestow-opacity-disabled: 0.5;
|
|
486
505
|
--bestow-z-index-overlay: 1300;
|
|
487
506
|
--bestow-z-index-modal: 1310;
|
|
488
507
|
--bestow-z-index-dropdown: 1320;
|
|
@@ -500,6 +519,9 @@
|
|
|
500
519
|
--bestow-color-border-default: #495057;
|
|
501
520
|
--bestow-color-border-strong: #adb5bd;
|
|
502
521
|
--bestow-color-border-focus: #6090fa;
|
|
522
|
+
--bestow-color-border-input: #adb5bd;
|
|
523
|
+
--bestow-color-border-input-hover: #dee2e6;
|
|
524
|
+
--bestow-color-border-control: #adb5bd;
|
|
503
525
|
--bestow-color-primary-solid: #2554eb;
|
|
504
526
|
--bestow-color-primary-solid-hover: #1d42d8;
|
|
505
527
|
--bestow-color-primary-contrast: #ffffff;
|
|
@@ -784,7 +806,7 @@
|
|
|
784
806
|
display: inline-flex;
|
|
785
807
|
align-items: center;
|
|
786
808
|
gap: var(--bestow-space-2);
|
|
787
|
-
border: 1px solid var(--bestow-color-border-input
|
|
809
|
+
border: 1px solid var(--bestow-color-border-input);
|
|
788
810
|
border-radius: var(--bestow-radius-md);
|
|
789
811
|
background-color: var(--bestow-color-bg-default);
|
|
790
812
|
color: var(--bestow-color-fg-default);
|
|
@@ -792,7 +814,7 @@
|
|
|
792
814
|
cursor: text;
|
|
793
815
|
}
|
|
794
816
|
._19p5zvh0:hover:not([data-disabled], fieldset:disabled *) {
|
|
795
|
-
border-color: var(--bestow-color-border-input-hover
|
|
817
|
+
border-color: var(--bestow-color-border-input-hover);
|
|
796
818
|
}
|
|
797
819
|
._19p5zvh0:focus-within {
|
|
798
820
|
border-color: var(--bestow-color-border-focus);
|
|
@@ -808,7 +830,7 @@
|
|
|
808
830
|
fieldset:disabled ._19p5zvh0 {
|
|
809
831
|
background-color: var(--bestow-color-bg-muted);
|
|
810
832
|
cursor: not-allowed;
|
|
811
|
-
opacity:
|
|
833
|
+
opacity: var(--bestow-opacity-disabled);
|
|
812
834
|
}
|
|
813
835
|
._19p5zvh1 {
|
|
814
836
|
height: 32px;
|
|
@@ -1506,7 +1528,7 @@ fieldset:disabled ._19p5zvh0 {
|
|
|
1506
1528
|
border-radius: var(--bestow-radius-sm);
|
|
1507
1529
|
}
|
|
1508
1530
|
.v58j0l3[data-disabled] {
|
|
1509
|
-
opacity:
|
|
1531
|
+
opacity: var(--bestow-opacity-disabled);
|
|
1510
1532
|
cursor: not-allowed;
|
|
1511
1533
|
}
|
|
1512
1534
|
.v58j0l4 {
|
|
@@ -1605,7 +1627,7 @@ fieldset:disabled ._19p5zvh0 {
|
|
|
1605
1627
|
}
|
|
1606
1628
|
.xcekda6:disabled,
|
|
1607
1629
|
.xcekda6[data-disabled] {
|
|
1608
|
-
opacity:
|
|
1630
|
+
opacity: var(--bestow-opacity-disabled);
|
|
1609
1631
|
cursor: not-allowed;
|
|
1610
1632
|
}
|
|
1611
1633
|
.xcekda6[aria-busy=true] {
|
|
@@ -1859,7 +1881,7 @@ fieldset:disabled ._19p5zvh0 {
|
|
|
1859
1881
|
._1y7mzsn0[data-disabled],
|
|
1860
1882
|
fieldset:disabled ._1y7mzsn0 {
|
|
1861
1883
|
cursor: not-allowed;
|
|
1862
|
-
opacity:
|
|
1884
|
+
opacity: var(--bestow-opacity-disabled);
|
|
1863
1885
|
}
|
|
1864
1886
|
._1y7mzsn1 {
|
|
1865
1887
|
font-size: var(--bestow-font-size-sm);
|
|
@@ -1885,7 +1907,7 @@ fieldset:disabled ._1y7mzsn0 {
|
|
|
1885
1907
|
margin: 0;
|
|
1886
1908
|
width: 100%;
|
|
1887
1909
|
height: 100%;
|
|
1888
|
-
border: 1.5px solid var(--bestow-color-border-control
|
|
1910
|
+
border: 1.5px solid var(--bestow-color-border-control);
|
|
1889
1911
|
border-radius: var(--bestow-radius-sm);
|
|
1890
1912
|
background-color: var(--bestow-color-bg-default);
|
|
1891
1913
|
cursor: inherit;
|
|
@@ -2411,7 +2433,7 @@ fieldset:disabled ._1y7mzsn0 {
|
|
|
2411
2433
|
background-color: var(--bestow-color-primary-solid-hover);
|
|
2412
2434
|
}
|
|
2413
2435
|
._1qyq67b6[aria-disabled=true] {
|
|
2414
|
-
opacity:
|
|
2436
|
+
opacity: var(--bestow-opacity-disabled);
|
|
2415
2437
|
cursor: not-allowed;
|
|
2416
2438
|
text-decoration: line-through;
|
|
2417
2439
|
}
|
|
@@ -2528,7 +2550,7 @@ fieldset:disabled ._1y7mzsn0 {
|
|
|
2528
2550
|
color: var(--bestow-color-primary-text);
|
|
2529
2551
|
}
|
|
2530
2552
|
._1kx81e85[data-disabled] {
|
|
2531
|
-
opacity:
|
|
2553
|
+
opacity: var(--bestow-opacity-disabled);
|
|
2532
2554
|
cursor: not-allowed;
|
|
2533
2555
|
}
|
|
2534
2556
|
._1kx81e86 {
|
|
@@ -3099,7 +3121,7 @@ fieldset:disabled ._1y7mzsn0 {
|
|
|
3099
3121
|
background-color: var(--bestow-color-neutral-subtle);
|
|
3100
3122
|
}
|
|
3101
3123
|
._1d7ahux1[data-disabled] {
|
|
3102
|
-
opacity:
|
|
3124
|
+
opacity: var(--bestow-opacity-disabled);
|
|
3103
3125
|
cursor: not-allowed;
|
|
3104
3126
|
}
|
|
3105
3127
|
._1d7ahux2 {
|
|
@@ -3243,7 +3265,7 @@ fieldset:disabled ._1y7mzsn0 {
|
|
|
3243
3265
|
outline-offset: 2px;
|
|
3244
3266
|
}
|
|
3245
3267
|
._1iraoak1:disabled {
|
|
3246
|
-
opacity:
|
|
3268
|
+
opacity: var(--bestow-opacity-disabled);
|
|
3247
3269
|
cursor: not-allowed;
|
|
3248
3270
|
}
|
|
3249
3271
|
._1iraoak1[aria-current=page] {
|
|
@@ -3309,7 +3331,7 @@ fieldset:disabled ._1y7mzsn0 {
|
|
|
3309
3331
|
margin-top: calc((1.5em - var(--_1w9iwjm6)) / 2);
|
|
3310
3332
|
width: var(--_1w9iwjm6);
|
|
3311
3333
|
height: var(--_1w9iwjm6);
|
|
3312
|
-
border: 1.5px solid var(--bestow-color-border-control
|
|
3334
|
+
border: 1.5px solid var(--bestow-color-border-control);
|
|
3313
3335
|
border-radius: var(--bestow-radius-full);
|
|
3314
3336
|
background-color: var(--bestow-color-bg-default);
|
|
3315
3337
|
cursor: pointer;
|
|
@@ -3329,7 +3351,7 @@ fieldset:disabled ._1y7mzsn0 {
|
|
|
3329
3351
|
}
|
|
3330
3352
|
._1w9iwjm7:disabled {
|
|
3331
3353
|
cursor: not-allowed;
|
|
3332
|
-
opacity:
|
|
3354
|
+
opacity: var(--bestow-opacity-disabled);
|
|
3333
3355
|
}
|
|
3334
3356
|
[aria-invalid=true] ._1w9iwjm7:not(:checked) {
|
|
3335
3357
|
border-color: var(--bestow-color-danger-solid);
|
|
@@ -3353,7 +3375,7 @@ fieldset:disabled ._1y7mzsn0 {
|
|
|
3353
3375
|
[data-disabled] ._1w9iwjmb,
|
|
3354
3376
|
fieldset:disabled ._1w9iwjmb {
|
|
3355
3377
|
cursor: not-allowed;
|
|
3356
|
-
opacity:
|
|
3378
|
+
opacity: var(--bestow-opacity-disabled);
|
|
3357
3379
|
}
|
|
3358
3380
|
._1w9iwjmc {
|
|
3359
3381
|
font-size: var(--bestow-font-size-sm);
|
|
@@ -3442,7 +3464,7 @@ fieldset:disabled ._1w9iwjmb {
|
|
|
3442
3464
|
}
|
|
3443
3465
|
._1h65mmo2[data-disabled],
|
|
3444
3466
|
._1h65mmo2:disabled {
|
|
3445
|
-
opacity:
|
|
3467
|
+
opacity: var(--bestow-opacity-disabled);
|
|
3446
3468
|
cursor: not-allowed;
|
|
3447
3469
|
}
|
|
3448
3470
|
._1h65mmo3 {
|
|
@@ -3606,7 +3628,7 @@ fieldset:disabled ._1w9iwjmb {
|
|
|
3606
3628
|
user-select: none;
|
|
3607
3629
|
}
|
|
3608
3630
|
._126mzjm5[data-disabled] {
|
|
3609
|
-
opacity:
|
|
3631
|
+
opacity: var(--bestow-opacity-disabled);
|
|
3610
3632
|
cursor: not-allowed;
|
|
3611
3633
|
}
|
|
3612
3634
|
._126mzjm6 {
|
|
@@ -3695,7 +3717,7 @@ fieldset:disabled ._1w9iwjmb {
|
|
|
3695
3717
|
content: "";
|
|
3696
3718
|
position: absolute;
|
|
3697
3719
|
border-radius: var(--bestow-radius-full);
|
|
3698
|
-
background-color: var(--bestow-color-border-control
|
|
3720
|
+
background-color: var(--bestow-color-border-control);
|
|
3699
3721
|
}
|
|
3700
3722
|
.kervhm3[data-status=complete]::after {
|
|
3701
3723
|
background-color: var(--bestow-color-primary-text);
|
|
@@ -3749,7 +3771,7 @@ fieldset:disabled ._1w9iwjmb {
|
|
|
3749
3771
|
color: var(--bestow-color-primary-text);
|
|
3750
3772
|
}
|
|
3751
3773
|
.kervhm9 {
|
|
3752
|
-
border: 1.5px solid var(--bestow-color-border-control
|
|
3774
|
+
border: 1.5px solid var(--bestow-color-border-control);
|
|
3753
3775
|
background-color: var(--bestow-color-bg-default);
|
|
3754
3776
|
color: var(--bestow-color-fg-muted);
|
|
3755
3777
|
}
|
|
@@ -3814,7 +3836,7 @@ fieldset:disabled ._1w9iwjmb {
|
|
|
3814
3836
|
}
|
|
3815
3837
|
.o33ul20[data-disabled],
|
|
3816
3838
|
fieldset:disabled .o33ul20 {
|
|
3817
|
-
opacity:
|
|
3839
|
+
opacity: var(--bestow-opacity-disabled);
|
|
3818
3840
|
}
|
|
3819
3841
|
.o33ul21 {
|
|
3820
3842
|
font-size: var(--bestow-font-size-sm);
|
|
@@ -3830,7 +3852,7 @@ fieldset:disabled .o33ul20 {
|
|
|
3830
3852
|
padding: 2px;
|
|
3831
3853
|
border: none;
|
|
3832
3854
|
border-radius: var(--bestow-radius-full);
|
|
3833
|
-
background-color: var(--bestow-color-border-control
|
|
3855
|
+
background-color: var(--bestow-color-border-control);
|
|
3834
3856
|
cursor: pointer;
|
|
3835
3857
|
transition: background-color var(--bestow-duration-fast);
|
|
3836
3858
|
}
|
|
@@ -4113,7 +4135,7 @@ fieldset:disabled .o33ul2c {
|
|
|
4113
4135
|
outline-offset: -2px;
|
|
4114
4136
|
}
|
|
4115
4137
|
.fvhbtd4[data-disabled] {
|
|
4116
|
-
opacity:
|
|
4138
|
+
opacity: var(--bestow-opacity-disabled);
|
|
4117
4139
|
cursor: not-allowed;
|
|
4118
4140
|
}
|
|
4119
4141
|
.fvhbtd4[data-orientation=vertical] {
|
|
@@ -4192,7 +4214,7 @@ fieldset:disabled .o33ul2c {
|
|
|
4192
4214
|
width: 100%;
|
|
4193
4215
|
min-height: 64px;
|
|
4194
4216
|
margin: 0;
|
|
4195
|
-
border: 1px solid var(--bestow-color-border-input
|
|
4217
|
+
border: 1px solid var(--bestow-color-border-input);
|
|
4196
4218
|
border-radius: var(--bestow-radius-md);
|
|
4197
4219
|
background-color: var(--bestow-color-bg-default);
|
|
4198
4220
|
color: var(--bestow-color-fg-default);
|
|
@@ -4205,7 +4227,7 @@ fieldset:disabled .o33ul2c {
|
|
|
4205
4227
|
color: var(--bestow-color-fg-subtle);
|
|
4206
4228
|
}
|
|
4207
4229
|
._1koawa0:hover:not(:disabled) {
|
|
4208
|
-
border-color: var(--bestow-color-border-input-hover
|
|
4230
|
+
border-color: var(--bestow-color-border-input-hover);
|
|
4209
4231
|
}
|
|
4210
4232
|
._1koawa0:focus {
|
|
4211
4233
|
border-color: var(--bestow-color-border-focus);
|
|
@@ -4220,7 +4242,7 @@ fieldset:disabled .o33ul2c {
|
|
|
4220
4242
|
._1koawa0:disabled {
|
|
4221
4243
|
background-color: var(--bestow-color-bg-muted);
|
|
4222
4244
|
cursor: not-allowed;
|
|
4223
|
-
opacity:
|
|
4245
|
+
opacity: var(--bestow-opacity-disabled);
|
|
4224
4246
|
}
|
|
4225
4247
|
._1koawa1 {
|
|
4226
4248
|
padding: var(--bestow-space-1) var(--bestow-space-2);
|
|
@@ -4450,7 +4472,7 @@ fieldset:disabled .o33ul2c {
|
|
|
4450
4472
|
flex-shrink: 1;
|
|
4451
4473
|
min-width: 32px;
|
|
4452
4474
|
min-height: 52px;
|
|
4453
|
-
border: 1px solid var(--bestow-color-border-input
|
|
4475
|
+
border: 1px solid var(--bestow-color-border-input);
|
|
4454
4476
|
border-radius: var(--bestow-radius-md);
|
|
4455
4477
|
background-color: var(--bestow-color-bg-default);
|
|
4456
4478
|
color: var(--bestow-color-fg-default);
|
|
@@ -4470,7 +4492,7 @@ fieldset:disabled .o33ul2c {
|
|
|
4470
4492
|
[data-disabled] .ea01813,
|
|
4471
4493
|
fieldset:disabled .ea01813 {
|
|
4472
4494
|
background-color: var(--bestow-color-bg-muted);
|
|
4473
|
-
opacity:
|
|
4495
|
+
opacity: var(--bestow-opacity-disabled);
|
|
4474
4496
|
}
|
|
4475
4497
|
.ea01814 {
|
|
4476
4498
|
font-size: var(--bestow-font-size-sm);
|
|
@@ -4478,4 +4500,5 @@ fieldset:disabled .ea01813 {
|
|
|
4478
4500
|
font-variant-numeric: tabular-nums;
|
|
4479
4501
|
color: var(--bestow-color-danger-text);
|
|
4480
4502
|
}
|
|
4481
|
-
|
|
4503
|
+
}
|
|
4504
|
+
/*# sourceMappingURL=index.css.map */
|