@syntrologie/runtime-sdk 2.8.0-canary.177 → 2.8.0-canary.178
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/components/SyntroBottomSheet.d.ts +9 -7
- package/dist/index.js +13 -11
- package/dist/index.js.map +2 -2
- package/dist/smart-canvas.esm.js +3 -3
- package/dist/smart-canvas.esm.js.map +2 -2
- package/dist/smart-canvas.js +14 -12
- package/dist/smart-canvas.js.map +2 -2
- package/dist/smart-canvas.min.js +3 -3
- package/dist/smart-canvas.min.js.map +2 -2
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/smart-canvas.js
CHANGED
|
@@ -14442,7 +14442,7 @@ Please report this to https://github.com/markedjs/marked.`, e9) {
|
|
|
14442
14442
|
const targetTransform = container.style.transform;
|
|
14443
14443
|
const targetTransition = container.style.transition;
|
|
14444
14444
|
container.style.transition = "none";
|
|
14445
|
-
container.style.transform = "translateY(
|
|
14445
|
+
container.style.transform = "translateY(100svh)";
|
|
14446
14446
|
this._entryRafId = requestAnimationFrame(() => {
|
|
14447
14447
|
container.style.transition = targetTransition;
|
|
14448
14448
|
container.style.transform = targetTransform;
|
|
@@ -14610,15 +14610,17 @@ Please report this to https://github.com/markedjs/marked.`, e9) {
|
|
|
14610
14610
|
left: "0",
|
|
14611
14611
|
right: "0",
|
|
14612
14612
|
bottom: "0",
|
|
14613
|
-
// ``
|
|
14614
|
-
//
|
|
14615
|
-
//
|
|
14616
|
-
//
|
|
14617
|
-
//
|
|
14618
|
-
//
|
|
14619
|
-
|
|
14613
|
+
// ``100svh`` (small viewport height) is the viewport with the
|
|
14614
|
+
// mobile browser chrome (URL bar) visible. Using ``svh`` instead
|
|
14615
|
+
// of ``dvh`` prevents the sheet from jumping when Chrome/Safari
|
|
14616
|
+
// shows or hides the URL bar — the sheet is always sized for the
|
|
14617
|
+
// smallest viewport. When the URL bar hides, a small gap appears
|
|
14618
|
+
// at the bottom rather than a jarring position shift. Browser
|
|
14619
|
+
// support: Safari 15.4+, Chrome 108+, Firefox 101+ — universal
|
|
14620
|
+
// in 2026.
|
|
14621
|
+
height: "100svh",
|
|
14620
14622
|
pointerEvents: "auto",
|
|
14621
|
-
transform: `translateY(${topEdgeVh}
|
|
14623
|
+
transform: `translateY(${topEdgeVh}svh)`,
|
|
14622
14624
|
transition: this.isDragging ? "none" : `transform ${dur} ${ease}, opacity ${dur} ease-out`,
|
|
14623
14625
|
display: "flex",
|
|
14624
14626
|
flexDirection: "column",
|
|
@@ -14654,7 +14656,7 @@ Please report this to https://github.com/markedjs/marked.`, e9) {
|
|
|
14654
14656
|
overflowY: "auto",
|
|
14655
14657
|
padding: "0 1rem 1rem",
|
|
14656
14658
|
touchAction: "pan-y",
|
|
14657
|
-
maxHeight: `calc(${snapVh}
|
|
14659
|
+
maxHeight: `calc(${snapVh}svh - 56px)`
|
|
14658
14660
|
};
|
|
14659
14661
|
return b2`
|
|
14660
14662
|
<div data-syntro-bottom-sheet="root" style=${o5(rootStyles)}>
|
|
@@ -16098,7 +16100,7 @@ Please report this to https://github.com/markedjs/marked.`, e9) {
|
|
|
16098
16100
|
}
|
|
16099
16101
|
|
|
16100
16102
|
// src/version.ts
|
|
16101
|
-
var SDK_VERSION = "2.8.0-canary.
|
|
16103
|
+
var SDK_VERSION = "2.8.0-canary.178";
|
|
16102
16104
|
|
|
16103
16105
|
// src/types.ts
|
|
16104
16106
|
var SDK_SCHEMA_VERSION = "2.0";
|
|
@@ -33335,7 +33337,7 @@ ${cssRules}
|
|
|
33335
33337
|
}
|
|
33336
33338
|
|
|
33337
33339
|
// src/index.ts
|
|
33338
|
-
var RUNTIME_SDK_BUILD = true ? `${"2026-05-03T21:
|
|
33340
|
+
var RUNTIME_SDK_BUILD = true ? `${"2026-05-03T21:49:57.914Z"} (${"c8a2d488ec2"})` : "dev";
|
|
33339
33341
|
if (typeof window !== "undefined") {
|
|
33340
33342
|
console.log(`[Syntro Runtime] Build: ${RUNTIME_SDK_BUILD} (Lit)`);
|
|
33341
33343
|
const existing = window.SynOS;
|