@leavepulse/ui 0.29.1 → 0.29.2
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.
|
@@ -11,34 +11,35 @@
|
|
|
11
11
|
* fade before closing the gap and the whole list lurches at the end instead of
|
|
12
12
|
* gliding.
|
|
13
13
|
*/
|
|
14
|
-
.lp-row-enter-active[data-v-
|
|
15
|
-
.lp-row-leave-active[data-v-
|
|
14
|
+
.lp-row-enter-active[data-v-359c1c0d],
|
|
15
|
+
.lp-row-leave-active[data-v-359c1c0d] {
|
|
16
16
|
transition:
|
|
17
17
|
opacity var(--duration-fast) var(--ease-emphasized),
|
|
18
18
|
transform var(--duration-fast) var(--ease-emphasized);
|
|
19
19
|
}
|
|
20
|
-
.lp-row-move[data-v-
|
|
20
|
+
.lp-row-move[data-v-359c1c0d] {
|
|
21
21
|
transition: transform var(--duration-medium) var(--ease-emphasized);
|
|
22
22
|
}
|
|
23
|
-
.lp-row-enter-from[data-v-
|
|
24
|
-
.lp-row-leave-to[data-v-
|
|
23
|
+
.lp-row-enter-from[data-v-359c1c0d],
|
|
24
|
+
.lp-row-leave-to[data-v-359c1c0d] {
|
|
25
25
|
opacity: 0;
|
|
26
26
|
transform: translateX(-0.5rem);
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
|
|
29
|
+
/*
|
|
30
|
+
* The leaving row stays in the flow. Taking it out with `position: absolute` is
|
|
31
|
+
* the usual trick for a list, but a `<tr>` positioned that way loses the table's
|
|
32
|
+
* column grid and collapses to its content width — the row visibly breaks apart
|
|
33
|
+
* on its way out. The rows below close the gap through `lp-row-move` instead,
|
|
34
|
+
* which is a moment slower and stays a table the whole time.
|
|
35
|
+
*/
|
|
32
36
|
|
|
33
37
|
/* A filter that redraws the list is information, not decoration: with motion
|
|
34
38
|
turned down the rows change without animating rather than not changing. */
|
|
35
39
|
@media (prefers-reduced-motion: reduce) {
|
|
36
|
-
.lp-row-enter-active[data-v-
|
|
37
|
-
.lp-row-leave-active[data-v-
|
|
38
|
-
.lp-row-move[data-v-
|
|
40
|
+
.lp-row-enter-active[data-v-359c1c0d],
|
|
41
|
+
.lp-row-leave-active[data-v-359c1c0d],
|
|
42
|
+
.lp-row-move[data-v-359c1c0d] {
|
|
39
43
|
transition: none;
|
|
40
44
|
}
|
|
41
|
-
.lp-row-leave-active[data-v-7884aed8] {
|
|
42
|
-
position: static;
|
|
43
|
-
}
|
|
44
45
|
}
|
|
@@ -5,7 +5,7 @@ import { _ as _sfc_main$3 } from "../chunks/LpIcon-CCnX5_2j.js";
|
|
|
5
5
|
import { _ as _sfc_main$1 } from "../chunks/LpScrollArea-D8xyKXcF.js";
|
|
6
6
|
import { useRovingFocus } from "../composables/useRovingFocus.js";
|
|
7
7
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
8
|
-
import '../assets/LpTable-
|
|
8
|
+
import '../assets/LpTable-ChxURw0m.css';const _hoisted_1 = { class: "w-full border-collapse text-sm" };
|
|
9
9
|
const _hoisted_2 = { class: "border-b border-line bg-surface-soft" };
|
|
10
10
|
const _hoisted_3 = {
|
|
11
11
|
key: 0,
|
|
@@ -274,7 +274,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
274
274
|
};
|
|
275
275
|
}
|
|
276
276
|
});
|
|
277
|
-
const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
277
|
+
const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-359c1c0d"]]);
|
|
278
278
|
export {
|
|
279
279
|
LpTable as default
|
|
280
280
|
};
|
package/package.json
CHANGED
|
@@ -375,10 +375,13 @@ const barInsetTop = computed(() =>
|
|
|
375
375
|
transform: translateX(-0.5rem);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
378
|
+
/*
|
|
379
|
+
* The leaving row stays in the flow. Taking it out with `position: absolute` is
|
|
380
|
+
* the usual trick for a list, but a `<tr>` positioned that way loses the table's
|
|
381
|
+
* column grid and collapses to its content width — the row visibly breaks apart
|
|
382
|
+
* on its way out. The rows below close the gap through `lp-row-move` instead,
|
|
383
|
+
* which is a moment slower and stays a table the whole time.
|
|
384
|
+
*/
|
|
382
385
|
|
|
383
386
|
/* A filter that redraws the list is information, not decoration: with motion
|
|
384
387
|
turned down the rows change without animating rather than not changing. */
|
|
@@ -388,9 +391,5 @@ const barInsetTop = computed(() =>
|
|
|
388
391
|
.lp-row-move {
|
|
389
392
|
transition: none;
|
|
390
393
|
}
|
|
391
|
-
|
|
392
|
-
.lp-row-leave-active {
|
|
393
|
-
position: static;
|
|
394
|
-
}
|
|
395
394
|
}
|
|
396
395
|
</style>
|