@mlola-ui/engine 1.1.18 → 1.1.20
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 +36 -43
- package/package.json +1 -1
package/generated/recipes.css
CHANGED
|
@@ -772,9 +772,13 @@
|
|
|
772
772
|
box-shadow: 0 0 0 2px var(--ml-focus);
|
|
773
773
|
}
|
|
774
774
|
|
|
775
|
+
/* A layer on <body> placed above its cell by script (useFloating), so no
|
|
776
|
+
card or panel around the heatmap can cover or cut it. */
|
|
775
777
|
.ml-heatmap-tooltip {
|
|
776
|
-
position:
|
|
777
|
-
z-index:
|
|
778
|
+
position: fixed;
|
|
779
|
+
z-index: var(--ml-layer-tooltip);
|
|
780
|
+
top: 0;
|
|
781
|
+
left: 0;
|
|
778
782
|
display: grid;
|
|
779
783
|
gap: var(--ml-space-0-5);
|
|
780
784
|
padding: var(--ml-space-1-5) var(--ml-space-2-5);
|
|
@@ -786,7 +790,6 @@
|
|
|
786
790
|
line-height: 1.35;
|
|
787
791
|
white-space: nowrap;
|
|
788
792
|
pointer-events: none;
|
|
789
|
-
translate: -50% calc(-100% - var(--ml-space-2));
|
|
790
793
|
}
|
|
791
794
|
|
|
792
795
|
.ml-heatmap-tooltip > span {
|
|
@@ -2576,14 +2579,14 @@ button.ml-breadcrumb-link {
|
|
|
2576
2579
|
color: var(--ml-text);
|
|
2577
2580
|
}
|
|
2578
2581
|
|
|
2579
|
-
/* The list: the same floating surface as Select's
|
|
2582
|
+
/* The list: the same floating surface as Select's, a layer on <body>
|
|
2583
|
+
placed beside the field by script (useFloating), so no card, panel or
|
|
2584
|
+
scroll area around the field can cover or cut it. */
|
|
2580
2585
|
.ml-combobox-popover {
|
|
2581
|
-
position:
|
|
2582
|
-
z-index: var(--ml-layer-
|
|
2583
|
-
top:
|
|
2586
|
+
position: fixed;
|
|
2587
|
+
z-index: var(--ml-layer-popover);
|
|
2588
|
+
top: 0;
|
|
2584
2589
|
left: 0;
|
|
2585
|
-
right: 0;
|
|
2586
|
-
min-width: 100%;
|
|
2587
2590
|
padding: var(--ml-space-1);
|
|
2588
2591
|
border: var(--ml-border-width) solid var(--ml-border-subtle);
|
|
2589
2592
|
border-radius: var(--ml-radius-lg);
|
|
@@ -2598,8 +2601,6 @@ button.ml-breadcrumb-link {
|
|
|
2598
2601
|
}
|
|
2599
2602
|
|
|
2600
2603
|
.ml-combobox-popover[data-side="top"] {
|
|
2601
|
-
top: auto;
|
|
2602
|
-
bottom: calc(100% + var(--ml-space-1-5));
|
|
2603
2604
|
transform-origin: bottom center;
|
|
2604
2605
|
}
|
|
2605
2606
|
|
|
@@ -6320,6 +6321,14 @@ button.ml-stepper-target:focus-visible {
|
|
|
6320
6321
|
--ml-toaster-offset: var(--ml-space-4);
|
|
6321
6322
|
position: fixed;
|
|
6322
6323
|
z-index: var(--ml-layer-toast);
|
|
6324
|
+
/* In the top layer (the Popover API, framework-free) the browser's own popover styles are set back. */
|
|
6325
|
+
inset: auto;
|
|
6326
|
+
margin: 0;
|
|
6327
|
+
padding: 0;
|
|
6328
|
+
border: 0;
|
|
6329
|
+
overflow: visible;
|
|
6330
|
+
background: none;
|
|
6331
|
+
color: inherit;
|
|
6323
6332
|
display: flex;
|
|
6324
6333
|
width: min(22rem, calc(100vw - 2 * var(--ml-toaster-offset)));
|
|
6325
6334
|
flex-direction: column;
|
|
@@ -6648,9 +6657,19 @@ button.ml-stepper-target:focus-visible {
|
|
|
6648
6657
|
display: inline-flex;
|
|
6649
6658
|
}
|
|
6650
6659
|
|
|
6660
|
+
/* A layer above the page, placed beside its trigger by script (React's
|
|
6661
|
+
useFloating, the runtime's floatingLayer), so no panel, card or scroll
|
|
6662
|
+
area around the trigger can cover or cut it. In the top layer (the
|
|
6663
|
+
Popover API) the browser's own popover styles are set back. */
|
|
6651
6664
|
.ml-tooltip {
|
|
6652
|
-
position:
|
|
6665
|
+
position: fixed;
|
|
6653
6666
|
z-index: var(--ml-layer-tooltip);
|
|
6667
|
+
inset: auto;
|
|
6668
|
+
top: 0;
|
|
6669
|
+
left: 0;
|
|
6670
|
+
margin: 0;
|
|
6671
|
+
border: 0;
|
|
6672
|
+
overflow: visible;
|
|
6654
6673
|
padding: var(--ml-space-1) var(--ml-space-2);
|
|
6655
6674
|
border-radius: var(--ml-radius-sm);
|
|
6656
6675
|
background: var(--ml-text);
|
|
@@ -6664,35 +6683,9 @@ button.ml-stepper-target:focus-visible {
|
|
|
6664
6683
|
max-width: min(20rem, calc(100vw - 2 * var(--ml-space-2)));
|
|
6665
6684
|
white-space: normal;
|
|
6666
6685
|
pointer-events: none;
|
|
6667
|
-
/* Placement uses `translate`, so the pop-in's transform adds to it instead of replacing it mid-animation. */
|
|
6668
6686
|
animation: ml-pop-in var(--ml-duration-fast) var(--ml-ease-spring);
|
|
6669
6687
|
}
|
|
6670
6688
|
|
|
6671
|
-
.ml-tooltip[data-side="top"],
|
|
6672
|
-
.ml-tooltip:not([data-side]) {
|
|
6673
|
-
bottom: calc(100% + var(--ml-space-2));
|
|
6674
|
-
left: 50%;
|
|
6675
|
-
translate: calc(-50% + var(--ml-tooltip-shift, 0px)) 0;
|
|
6676
|
-
}
|
|
6677
|
-
|
|
6678
|
-
.ml-tooltip[data-side="bottom"] {
|
|
6679
|
-
top: calc(100% + var(--ml-space-2));
|
|
6680
|
-
left: 50%;
|
|
6681
|
-
translate: calc(-50% + var(--ml-tooltip-shift, 0px)) 0;
|
|
6682
|
-
}
|
|
6683
|
-
|
|
6684
|
-
.ml-tooltip[data-side="left"] {
|
|
6685
|
-
right: calc(100% + var(--ml-space-2));
|
|
6686
|
-
top: 50%;
|
|
6687
|
-
translate: 0 calc(-50% + var(--ml-tooltip-shift, 0px));
|
|
6688
|
-
}
|
|
6689
|
-
|
|
6690
|
-
.ml-tooltip[data-side="right"] {
|
|
6691
|
-
left: calc(100% + var(--ml-space-2));
|
|
6692
|
-
top: 50%;
|
|
6693
|
-
translate: 0 calc(-50% + var(--ml-tooltip-shift, 0px));
|
|
6694
|
-
}
|
|
6695
|
-
|
|
6696
6689
|
.ml-tooltip-arrow {
|
|
6697
6690
|
position: absolute;
|
|
6698
6691
|
width: var(--ml-space-2);
|
|
@@ -6701,30 +6694,30 @@ button.ml-stepper-target:focus-visible {
|
|
|
6701
6694
|
transform: rotate(45deg);
|
|
6702
6695
|
}
|
|
6703
6696
|
|
|
6697
|
+
/* The arrow slides back by the tooltip's shift, so it keeps pointing at the trigger. */
|
|
6704
6698
|
.ml-tooltip[data-side="top"] .ml-tooltip-arrow,
|
|
6705
6699
|
.ml-tooltip:not([data-side]) .ml-tooltip-arrow {
|
|
6706
6700
|
bottom: -.2rem;
|
|
6707
6701
|
left: 50%;
|
|
6708
|
-
margin-left: calc(var(--ml-space-1) * -1 - var(--ml-
|
|
6702
|
+
margin-left: calc(var(--ml-space-1) * -1 - var(--ml-floating-shift, 0px));
|
|
6709
6703
|
}
|
|
6710
6704
|
|
|
6711
6705
|
.ml-tooltip[data-side="bottom"] .ml-tooltip-arrow {
|
|
6712
6706
|
top: -.2rem;
|
|
6713
6707
|
left: 50%;
|
|
6714
|
-
margin-left: calc(var(--ml-space-1) * -1 - var(--ml-
|
|
6708
|
+
margin-left: calc(var(--ml-space-1) * -1 - var(--ml-floating-shift, 0px));
|
|
6715
6709
|
}
|
|
6716
6710
|
|
|
6717
|
-
/* The arrow slides back by the tooltip's shift, so it keeps pointing at the trigger. */
|
|
6718
6711
|
.ml-tooltip[data-side="left"] .ml-tooltip-arrow {
|
|
6719
6712
|
right: -.2rem;
|
|
6720
6713
|
top: 50%;
|
|
6721
|
-
margin-top: calc(var(--ml-space-1) * -1 - var(--ml-
|
|
6714
|
+
margin-top: calc(var(--ml-space-1) * -1 - var(--ml-floating-shift, 0px));
|
|
6722
6715
|
}
|
|
6723
6716
|
|
|
6724
6717
|
.ml-tooltip[data-side="right"] .ml-tooltip-arrow {
|
|
6725
6718
|
left: -.2rem;
|
|
6726
6719
|
top: 50%;
|
|
6727
|
-
margin-top: calc(var(--ml-space-1) * -1 - var(--ml-
|
|
6720
|
+
margin-top: calc(var(--ml-space-1) * -1 - var(--ml-floating-shift, 0px));
|
|
6728
6721
|
}
|
|
6729
6722
|
|
|
6730
6723
|
/* components/tour */
|