@leavepulse/ui 0.30.0 → 0.30.1

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.
@@ -79,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
79
79
  return openBlock(), createBlock(Teleport, { to: "body" }, [
80
80
  createVNode(Transition, {
81
81
  "enter-active-class": "animate-[rise-in_var(--duration-medium)_var(--ease-emphasized)]",
82
- "leave-active-class": "animate-[rise-out_var(--duration-fast)_ease]"
82
+ "leave-active-class": "animate-[rise-out_var(--duration-fast)_ease_forwards] motion-reduce:animate-none"
83
83
  }, {
84
84
  default: withCtx(() => [
85
85
  __props.open ? (openBlock(), createElementBlock("div", {
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpActionBar-CxmBZpGu.js";
1
+ import { _ as _sfc_main } from "../chunks/LpActionBar-BlvtGB2P.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { _ } from "./chunks/LayoutCanvas-Dd20boUG.js";
2
2
  import { _ as _2 } from "./chunks/LpAddressInput-Bk6D8Bcy.js";
3
3
  import { _ as _3 } from "./chunks/LpMapPicker-CXvoTrAe.js";
4
4
  import { OSM_TILES, createNominatimProvider, emptyAddress, formatAddress, project, tileUrl, unproject } from "./components/address.js";
5
- import { _ as _4 } from "./chunks/LpActionBar-CxmBZpGu.js";
5
+ import { _ as _4 } from "./chunks/LpActionBar-BlvtGB2P.js";
6
6
  import { _ as _5 } from "./chunks/LpAlert-BAYHDSS1.js";
7
7
  import { _ as _6 } from "./chunks/LpAppShell-DnocEJAu.js";
8
8
  import { _ as _7 } from "./chunks/LpAutocomplete-DExlIZe_.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavepulse/ui",
3
- "version": "0.30.0",
3
+ "version": "0.30.1",
4
4
  "type": "module",
5
5
  "description": "LeavePulse token-driven Vue component kit.",
6
6
  "repository": {
@@ -177,9 +177,17 @@ watch(
177
177
  blur). Declaring it next to the form it belongs to should not decide
178
178
  where on screen it lands. -->
179
179
  <Teleport to="body">
180
+ <!-- `forwards` on the way out, because the leave animation finishing is not
181
+ the same moment as the element leaving. `rise-out` is a bare `to {}`, so
182
+ once it ends the element snaps back to opacity 1 at its resting
183
+ position, and Vue then takes a frame to unmount it — a bar that had
184
+ faded to nothing flashed back at full strength and vanished. Holding the
185
+ final frame means the last thing painted is the last frame of the fade.
186
+ Reduced motion skips it entirely rather than holding a frame it never
187
+ animated to. -->
180
188
  <Transition
181
189
  enter-active-class="animate-[rise-in_var(--duration-medium)_var(--ease-emphasized)]"
182
- leave-active-class="animate-[rise-out_var(--duration-fast)_ease]"
190
+ leave-active-class="animate-[rise-out_var(--duration-fast)_ease_forwards] motion-reduce:animate-none"
183
191
  >
184
192
  <div
185
193
  v-if="open"