@umami/react-zen 0.164.0 → 0.166.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/dist/index.css +115 -88
- package/dist/index.d.mts +32 -24
- package/dist/index.d.ts +32 -24
- package/dist/index.js +3042 -1478
- package/dist/index.mjs +2073 -509
- package/package.json +1 -1
- package/styles.css +115 -88
package/package.json
CHANGED
package/styles.css
CHANGED
|
@@ -3451,7 +3451,7 @@ li {
|
|
|
3451
3451
|
}
|
|
3452
3452
|
|
|
3453
3453
|
/* virtual-css:css:616ae3b49446388ff62e911490fa55d8 */
|
|
3454
|
-
.
|
|
3454
|
+
.Button_button__NGQyO {
|
|
3455
3455
|
display: flex;
|
|
3456
3456
|
align-items: center;
|
|
3457
3457
|
justify-content: center;
|
|
@@ -3468,104 +3468,99 @@ li {
|
|
|
3468
3468
|
position: relative;
|
|
3469
3469
|
cursor: pointer;
|
|
3470
3470
|
line-height: 1.5;
|
|
3471
|
-
--button-height: calc(1.5 * var(--font-size) + 2 * var(--padding-y)) ;
|
|
3472
3471
|
}
|
|
3473
|
-
.
|
|
3472
|
+
.Button_button__NGQyO:disabled {
|
|
3474
3473
|
color: var(--font-color-muted);
|
|
3475
3474
|
pointer-events: none;
|
|
3476
3475
|
}
|
|
3477
|
-
.
|
|
3476
|
+
.Button_button__NGQyO:hover {
|
|
3478
3477
|
color: var(--font-color);
|
|
3479
3478
|
background: color-mix(in srgb, var(--base-color-3), 5% var(--dark-color));
|
|
3480
3479
|
}
|
|
3481
|
-
.
|
|
3480
|
+
.Button_button__NGQyO[data-pressed] {
|
|
3482
3481
|
background: color-mix(in srgb, var(--base-color-3), 10% var(--dark-color));
|
|
3483
3482
|
}
|
|
3484
|
-
.
|
|
3483
|
+
.Button_button__NGQyO.Button_variant-primary__YjU3N {
|
|
3485
3484
|
color: var(--primary-font-color) !important;
|
|
3486
3485
|
background: var(--primary-color);
|
|
3487
3486
|
}
|
|
3488
|
-
.
|
|
3487
|
+
.Button_button__NGQyO.Button_variant-primary__YjU3N:hover {
|
|
3489
3488
|
background: color-mix(in srgb, var(--primary-color), 10% var(--primary-font-color));
|
|
3490
3489
|
}
|
|
3491
|
-
.
|
|
3490
|
+
.Button_button__NGQyO.Button_variant-primary__YjU3N[data-pressed] {
|
|
3492
3491
|
background: color-mix(in srgb, var(--primary-color), 20% var(--primary-font-color));
|
|
3493
3492
|
}
|
|
3494
|
-
.
|
|
3493
|
+
.Button_button__NGQyO.Button_variant-primary__YjU3N:disabled {
|
|
3495
3494
|
color: var(--primary-font-color);
|
|
3496
3495
|
background: var(--base-color-9);
|
|
3497
3496
|
}
|
|
3498
|
-
.
|
|
3497
|
+
.Button_button__NGQyO.Button_variant-outline__NzU3Y {
|
|
3499
3498
|
background: var(--background-color);
|
|
3500
3499
|
border: var(--border);
|
|
3501
3500
|
box-shadow: var(--box-shadow-1);
|
|
3502
3501
|
}
|
|
3503
|
-
.
|
|
3502
|
+
.Button_button__NGQyO.Button_variant-outline__NzU3Y:hover {
|
|
3504
3503
|
border-color: var(--border-color-3);
|
|
3505
3504
|
}
|
|
3506
|
-
.
|
|
3505
|
+
.Button_button__NGQyO.Button_variant-outline__NzU3Y[data-pressed] {
|
|
3507
3506
|
background: var(--highlight-color);
|
|
3508
3507
|
}
|
|
3509
|
-
.
|
|
3508
|
+
.Button_button__NGQyO.Button_variant-outline__NzU3Y:disabled {
|
|
3510
3509
|
background: var(--base-color-2);
|
|
3511
3510
|
}
|
|
3512
|
-
.
|
|
3511
|
+
.Button_button__NGQyO.Button_variant-quiet__MzMzO {
|
|
3513
3512
|
background: transparent;
|
|
3514
3513
|
}
|
|
3515
|
-
.
|
|
3514
|
+
.Button_button__NGQyO.Button_variant-quiet__MzMzO:hover {
|
|
3516
3515
|
background: var(--highlight-color);
|
|
3517
3516
|
}
|
|
3518
|
-
.
|
|
3517
|
+
.Button_button__NGQyO.Button_variant-quiet__MzMzO[data-pressed] {
|
|
3519
3518
|
background: color-mix(in srgb, var(--highlight-color), 5% var(--dark-color));
|
|
3520
3519
|
}
|
|
3521
|
-
.
|
|
3520
|
+
.Button_button__NGQyO.Button_variant-danger__OGZhN {
|
|
3522
3521
|
color: var(--light-color);
|
|
3523
3522
|
background: var(--danger-color);
|
|
3524
3523
|
}
|
|
3525
|
-
.
|
|
3524
|
+
.Button_button__NGQyO.Button_variant-danger__OGZhN:hover {
|
|
3526
3525
|
background: color-mix(in srgb, var(--danger-color), 6% black);
|
|
3527
3526
|
}
|
|
3528
|
-
.
|
|
3527
|
+
.Button_button__NGQyO.Button_variant-danger__OGZhN[data-pressed] {
|
|
3529
3528
|
background: color-mix(in srgb, var(--danger-color), 12% black);
|
|
3530
3529
|
}
|
|
3531
|
-
.
|
|
3530
|
+
.Button_button__NGQyO.Button_variant-danger__OGZhN:disabled {
|
|
3532
3531
|
color: var(--primary-font-color);
|
|
3533
3532
|
background: var(--base-color-8);
|
|
3534
3533
|
}
|
|
3535
|
-
.
|
|
3534
|
+
.Button_button__NGQyO.Button_variant-zero__ZGViN {
|
|
3536
3535
|
border: 0;
|
|
3537
3536
|
background: transparent;
|
|
3538
3537
|
}
|
|
3539
|
-
.
|
|
3538
|
+
.Button_button__NGQyO.Button_variant-zero__ZGViN:hover {
|
|
3540
3539
|
background: transparent;
|
|
3541
3540
|
}
|
|
3542
|
-
.
|
|
3541
|
+
.Button_button__NGQyO.Button_variant-zero__ZGViN[data-pressed] {
|
|
3543
3542
|
background: transparent;
|
|
3544
3543
|
}
|
|
3545
|
-
.
|
|
3544
|
+
.Button_button__NGQyO.Button_variant-zero__ZGViN:disabled {
|
|
3546
3545
|
background: transparent;
|
|
3547
3546
|
}
|
|
3548
|
-
.
|
|
3547
|
+
.Button_button__NGQyO.Button_sm__NzE4Y {
|
|
3549
3548
|
font-size: calc(0.9 * var(--font-size));
|
|
3550
3549
|
padding: calc(0.5 * var(--padding-y)) calc(0.75 * var(--padding-x));
|
|
3551
|
-
min-height: calc(0.9 * var(--button-height));
|
|
3552
3550
|
}
|
|
3553
|
-
.
|
|
3551
|
+
.Button_button__NGQyO.Button_md__YzYwY {
|
|
3554
3552
|
font-size: var(--font-size);
|
|
3555
3553
|
padding: var(--padding);
|
|
3556
|
-
min-height: var(--button-height);
|
|
3557
3554
|
}
|
|
3558
|
-
.
|
|
3555
|
+
.Button_button__NGQyO.Button_lg__YTVkN {
|
|
3559
3556
|
font-size: calc(1.25 * var(--font-size));
|
|
3560
3557
|
padding: var(--padding-y) calc(1.25 * var(--padding-x));
|
|
3561
|
-
min-height: calc(1.25 * var(--button-height));
|
|
3562
3558
|
}
|
|
3563
|
-
.
|
|
3559
|
+
.Button_button__NGQyO.Button_xl__ZDcyY {
|
|
3564
3560
|
font-size: calc(1.5 * var(--font-size));
|
|
3565
3561
|
padding: calc(1.25 * var(--padding-y)) calc(1.25 * var(--padding-x));
|
|
3566
|
-
min-height: calc(1.5 * var(--button-height));
|
|
3567
3562
|
}
|
|
3568
|
-
body a.
|
|
3563
|
+
body a.Button_button__NGQyO {
|
|
3569
3564
|
color: inherit;
|
|
3570
3565
|
text-decoration: none;
|
|
3571
3566
|
}
|
|
@@ -3992,6 +3987,93 @@ body a.Button_button__ZGNlZ {
|
|
|
3992
3987
|
outline: var(--outline);
|
|
3993
3988
|
}
|
|
3994
3989
|
|
|
3990
|
+
/* virtual-css:css:0fb02723d81c5960ed149d3d9f58f1ba */
|
|
3991
|
+
.List_list__ZTRlN {
|
|
3992
|
+
display: grid;
|
|
3993
|
+
outline: none;
|
|
3994
|
+
overflow: auto;
|
|
3995
|
+
gap: var(--spacing-1);
|
|
3996
|
+
}
|
|
3997
|
+
.List_separator__ODIwN {
|
|
3998
|
+
border-bottom: var(--border);
|
|
3999
|
+
}
|
|
4000
|
+
.List_section__MzJmN:not(:last-child) {
|
|
4001
|
+
margin-bottom: var(--spacing-4);
|
|
4002
|
+
}
|
|
4003
|
+
.List_header__MzRmM {
|
|
4004
|
+
font-size: var(--font-size-3);
|
|
4005
|
+
font-weight: var(--font-weight-bold);
|
|
4006
|
+
padding: var(--padding);
|
|
4007
|
+
}
|
|
4008
|
+
.List_item__ODM4N {
|
|
4009
|
+
display: flex;
|
|
4010
|
+
align-items: center;
|
|
4011
|
+
justify-content: space-between;
|
|
4012
|
+
font-size: var(--font-size);
|
|
4013
|
+
color: var(--font-color);
|
|
4014
|
+
padding: var(--padding);
|
|
4015
|
+
gap: var(--gap);
|
|
4016
|
+
min-width: 120px;
|
|
4017
|
+
cursor: pointer;
|
|
4018
|
+
outline: none;
|
|
4019
|
+
border-radius: var(--border-radius);
|
|
4020
|
+
}
|
|
4021
|
+
.List_item__ODM4N[data-disabled] {
|
|
4022
|
+
color: var(--font-color-disabled);
|
|
4023
|
+
}
|
|
4024
|
+
.List_item__ODM4N[data-focus],
|
|
4025
|
+
.List_item__ODM4N[data-focus-visible] {
|
|
4026
|
+
background: var(--highlight-color);
|
|
4027
|
+
}
|
|
4028
|
+
.List_item__ODM4N:hover {
|
|
4029
|
+
background: var(--highlight-color);
|
|
4030
|
+
}
|
|
4031
|
+
.List_item__ODM4N[data-selected] {
|
|
4032
|
+
font-weight: bold;
|
|
4033
|
+
& .List_checkmark__NzY1N {
|
|
4034
|
+
display: flex;
|
|
4035
|
+
justify-content: flex-end;
|
|
4036
|
+
}
|
|
4037
|
+
}
|
|
4038
|
+
.List_checkmark__NzY1N {
|
|
4039
|
+
display: none;
|
|
4040
|
+
}
|
|
4041
|
+
.List_hideCheckmark__NDhmN .List_checkmark__NzY1N {
|
|
4042
|
+
display: none;
|
|
4043
|
+
}
|
|
4044
|
+
|
|
4045
|
+
/* virtual-css:css:8ac5a8adaf8e8de9ae56ee4600f2cfaa */
|
|
4046
|
+
.ComboBox_combobox__ZDYxZ {
|
|
4047
|
+
display: flex;
|
|
4048
|
+
align-items: center;
|
|
4049
|
+
flex-wrap: nowrap;
|
|
4050
|
+
border: var(--border);
|
|
4051
|
+
padding: var(--padding);
|
|
4052
|
+
border-radius: var(--border-radius);
|
|
4053
|
+
}
|
|
4054
|
+
.ComboBox_input__YjNkN {
|
|
4055
|
+
font-size: var(--font-size);
|
|
4056
|
+
border: none;
|
|
4057
|
+
outline: none;
|
|
4058
|
+
}
|
|
4059
|
+
.ComboBox_button__NTlhM {
|
|
4060
|
+
display: flex;
|
|
4061
|
+
align-items: center;
|
|
4062
|
+
justify-content: center;
|
|
4063
|
+
border: 0;
|
|
4064
|
+
background: transparent;
|
|
4065
|
+
}
|
|
4066
|
+
.ComboBox_list__NTdiY {
|
|
4067
|
+
margin-top: var(--padding-y);
|
|
4068
|
+
margin-left: calc(-1 * var(--padding-x));
|
|
4069
|
+
padding: var(--spacing-2);
|
|
4070
|
+
background-color: var(--background-color);
|
|
4071
|
+
border: var(--border);
|
|
4072
|
+
border-radius: var(--border-radius);
|
|
4073
|
+
box-shadow: var(--box-shadow-3);
|
|
4074
|
+
width: 260px;
|
|
4075
|
+
}
|
|
4076
|
+
|
|
3995
4077
|
/* virtual-css:css:a3f0bcbc602e66499a3823844c11db39 */
|
|
3996
4078
|
.Code_code__ZTc0M {
|
|
3997
4079
|
font-family: var(--font-family-code);
|
|
@@ -4403,61 +4485,6 @@ body a.Button_button__ZGNlZ {
|
|
|
4403
4485
|
position: absolute;
|
|
4404
4486
|
}
|
|
4405
4487
|
|
|
4406
|
-
/* virtual-css:css:0fb02723d81c5960ed149d3d9f58f1ba */
|
|
4407
|
-
.List_list__ZTRlN {
|
|
4408
|
-
display: grid;
|
|
4409
|
-
outline: none;
|
|
4410
|
-
overflow: auto;
|
|
4411
|
-
gap: var(--spacing-1);
|
|
4412
|
-
}
|
|
4413
|
-
.List_separator__ODIwN {
|
|
4414
|
-
border-bottom: var(--border);
|
|
4415
|
-
}
|
|
4416
|
-
.List_section__MzJmN:not(:last-child) {
|
|
4417
|
-
margin-bottom: var(--spacing-4);
|
|
4418
|
-
}
|
|
4419
|
-
.List_header__MzRmM {
|
|
4420
|
-
font-size: var(--font-size-3);
|
|
4421
|
-
font-weight: var(--font-weight-bold);
|
|
4422
|
-
padding: var(--padding);
|
|
4423
|
-
}
|
|
4424
|
-
.List_item__ODM4N {
|
|
4425
|
-
display: flex;
|
|
4426
|
-
align-items: center;
|
|
4427
|
-
justify-content: space-between;
|
|
4428
|
-
font-size: var(--font-size);
|
|
4429
|
-
color: var(--font-color);
|
|
4430
|
-
padding: var(--padding);
|
|
4431
|
-
gap: var(--gap);
|
|
4432
|
-
min-width: 120px;
|
|
4433
|
-
cursor: pointer;
|
|
4434
|
-
outline: none;
|
|
4435
|
-
border-radius: var(--border-radius);
|
|
4436
|
-
}
|
|
4437
|
-
.List_item__ODM4N[data-disabled] {
|
|
4438
|
-
color: var(--font-color-disabled);
|
|
4439
|
-
}
|
|
4440
|
-
.List_item__ODM4N[data-focus],
|
|
4441
|
-
.List_item__ODM4N[data-focus-visible] {
|
|
4442
|
-
background: var(--highlight-color);
|
|
4443
|
-
}
|
|
4444
|
-
.List_item__ODM4N:hover {
|
|
4445
|
-
background: var(--highlight-color);
|
|
4446
|
-
}
|
|
4447
|
-
.List_item__ODM4N[data-selected] {
|
|
4448
|
-
font-weight: bold;
|
|
4449
|
-
& .List_checkmark__NzY1N {
|
|
4450
|
-
display: flex;
|
|
4451
|
-
justify-content: flex-end;
|
|
4452
|
-
}
|
|
4453
|
-
}
|
|
4454
|
-
.List_checkmark__NzY1N {
|
|
4455
|
-
display: none;
|
|
4456
|
-
}
|
|
4457
|
-
.List_hideCheckmark__NDhmN .List_checkmark__NzY1N {
|
|
4458
|
-
display: none;
|
|
4459
|
-
}
|
|
4460
|
-
|
|
4461
4488
|
/* virtual-css:css:685b6ac8ab5c6b43c34d2fc83c3b107d */
|
|
4462
4489
|
.Loading_loading__MzE0Y {
|
|
4463
4490
|
position: relative;
|