@leavepulse/ui 0.86.0 → 0.86.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.
- package/README.md +367 -72
- package/dist/assets/{LpTable-ChCcmmtT.css → LpTable-CEFsRz5J.css} +19 -19
- package/dist/components/LpTable.vue.js +343 -335
- package/package.json +3 -2
- package/src/components/LpTable.vue +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leavepulse/ui",
|
|
3
|
-
"version": "0.86.
|
|
3
|
+
"version": "0.86.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "LeavePulse token-driven Vue component kit.",
|
|
6
6
|
"repository": {
|
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
"check:size": "node scripts/check-size.mjs",
|
|
73
73
|
"test:coverage": "bun test --coverage",
|
|
74
74
|
"gen:icons": "node scripts/gen-kit-icons.mjs",
|
|
75
|
-
"gen:meta": "node scripts/gen-preview-meta.mjs"
|
|
75
|
+
"gen:meta": "node scripts/gen-preview-meta.mjs",
|
|
76
|
+
"gen:readme": "node scripts/readme-catalogue.mjs"
|
|
76
77
|
},
|
|
77
78
|
"peerDependencies": {
|
|
78
79
|
"@iconify-json/lucide": "^1.2.0",
|
|
@@ -1704,6 +1704,17 @@ usePaletteCommands(() => {
|
|
|
1704
1704
|
</LpShift>
|
|
1705
1705
|
</div>
|
|
1706
1706
|
</LpShift>
|
|
1707
|
+
<!-- The frame eases to its new height as rows come and go. A leaving row
|
|
1708
|
+
stays in the flow while it fades (a positioned <tr> loses the column
|
|
1709
|
+
grid), so when it is finally removed the table lost its height in one
|
|
1710
|
+
frame: the rows slid aside smoothly and the box under them snapped.
|
|
1711
|
+
Always on rather than only while `animating`: LpShift starts over when
|
|
1712
|
+
it is switched on, so the change that switched it on was never eased.
|
|
1713
|
+
Rows the parent replaces wholesale still swap at once; only the frame
|
|
1714
|
+
eases. A virtual table owns its own height and stays out. -->
|
|
1715
|
+
<!-- flex-auto, not flex-1: a zero basis overrides the height LpShift sets
|
|
1716
|
+
while it eases, and the box jumped to its new size regardless. -->
|
|
1717
|
+
<LpShift :disabled="!!virtualRowHeight" class="flex min-h-0 flex-auto flex-col">
|
|
1707
1718
|
<LpScrollArea
|
|
1708
1719
|
v-bind="scrollAttrs"
|
|
1709
1720
|
:fade="false"
|
|
@@ -2005,6 +2016,7 @@ usePaletteCommands(() => {
|
|
|
2005
2016
|
</table>
|
|
2006
2017
|
</LpContextMenu>
|
|
2007
2018
|
</LpScrollArea>
|
|
2019
|
+
</LpShift>
|
|
2008
2020
|
<LpPagination
|
|
2009
2021
|
v-if="load && total > pageSize"
|
|
2010
2022
|
v-model:page="page"
|