@runalabs/rill-cli 0.1.18 → 0.1.19
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/cli.js +2 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -15896,6 +15896,7 @@ var scrollCapsuleSvg = `<svg xmlns="http://www.w3.org/2000/svg" width="20.5" hei
|
|
|
15896
15896
|
</svg>`;
|
|
15897
15897
|
var scrollCapsuleStyles = `
|
|
15898
15898
|
.scroll-indicator { position:absolute; right:12.75px; bottom:10.75px; width:20.5px; height:42.5px; opacity:0; transform:translateY(4px) scale(.92); transform-origin:center; transition:opacity 180ms ease-out,transform 180ms ease-out; filter:drop-shadow(0 1px 1.5px rgba(12,12,18,.18)) drop-shadow(0 4px 5px rgba(12,12,18,.12)); --rill-cursor-accent-light:color-mix(in srgb,var(--rill-cursor-accent) 78%,#fff); }
|
|
15899
|
+
.scroll-label { left:auto; right:calc(100% + 7px); top:50%; transform:translateY(-50%); }
|
|
15899
15900
|
.scroll-indicator.is-visible { opacity:1; transform:none; transition:opacity 160ms ease-out,transform 260ms cubic-bezier(.2,.9,.3,1.25); }
|
|
15900
15901
|
.scroll-indicator svg { position:absolute; left:50%; top:50%; width:20.5px; height:42.5px; translate:-50% -50%; transform-origin:center; }
|
|
15901
15902
|
.scroll-indicator[data-direction="right"],.scroll-indicator[data-direction="left"] { width:42.5px; height:20.5px; }
|
|
@@ -15946,7 +15947,7 @@ function installCursorOverlay(options) {
|
|
|
15946
15947
|
pointer.innerHTML = options.pointerMarkup;
|
|
15947
15948
|
const scrollIndicator = document.createElement("div");
|
|
15948
15949
|
scrollIndicator.className = "scroll-indicator";
|
|
15949
|
-
scrollIndicator.innerHTML = options.scrollMarkup;
|
|
15950
|
+
scrollIndicator.innerHTML = options.scrollMarkup + '<span class="rill-cursor-label scroll-label">Scrolling</span>';
|
|
15950
15951
|
const chevrons = scrollIndicator.querySelector("#chevrons");
|
|
15951
15952
|
root.append(style, pointer, scrollIndicator);
|
|
15952
15953
|
document.documentElement.appendChild(host);
|