@mhmo91/schmancy 0.10.39 → 0.10.40
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/agent/schmancy.agent.js +14 -7
- package/dist/agent/schmancy.agent.js.map +1 -1
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.js +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/boat-BJPl_Jti.cjs +34 -0
- package/dist/boat-BJPl_Jti.cjs.map +1 -0
- package/dist/{boat-fqodYt2n.js → boat-BeqA9_ms.js} +9 -4
- package/dist/boat-BeqA9_ms.js.map +1 -0
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{directives-Bb0S1DKZ.cjs → directives-BZIRQDBq.cjs} +1 -1
- package/dist/{directives-Bb0S1DKZ.cjs.map → directives-BZIRQDBq.cjs.map} +1 -1
- package/dist/{directives-Bfm1lkoy.js → directives-BvRTjCFa.js} +5 -3
- package/dist/{directives-Bfm1lkoy.js.map → directives-BvRTjCFa.js.map} +1 -1
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/handover/agent-runtime-followups.md +1 -1
- package/dist/handover/agent-runtime-v1.md +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.js +4 -4
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/navigation-bar.cjs +1 -1
- package/dist/navigation-bar.js +1 -1
- package/dist/{select-Cawz88lG.js → select-CGBsblDA.js} +1 -1
- package/dist/{select-Cawz88lG.js.map → select-CGBsblDA.js.map} +1 -1
- package/dist/{select-BWpV2iv-.cjs → select-LWdPs7b_.cjs} +1 -1
- package/dist/{select-BWpV2iv-.cjs.map → select-LWdPs7b_.cjs.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/skills/SKILL.md +4 -0
- package/dist/skills/chips.md +41 -1
- package/dist/skills/schmancy/SKILL.md +4 -0
- package/dist/skills/schmancy/chips.md +41 -1
- package/dist/{src-8VJ7eluk.js → src-Dmqjtcmp.js} +3 -3
- package/dist/{src-8VJ7eluk.js.map → src-Dmqjtcmp.js.map} +1 -1
- package/dist/{src-GJA8uSAS.cjs → src-SAXA4LEH.cjs} +1 -1
- package/dist/{src-GJA8uSAS.cjs.map → src-SAXA4LEH.cjs.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/package.json +2 -1
- package/skills/schmancy/SKILL.md +4 -0
- package/skills/schmancy/chips.md +41 -1
- package/src/boat/boat.ts +20 -5
- package/src/directives/reveal.ts +7 -1
- package/types/src/boat/boat.d.ts +1 -0
- package/types/src/directives/reveal.d.ts +2 -0
- package/dist/boat-DsFJNfPH.cjs +0 -34
- package/dist/boat-DsFJNfPH.cjs.map +0 -1
- package/dist/boat-fqodYt2n.js.map +0 -1
|
@@ -3683,14 +3683,16 @@ var ut = U(class extends z {
|
|
|
3683
3683
|
gentle: a
|
|
3684
3684
|
}, xt = B(class extends z {
|
|
3685
3685
|
constructor(e) {
|
|
3686
|
-
if (super(e), this.initialized = !1, this.teardown$ = new g(), this.firstUpdate = !0, e.type !== H.ELEMENT) throw Error("reveal() can only be used on elements");
|
|
3686
|
+
if (super(e), this.initialized = !1, this.teardown$ = new g(), this.firstUpdate = !0, this.prevShow = void 0, e.type !== H.ELEMENT) throw Error("reveal() can only be used on elements");
|
|
3687
3687
|
}
|
|
3688
3688
|
render(e, t) {
|
|
3689
3689
|
return L;
|
|
3690
3690
|
}
|
|
3691
3691
|
update(e, [n = !1, r = {}]) {
|
|
3692
3692
|
let i = e.element, { preset: a = "smooth", maxHeight: s, duration: c, easing: l } = r, u = s !== void 0, d = bt[a], f = c ?? d.duration, p = l ?? t(d), m = o.value, h = this.firstUpdate;
|
|
3693
|
-
|
|
3693
|
+
this.firstUpdate = !1;
|
|
3694
|
+
let g = n !== this.prevShow;
|
|
3695
|
+
if (this.prevShow = n, this.initialized || (this.initialized = !0, i.style.transition = m ? "none" : [
|
|
3694
3696
|
`max-height ${f}ms ${p}`,
|
|
3695
3697
|
`opacity ${f}ms ${p}`,
|
|
3696
3698
|
`transform ${f}ms ${p}`,
|
|
@@ -3698,7 +3700,7 @@ var ut = U(class extends z {
|
|
|
3698
3700
|
`margin ${f}ms ${p}`
|
|
3699
3701
|
].join(", ")), n) {
|
|
3700
3702
|
if (h) u ? (i.style.maxHeight = s, i.style.overflow = "auto") : (i.style.maxHeight = "", i.style.overflow = ""), i.style.opacity = "1", i.style.transform = "translateY(0) scale(1)";
|
|
3701
|
-
else if (m) u ? (i.style.maxHeight = s, i.style.overflow = "auto") : (i.style.maxHeight = "", i.style.overflow = ""), i.style.opacity = "1", i.style.transform = "translateY(0) scale(1)";
|
|
3703
|
+
else if (g) if (m) u ? (i.style.maxHeight = s, i.style.overflow = "auto") : (i.style.maxHeight = "", i.style.overflow = ""), i.style.opacity = "1", i.style.transform = "translateY(0) scale(1)";
|
|
3702
3704
|
else {
|
|
3703
3705
|
i.style.overflow = "hidden", i.style.maxHeight = "0", i.offsetHeight;
|
|
3704
3706
|
let e = u ? s : `${i.scrollHeight}px`;
|