@mlola-ui/engine 1.1.11 → 1.1.12
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/generated/recipes.css +20 -8
- package/package.json +1 -1
package/generated/recipes.css
CHANGED
|
@@ -3464,6 +3464,13 @@ button.ml-breadcrumb-link {
|
|
|
3464
3464
|
transition: border-color var(--ml-duration-fast),box-shadow var(--ml-duration-fast);
|
|
3465
3465
|
}
|
|
3466
3466
|
|
|
3467
|
+
/* A single-line field is exactly its size's control height, like the button
|
|
3468
|
+
beside it: the height comes from density, and the text sits centered in
|
|
3469
|
+
it, instead of padding around the text setting a height of its own. */
|
|
3470
|
+
.ml-input {
|
|
3471
|
+
padding-block: 0;
|
|
3472
|
+
}
|
|
3473
|
+
|
|
3467
3474
|
.ml-input:hover,
|
|
3468
3475
|
.ml-textarea:hover {
|
|
3469
3476
|
border-color: color-mix(in oklab,var(--ml-border) 100%,var(--ml-text) 12%);
|
|
@@ -3544,13 +3551,13 @@ button.ml-breadcrumb-link {
|
|
|
3544
3551
|
|
|
3545
3552
|
.ml-input[data-size="sm"] {
|
|
3546
3553
|
min-height: var(--ml-control-sm);
|
|
3547
|
-
padding: var(--ml-space-
|
|
3554
|
+
padding-inline: var(--ml-space-2-5);
|
|
3548
3555
|
font-size: var(--ml-type-sm);
|
|
3549
3556
|
}
|
|
3550
3557
|
|
|
3551
3558
|
.ml-input[data-size="lg"] {
|
|
3552
3559
|
min-height: var(--ml-control-lg);
|
|
3553
|
-
padding: var(--ml-space-
|
|
3560
|
+
padding-inline: var(--ml-space-3-5);
|
|
3554
3561
|
font-size: var(--ml-type-md);
|
|
3555
3562
|
}
|
|
3556
3563
|
|
|
@@ -3772,7 +3779,8 @@ button.ml-breadcrumb-link {
|
|
|
3772
3779
|
.ml-number-input-field {
|
|
3773
3780
|
flex: 1;
|
|
3774
3781
|
min-width: 0;
|
|
3775
|
-
|
|
3782
|
+
/* The control's height comes from density, like a text field's. */
|
|
3783
|
+
padding: 0 var(--ml-space-3);
|
|
3776
3784
|
border: 0;
|
|
3777
3785
|
background: transparent;
|
|
3778
3786
|
color: var(--ml-text);
|
|
@@ -3793,10 +3801,11 @@ button.ml-breadcrumb-link {
|
|
|
3793
3801
|
}
|
|
3794
3802
|
|
|
3795
3803
|
/* Square at any height: where touch sizing makes the field taller, the steps
|
|
3796
|
-
grow with it instead of stretching into tall slivers.
|
|
3804
|
+
grow with it instead of stretching into tall slivers. They sit inside the
|
|
3805
|
+
control's border, so their side is the height within it. */
|
|
3797
3806
|
.ml-number-input-step {
|
|
3798
3807
|
display: inline-grid;
|
|
3799
|
-
min-width: var(--ml-control-md);
|
|
3808
|
+
min-width: calc(var(--ml-control-md) - 2 * var(--ml-border-width));
|
|
3800
3809
|
aspect-ratio: 1;
|
|
3801
3810
|
place-items: center;
|
|
3802
3811
|
padding: 0;
|
|
@@ -4634,9 +4643,11 @@ button.ml-breadcrumb-link {
|
|
|
4634
4643
|
gap: var(--ml-space-0-5);
|
|
4635
4644
|
}
|
|
4636
4645
|
|
|
4646
|
+
/* Each option is a small control inside the track, so the whole control is
|
|
4647
|
+
as tall as a medium one and sits level with the fields beside it. */
|
|
4637
4648
|
.ml-segmented-control-item {
|
|
4638
4649
|
min-height: var(--ml-control-sm);
|
|
4639
|
-
padding:
|
|
4650
|
+
padding: 0 var(--ml-space-3);
|
|
4640
4651
|
border: 0;
|
|
4641
4652
|
border-radius: var(--ml-radius-md);
|
|
4642
4653
|
background: transparent;
|
|
@@ -4685,7 +4696,8 @@ button.ml-breadcrumb-link {
|
|
|
4685
4696
|
align-items: center;
|
|
4686
4697
|
justify-content: space-between;
|
|
4687
4698
|
gap: var(--ml-space-2);
|
|
4688
|
-
|
|
4699
|
+
/* As tall as its size's control height, level with an input or a button. */
|
|
4700
|
+
padding: 0 var(--ml-space-3);
|
|
4689
4701
|
color: var(--ml-text);
|
|
4690
4702
|
background: var(--ml-surface);
|
|
4691
4703
|
border: var(--ml-border-width) solid var(--ml-border);
|
|
@@ -4713,7 +4725,7 @@ button.ml-breadcrumb-link {
|
|
|
4713
4725
|
|
|
4714
4726
|
.ml-select[data-size="sm"] {
|
|
4715
4727
|
min-height: var(--ml-control-sm);
|
|
4716
|
-
padding:
|
|
4728
|
+
padding: 0 var(--ml-space-2-5);
|
|
4717
4729
|
font-size: var(--ml-type-sm);
|
|
4718
4730
|
}
|
|
4719
4731
|
|