@surdeddd/bottom-sheet 0.23.2 → 0.23.3
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/{BottomSheetCore-9i-Uh6T3.d.ts → BottomSheetCore-COvILxmR.d.ts} +2 -0
- package/dist/{BottomSheetCore-CQStdVy2.d.cts → BottomSheetCore-CaJwHnxY.d.cts} +2 -0
- package/dist/{BottomSheetEngine-CsQWHLNb.d.cts → BottomSheetEngine-C_1aPJsU.d.cts} +1 -1
- package/dist/{BottomSheetEngine-Dn6h-7gF.d.ts → BottomSheetEngine-CsgCcCSO.d.ts} +1 -1
- package/dist/core.cjs +43 -13
- package/dist/core.d.cts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +43 -13
- package/dist/debug.d.cts +1 -1
- package/dist/debug.d.ts +1 -1
- package/dist/{default-features-C3cilcW9.d.ts → default-features-BJx7J0NH.d.ts} +1 -1
- package/dist/{default-features-DkG9aho0.d.cts → default-features-CTJb8Wdk.d.cts} +1 -1
- package/dist/element.cjs +100 -19
- package/dist/element.d.cts +2 -2
- package/dist/element.d.ts +2 -2
- package/dist/element.iife.global.js +2 -2
- package/dist/element.js +100 -19
- package/dist/features.cjs +56 -3
- package/dist/features.d.cts +3 -3
- package/dist/features.d.ts +3 -3
- package/dist/features.js +56 -3
- package/dist/{index-CVGC5B5D.d.cts → index-BBrJJjy5.d.cts} +1 -1
- package/dist/{index-CnsJQZp2.d.ts → index-CXN7t3rr.d.ts} +1 -1
- package/dist/index.cjs +96 -16
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +96 -16
- package/dist/integrations/formik.d.cts +1 -1
- package/dist/integrations/formik.d.ts +1 -1
- package/dist/integrations/react-hook-form.d.cts +1 -1
- package/dist/integrations/react-hook-form.d.ts +1 -1
- package/dist/preact.d.cts +2 -2
- package/dist/preact.d.ts +2 -2
- package/dist/qwik-lib/index.qwik.cjs +87 -16
- package/dist/qwik-lib/index.qwik.mjs +87 -16
- package/dist/qwik.cjs +96 -16
- package/dist/qwik.d.cts +2 -2
- package/dist/qwik.d.ts +2 -2
- package/dist/qwik.js +96 -16
- package/dist/react.cjs +96 -16
- package/dist/react.d.cts +3 -3
- package/dist/react.d.ts +3 -3
- package/dist/react.js +96 -16
- package/dist/solid.cjs +96 -16
- package/dist/solid.d.cts +2 -0
- package/dist/solid.d.ts +2 -0
- package/dist/solid.js +96 -16
- package/dist/solid.source.jsx +96 -16
- package/dist/svelte-core.cjs +96 -16
- package/dist/svelte-core.js +96 -16
- package/dist/svelte.cjs +96 -16
- package/dist/svelte.js +96 -16
- package/dist/vue.cjs +96 -16
- package/dist/vue.js +96 -16
- package/dist/webgl.d.cts +1 -1
- package/dist/webgl.d.ts +1 -1
- package/package.json +11 -11
package/dist/element.cjs
CHANGED
|
@@ -99,9 +99,10 @@ function buildTransformTemplate(axis) {
|
|
|
99
99
|
return (offset) => `translate3d(${offset}px, 0, 0)`;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
var layoutAxis;
|
|
102
|
+
var offsetFromMatrix, layoutAxis;
|
|
103
103
|
var init_transform = __esm({
|
|
104
104
|
"src/core/primitives/transform.ts"() {
|
|
105
|
+
offsetFromMatrix = (axis, m) => axis === "bottom" ? m.m42 : axis === "top" ? -m.m42 : axis === "left" ? -m.m41 : m.m41;
|
|
105
106
|
layoutAxis = (axis) => axis === "left" || axis === "right" ? "width" : "height";
|
|
106
107
|
}
|
|
107
108
|
});
|
|
@@ -1288,7 +1289,7 @@ var init_animation = __esm({
|
|
|
1288
1289
|
}
|
|
1289
1290
|
const step = (now) => {
|
|
1290
1291
|
if (cancelled) return;
|
|
1291
|
-
const elapsed = now - start;
|
|
1292
|
+
const elapsed = Math.max(0, now - start);
|
|
1292
1293
|
const t = Math.min(elapsed / duration, 1);
|
|
1293
1294
|
const value = from + (to - from) * easing(t);
|
|
1294
1295
|
onUpdate(value);
|
|
@@ -1346,8 +1347,8 @@ var init_spring = __esm({
|
|
|
1346
1347
|
resolveFn = resolve;
|
|
1347
1348
|
const step = (now) => {
|
|
1348
1349
|
if (cancelled) return;
|
|
1349
|
-
const dt = Math.min((now - lastTime) / 1e3, MAX_DT);
|
|
1350
|
-
lastTime = now;
|
|
1350
|
+
const dt = Math.min(Math.max(0, now - lastTime) / 1e3, MAX_DT);
|
|
1351
|
+
lastTime = Math.max(lastTime, now);
|
|
1351
1352
|
const steps = Math.max(1, Math.ceil(dt * 240));
|
|
1352
1353
|
const subDt = dt / steps;
|
|
1353
1354
|
let stepsLeft = steps;
|
|
@@ -1460,10 +1461,11 @@ function sampleTweenSettle(from, to, durationMs, easing) {
|
|
|
1460
1461
|
durationMs
|
|
1461
1462
|
};
|
|
1462
1463
|
}
|
|
1463
|
-
var SIM_HZ, SAMPLE_STRIDE, MAX_SIM_MS;
|
|
1464
|
+
var SETTLE_ANIMATION_ID, SIM_HZ, SAMPLE_STRIDE, MAX_SIM_MS;
|
|
1464
1465
|
var init_waapi_settle = __esm({
|
|
1465
1466
|
"src/core/animation/waapi-settle.ts"() {
|
|
1466
1467
|
init_spring();
|
|
1468
|
+
SETTLE_ANIMATION_ID = "bs-settle";
|
|
1467
1469
|
SIM_HZ = 240;
|
|
1468
1470
|
SAMPLE_STRIDE = 4;
|
|
1469
1471
|
MAX_SIM_MS = 3e3;
|
|
@@ -1489,6 +1491,7 @@ var init_animation_runner = __esm({
|
|
|
1489
1491
|
__publicField(this, "isDragging");
|
|
1490
1492
|
__publicField(this, "applyAux");
|
|
1491
1493
|
__publicField(this, "getTransformFor");
|
|
1494
|
+
__publicField(this, "readShownSize");
|
|
1492
1495
|
__publicField(this, "settleWaapi");
|
|
1493
1496
|
__publicField(this, "currentWaapi", null);
|
|
1494
1497
|
__publicField(this, "animationKind");
|
|
@@ -1508,6 +1511,7 @@ var init_animation_runner = __esm({
|
|
|
1508
1511
|
this.isDragging = deps.isDragging;
|
|
1509
1512
|
this.applyAux = deps.applyAux;
|
|
1510
1513
|
this.getTransformFor = deps.getTransformFor;
|
|
1514
|
+
this.readShownSize = deps.readShownSize;
|
|
1511
1515
|
this.settleWaapi = opts.settleAnimation === "waapi";
|
|
1512
1516
|
const preset = resolveAnimationPreset(opts.animation);
|
|
1513
1517
|
this.animationKind = preset.kind;
|
|
@@ -1540,10 +1544,12 @@ var init_animation_runner = __esm({
|
|
|
1540
1544
|
const entry = this.currentWaapi;
|
|
1541
1545
|
this.currentWaapi = null;
|
|
1542
1546
|
entry.stop();
|
|
1547
|
+
const size = this.readShownSize?.() ?? entry.sizeNow();
|
|
1543
1548
|
try {
|
|
1544
1549
|
entry.anim.cancel();
|
|
1545
1550
|
} catch {
|
|
1546
1551
|
}
|
|
1552
|
+
this.applySizeFn(size);
|
|
1547
1553
|
}
|
|
1548
1554
|
cancel() {
|
|
1549
1555
|
this.currentTween?.cancel();
|
|
@@ -1553,6 +1559,7 @@ var init_animation_runner = __esm({
|
|
|
1553
1559
|
async animateTo(target, velocityPxPerMs) {
|
|
1554
1560
|
if (target === this.getSize()) {
|
|
1555
1561
|
if (!this.isAnimating && !this.isDragging()) {
|
|
1562
|
+
this.applySizeFn(target);
|
|
1556
1563
|
this.element.style.willChange = "";
|
|
1557
1564
|
}
|
|
1558
1565
|
return;
|
|
@@ -1589,6 +1596,7 @@ var init_animation_runner = __esm({
|
|
|
1589
1596
|
return;
|
|
1590
1597
|
}
|
|
1591
1598
|
}
|
|
1599
|
+
let current = false;
|
|
1592
1600
|
if (this.animationKind === "spring") {
|
|
1593
1601
|
const spring = runSpring({
|
|
1594
1602
|
from: this.getSize(),
|
|
@@ -1599,7 +1607,8 @@ var init_animation_runner = __esm({
|
|
|
1599
1607
|
});
|
|
1600
1608
|
this.currentSpring = spring;
|
|
1601
1609
|
await spring.promise;
|
|
1602
|
-
|
|
1610
|
+
current = this.currentSpring === spring;
|
|
1611
|
+
if (current) this.currentSpring = null;
|
|
1603
1612
|
} else {
|
|
1604
1613
|
const tw = tween({
|
|
1605
1614
|
from: this.getSize(),
|
|
@@ -1610,11 +1619,15 @@ var init_animation_runner = __esm({
|
|
|
1610
1619
|
});
|
|
1611
1620
|
this.currentTween = tw;
|
|
1612
1621
|
await tw.promise;
|
|
1613
|
-
|
|
1622
|
+
current = this.currentTween === tw;
|
|
1623
|
+
if (current) this.currentTween = null;
|
|
1614
1624
|
}
|
|
1615
1625
|
if (!this.isAnimating) {
|
|
1616
1626
|
this.getRootEl()?.removeAttribute("data-animating");
|
|
1617
|
-
if (!this.isDragging())
|
|
1627
|
+
if (!this.isDragging()) {
|
|
1628
|
+
if (current) this.applySizeFn(this.getSize());
|
|
1629
|
+
this.element.style.willChange = "";
|
|
1630
|
+
}
|
|
1618
1631
|
}
|
|
1619
1632
|
}
|
|
1620
1633
|
async runWaapiSettle(samples, target) {
|
|
@@ -1628,11 +1641,11 @@ var init_animation_runner = __esm({
|
|
|
1628
1641
|
easing: "linear",
|
|
1629
1642
|
fill: "forwards"
|
|
1630
1643
|
});
|
|
1644
|
+
anim.id = SETTLE_ANIMATION_ID;
|
|
1631
1645
|
let stopped = false;
|
|
1632
1646
|
let auxRaf = 0;
|
|
1633
1647
|
const lastIdx = samples.values.length - 1;
|
|
1634
|
-
const
|
|
1635
|
-
if (stopped) return;
|
|
1648
|
+
const sizeNow = () => {
|
|
1636
1649
|
const at = Math.min(
|
|
1637
1650
|
(Number(anim.currentTime) || 0) / samples.stepMs,
|
|
1638
1651
|
lastIdx
|
|
@@ -1640,7 +1653,11 @@ var init_animation_runner = __esm({
|
|
|
1640
1653
|
const idx = Math.floor(at);
|
|
1641
1654
|
const from = samples.values[idx];
|
|
1642
1655
|
const to = samples.values[Math.min(idx + 1, lastIdx)];
|
|
1643
|
-
|
|
1656
|
+
return from + (to - from) * (at - idx);
|
|
1657
|
+
};
|
|
1658
|
+
const auxTick = () => {
|
|
1659
|
+
if (stopped) return;
|
|
1660
|
+
applyAux(sizeNow());
|
|
1644
1661
|
auxRaf = requestAnimationFrame(auxTick);
|
|
1645
1662
|
};
|
|
1646
1663
|
auxRaf = requestAnimationFrame(auxTick);
|
|
@@ -1649,7 +1666,8 @@ var init_animation_runner = __esm({
|
|
|
1649
1666
|
stop: () => {
|
|
1650
1667
|
stopped = true;
|
|
1651
1668
|
cancelAnimationFrame(auxRaf);
|
|
1652
|
-
}
|
|
1669
|
+
},
|
|
1670
|
+
sizeNow
|
|
1653
1671
|
};
|
|
1654
1672
|
this.currentWaapi = entry;
|
|
1655
1673
|
try {
|
|
@@ -2888,6 +2906,7 @@ var init_BottomSheetCore = __esm({
|
|
|
2888
2906
|
__publicField(this, "closeOnBack");
|
|
2889
2907
|
__publicField(this, "routedTo");
|
|
2890
2908
|
__publicField(this, "fitContentToSnap");
|
|
2909
|
+
__publicField(this, "settleAnimation");
|
|
2891
2910
|
__publicField(this, "persistent");
|
|
2892
2911
|
__publicField(this, "disableCloseFlag");
|
|
2893
2912
|
__publicField(this, "disableDragFlag");
|
|
@@ -2992,6 +3011,11 @@ var init_BottomSheetCore = __esm({
|
|
|
2992
3011
|
const cap = this.snaps.getMaxAxisSize();
|
|
2993
3012
|
const shown = cap > 0 && !this.allowOvershoot ? Math.min(size, cap) : size;
|
|
2994
3013
|
return this.transformTemplate(cap - shown);
|
|
3014
|
+
},
|
|
3015
|
+
readShownSize: () => {
|
|
3016
|
+
const shown = getComputedStyle(this.element).transform;
|
|
3017
|
+
if (!shown || shown === "none") return void 0;
|
|
3018
|
+
return this.snaps.getMaxAxisSize() - offsetFromMatrix(this.mode, new DOMMatrix(shown));
|
|
2995
3019
|
}
|
|
2996
3020
|
},
|
|
2997
3021
|
resolved.animation
|
|
@@ -3006,6 +3030,7 @@ var init_BottomSheetCore = __esm({
|
|
|
3006
3030
|
this.closeOnBack = resolved.closeOnBack;
|
|
3007
3031
|
this.routedTo = opts.routedTo;
|
|
3008
3032
|
this.fitContentToSnap = opts.fitContentToSnap === true;
|
|
3033
|
+
this.settleAnimation = opts.settleAnimation;
|
|
3009
3034
|
this.persistent = resolved.persistent;
|
|
3010
3035
|
this.disableCloseFlag = resolved.disableClose;
|
|
3011
3036
|
this.disableDragFlag = resolved.disableDrag;
|
|
@@ -3108,7 +3133,8 @@ var init_BottomSheetCore = __esm({
|
|
|
3108
3133
|
closeOnRouteChange: this.closeOnRouteChange,
|
|
3109
3134
|
persistKey: this.persistKey,
|
|
3110
3135
|
autoCollapseAfter,
|
|
3111
|
-
fitContentToSnap: this.fitContentToSnap
|
|
3136
|
+
fitContentToSnap: this.fitContentToSnap,
|
|
3137
|
+
settleAnimation: this.settleAnimation
|
|
3112
3138
|
},
|
|
3113
3139
|
isDestroyed: () => this.destroyed,
|
|
3114
3140
|
isDragging: () => this.isDraggingAny(),
|
|
@@ -4000,7 +4026,11 @@ var init_BottomSheetCore = __esm({
|
|
|
4000
4026
|
const offset = cap - clamped;
|
|
4001
4027
|
const style = this.element.style;
|
|
4002
4028
|
if (!skipTransform) style.transform = this.transformTemplate(offset);
|
|
4003
|
-
|
|
4029
|
+
const sizeChanged = this.sizeWriteSentinel.shouldWrite(
|
|
4030
|
+
clamped,
|
|
4031
|
+
this.animation.isAnimating || this.isDraggingAny() ? SIZE_WRITE_EPSILON : 0
|
|
4032
|
+
);
|
|
4033
|
+
if (sizeChanged) {
|
|
4004
4034
|
style.setProperty("--bs-size", `${clamped}px`);
|
|
4005
4035
|
if (this.scrimParent) {
|
|
4006
4036
|
this.scrimParent.style.setProperty("--bs-size", `${clamped}px`);
|
|
@@ -4027,7 +4057,7 @@ var init_BottomSheetCore = __esm({
|
|
|
4027
4057
|
}
|
|
4028
4058
|
}
|
|
4029
4059
|
this.scrim.applyOpacity(progress, progressChanged);
|
|
4030
|
-
if (progressChanged && this.bus.listenerCount("progress") > 0) {
|
|
4060
|
+
if ((progressChanged || sizeChanged) && this.bus.listenerCount("progress") > 0) {
|
|
4031
4061
|
this.progressPayload.value = progress;
|
|
4032
4062
|
this.progressPayload.size = clamped;
|
|
4033
4063
|
this.emit("progress", this.progressPayload);
|
|
@@ -4571,10 +4601,14 @@ function contentFitFeature() {
|
|
|
4571
4601
|
return;
|
|
4572
4602
|
}
|
|
4573
4603
|
const sheet = ctx.element;
|
|
4604
|
+
const waapi = ctx.options.settleAnimation === "waapi";
|
|
4574
4605
|
let inset = 0;
|
|
4575
4606
|
let unpaddedMax = -1;
|
|
4576
4607
|
let top = 0;
|
|
4577
4608
|
let resting = false;
|
|
4609
|
+
let liftMax = 0;
|
|
4610
|
+
let followed = null;
|
|
4611
|
+
let follower = null;
|
|
4578
4612
|
const put = (name, px) => sheet.style.setProperty(name, `${px}px`);
|
|
4579
4613
|
const hiddenAt = (size) => sheet.dataset.mode === "bottom" ? Math.max(0, ctx.getMaxAxisSize() - size) : 0;
|
|
4580
4614
|
const follow = (size) => {
|
|
@@ -4588,8 +4622,45 @@ function contentFitFeature() {
|
|
|
4588
4622
|
top = limit;
|
|
4589
4623
|
}
|
|
4590
4624
|
};
|
|
4625
|
+
const unfollow = () => {
|
|
4626
|
+
follower?.cancel();
|
|
4627
|
+
follower = null;
|
|
4628
|
+
followed = null;
|
|
4629
|
+
};
|
|
4630
|
+
const followSettle = () => {
|
|
4631
|
+
if (followed?.playState === "running") return;
|
|
4632
|
+
const settleAnim = sheet.getAnimations?.().find((a) => a.id === SETTLE_ANIMATION_ID);
|
|
4633
|
+
const footer = sheet.querySelector(".bs-footer");
|
|
4634
|
+
if (!settleAnim || !footer) return;
|
|
4635
|
+
const effect = settleAnim.effect;
|
|
4636
|
+
unfollow();
|
|
4637
|
+
const own = footer.animate(
|
|
4638
|
+
effect.getKeyframes().map((k) => ({
|
|
4639
|
+
offset: k.computedOffset,
|
|
4640
|
+
transform: `translateY(${-Math.min(
|
|
4641
|
+
Math.max(0, parseFloat(String(k.transform).split(",")[1]) || 0),
|
|
4642
|
+
liftMax
|
|
4643
|
+
)}px)`
|
|
4644
|
+
})),
|
|
4645
|
+
{
|
|
4646
|
+
duration: effect.getTiming().duration,
|
|
4647
|
+
easing: "linear",
|
|
4648
|
+
fill: "forwards"
|
|
4649
|
+
}
|
|
4650
|
+
);
|
|
4651
|
+
follower = own;
|
|
4652
|
+
followed = settleAnim;
|
|
4653
|
+
const done = () => {
|
|
4654
|
+
if (followed === settleAnim) unfollow();
|
|
4655
|
+
};
|
|
4656
|
+
settleAnim.ready.then(() => {
|
|
4657
|
+
if (follower === own) own.startTime = settleAnim.startTime;
|
|
4658
|
+
}, done);
|
|
4659
|
+
settleAnim.finished.then(done, done);
|
|
4660
|
+
};
|
|
4591
4661
|
const settle = () => {
|
|
4592
4662
|
if (ctx.isDestroyed()) return;
|
|
4663
|
+
unfollow();
|
|
4593
4664
|
const size = ctx.getSize();
|
|
4594
4665
|
if (!resting) {
|
|
4595
4666
|
unpaddedMax = -1;
|
|
@@ -4597,7 +4668,6 @@ function contentFitFeature() {
|
|
|
4597
4668
|
}
|
|
4598
4669
|
inset = hiddenAt(size);
|
|
4599
4670
|
put(INSET_VAR, inset);
|
|
4600
|
-
put(SIZE_VAR, size);
|
|
4601
4671
|
put(CAP_VAR, ctx.getMaxAxisSize());
|
|
4602
4672
|
if (!resting) {
|
|
4603
4673
|
resting = true;
|
|
@@ -4609,9 +4679,13 @@ function contentFitFeature() {
|
|
|
4609
4679
|
if (resting) {
|
|
4610
4680
|
resting = false;
|
|
4611
4681
|
sheet.setAttribute(FIT_ATTR, "moving");
|
|
4612
|
-
|
|
4682
|
+
liftMax = scroller.offsetHeight;
|
|
4683
|
+
put(LIFT_VAR, liftMax);
|
|
4613
4684
|
}
|
|
4614
4685
|
follow(size);
|
|
4686
|
+
if (waapi && ctx.isAnimating() && sheet.dataset.mode === "bottom") {
|
|
4687
|
+
followSettle();
|
|
4688
|
+
}
|
|
4615
4689
|
};
|
|
4616
4690
|
const moving = () => ctx.isAnimating() || ctx.isDragging();
|
|
4617
4691
|
const whenIdle = () => {
|
|
@@ -4624,13 +4698,20 @@ function contentFitFeature() {
|
|
|
4624
4698
|
);
|
|
4625
4699
|
const offSnap = ctx.on("snap", settle);
|
|
4626
4700
|
const offDragStart = ctx.on("dragstart", () => move(ctx.getSize()));
|
|
4701
|
+
const offBeforeSnap = ctx.on("before-snap", () => {
|
|
4702
|
+
queueMicrotask(() => {
|
|
4703
|
+
if (!ctx.isDestroyed() && ctx.isAnimating()) move(ctx.getSize());
|
|
4704
|
+
});
|
|
4705
|
+
});
|
|
4627
4706
|
const observer = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(whenIdle);
|
|
4628
4707
|
observer?.observe(document.documentElement);
|
|
4629
4708
|
window.addEventListener("orientationchange", whenIdle);
|
|
4630
4709
|
return () => {
|
|
4710
|
+
unfollow();
|
|
4631
4711
|
offProgress();
|
|
4632
4712
|
offSnap();
|
|
4633
4713
|
offDragStart();
|
|
4714
|
+
offBeforeSnap();
|
|
4634
4715
|
observer?.disconnect();
|
|
4635
4716
|
window.removeEventListener("orientationchange", whenIdle);
|
|
4636
4717
|
sheet.removeAttribute(FIT_ATTR);
|
|
@@ -4641,11 +4722,11 @@ function contentFitFeature() {
|
|
|
4641
4722
|
}
|
|
4642
4723
|
};
|
|
4643
4724
|
}
|
|
4644
|
-
var INSET_VAR,
|
|
4725
|
+
var INSET_VAR, CAP_VAR, LIFT_VAR, FIT_ATTR;
|
|
4645
4726
|
var init_content_fit = __esm({
|
|
4646
4727
|
"src/core/features/content-fit.ts"() {
|
|
4728
|
+
init_waapi_settle();
|
|
4647
4729
|
INSET_VAR = "--bs-content-inset";
|
|
4648
|
-
SIZE_VAR = "--bs-size";
|
|
4649
4730
|
CAP_VAR = "--bs-max-size";
|
|
4650
4731
|
LIFT_VAR = "--bs-footer-lift-max";
|
|
4651
4732
|
FIT_ATTR = "data-bs-fit-content";
|
package/dist/element.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BottomSheetEngine } from './BottomSheetEngine-
|
|
2
|
-
import { C as CloseReason, A as AnchorOptions, i as ScrimStagesOptions, d as EngineState } from './BottomSheetCore-
|
|
1
|
+
import { B as BottomSheetEngine } from './BottomSheetEngine-C_1aPJsU.cjs';
|
|
2
|
+
import { C as CloseReason, A as AnchorOptions, i as ScrimStagesOptions, d as EngineState } from './BottomSheetCore-CaJwHnxY.cjs';
|
|
3
3
|
import './transform-jVfAikE9.cjs';
|
|
4
4
|
|
|
5
5
|
declare const BaseHTMLElement: typeof HTMLElement;
|
package/dist/element.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BottomSheetEngine } from './BottomSheetEngine-
|
|
2
|
-
import { C as CloseReason, A as AnchorOptions, i as ScrimStagesOptions, d as EngineState } from './BottomSheetCore-
|
|
1
|
+
import { B as BottomSheetEngine } from './BottomSheetEngine-CsgCcCSO.js';
|
|
2
|
+
import { C as CloseReason, A as AnchorOptions, i as ScrimStagesOptions, d as EngineState } from './BottomSheetCore-COvILxmR.js';
|
|
3
3
|
import './transform-jVfAikE9.js';
|
|
4
4
|
|
|
5
5
|
declare const BaseHTMLElement: typeof HTMLElement;
|