@leavepulse/ui 0.92.0 → 0.92.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.
|
@@ -6,19 +6,28 @@
|
|
|
6
6
|
* outside and only the dots between facts are seen. A cell whose slot drew
|
|
7
7
|
* nothing (a v-if that failed, an empty value) is left out, dot and all.
|
|
8
8
|
*/
|
|
9
|
-
.lp-line[data-v-
|
|
9
|
+
.lp-line[data-v-5ac91b9e] {
|
|
10
10
|
--lp-line-sep: 1rem;
|
|
11
11
|
}
|
|
12
|
-
.lp-line-row[data-v-
|
|
12
|
+
.lp-line-row[data-v-5ac91b9e] {
|
|
13
13
|
margin-left: calc(-1 * var(--lp-line-sep));
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
|
|
16
|
+
/* The dot lives in the field's own left padding, so whatever the cell draws,
|
|
17
|
+
a word or a block of two lines, starts after it and never in the clipped
|
|
18
|
+
strip. */
|
|
19
|
+
.lp-line-field[data-v-5ac91b9e] {
|
|
20
|
+
position: relative;
|
|
21
|
+
padding-left: var(--lp-line-sep);
|
|
22
|
+
}
|
|
23
|
+
.lp-line-field[data-v-5ac91b9e]::before {
|
|
16
24
|
content: "·" / "";
|
|
17
|
-
|
|
25
|
+
position: absolute;
|
|
26
|
+
left: 0;
|
|
18
27
|
width: var(--lp-line-sep);
|
|
19
28
|
text-align: center;
|
|
20
29
|
}
|
|
21
|
-
.lp-line-field[data-v-
|
|
30
|
+
.lp-line-field[data-v-5ac91b9e]:has(> .lp-line-value:empty) {
|
|
22
31
|
display: none;
|
|
23
32
|
}
|
|
24
33
|
|
|
@@ -34,17 +43,17 @@
|
|
|
34
43
|
* fade before closing the gap and the whole list lurches at the end instead of
|
|
35
44
|
* gliding.
|
|
36
45
|
*/
|
|
37
|
-
.lp-row-enter-active[data-v-
|
|
38
|
-
.lp-row-leave-active[data-v-
|
|
46
|
+
.lp-row-enter-active[data-v-5ac91b9e],
|
|
47
|
+
.lp-row-leave-active[data-v-5ac91b9e] {
|
|
39
48
|
transition:
|
|
40
49
|
opacity var(--duration-fast) var(--ease-emphasized),
|
|
41
50
|
transform var(--duration-fast) var(--ease-emphasized);
|
|
42
51
|
}
|
|
43
|
-
.lp-row-move[data-v-
|
|
52
|
+
.lp-row-move[data-v-5ac91b9e] {
|
|
44
53
|
transition: transform var(--duration-medium) var(--ease-emphasized);
|
|
45
54
|
}
|
|
46
|
-
.lp-row-enter-from[data-v-
|
|
47
|
-
.lp-row-leave-to[data-v-
|
|
55
|
+
.lp-row-enter-from[data-v-5ac91b9e],
|
|
56
|
+
.lp-row-leave-to[data-v-5ac91b9e] {
|
|
48
57
|
opacity: 0;
|
|
49
58
|
transform: translateX(-0.5rem);
|
|
50
59
|
}
|
|
@@ -58,7 +67,7 @@
|
|
|
58
67
|
* drops out of the table layout entirely. Nothing sits below this row to be
|
|
59
68
|
* dragged around, so simply not animating its exit costs nothing.
|
|
60
69
|
*/
|
|
61
|
-
.lp-row-empty.lp-row-leave-active[data-v-
|
|
70
|
+
.lp-row-empty.lp-row-leave-active[data-v-5ac91b9e] {
|
|
62
71
|
display: none;
|
|
63
72
|
}
|
|
64
73
|
|
|
@@ -77,7 +86,7 @@
|
|
|
77
86
|
* once anything is selected. An earlier version collapsed the column to nothing
|
|
78
87
|
* and floated the hover box over the first cell, where it sat on the text.
|
|
79
88
|
*/
|
|
80
|
-
.lp-tick[data-v-
|
|
89
|
+
.lp-tick[data-v-5ac91b9e] {
|
|
81
90
|
display: flex;
|
|
82
91
|
align-items: center;
|
|
83
92
|
max-width: 0;
|
|
@@ -89,17 +98,17 @@
|
|
|
89
98
|
padding var(--duration-medium) var(--ease-emphasized),
|
|
90
99
|
opacity var(--duration-fast) ease;
|
|
91
100
|
}
|
|
92
|
-
.lp-tick-open[data-v-
|
|
101
|
+
.lp-tick-open[data-v-5ac91b9e] {
|
|
93
102
|
max-width: 3.25rem;
|
|
94
103
|
padding-inline: 1rem;
|
|
95
104
|
opacity: 1;
|
|
96
105
|
}
|
|
97
|
-
.lp-tick-hidden[data-v-
|
|
98
|
-
.lp-tick-cue[data-v-
|
|
106
|
+
.lp-tick-hidden[data-v-5ac91b9e],
|
|
107
|
+
.lp-tick-cue[data-v-5ac91b9e] {
|
|
99
108
|
opacity: 0;
|
|
100
109
|
}
|
|
101
|
-
tr:hover .lp-tick-cue[data-v-
|
|
102
|
-
.lp-tick-cue[data-v-
|
|
110
|
+
tr:hover .lp-tick-cue[data-v-5ac91b9e],
|
|
111
|
+
.lp-tick-cue[data-v-5ac91b9e]:focus-within {
|
|
103
112
|
opacity: 1;
|
|
104
113
|
}
|
|
105
114
|
|
|
@@ -107,15 +116,15 @@ tr:hover .lp-tick-cue[data-v-62285817],
|
|
|
107
116
|
turned down the rows change without animating rather than not changing. */
|
|
108
117
|
/* Only where there is a hover to reveal it; a finger long-presses instead. */
|
|
109
118
|
@media (hover: none) {
|
|
110
|
-
tr:hover .lp-tick-cue[data-v-
|
|
119
|
+
tr:hover .lp-tick-cue[data-v-5ac91b9e] {
|
|
111
120
|
opacity: 0;
|
|
112
121
|
}
|
|
113
122
|
|
|
114
123
|
/* Nor is there anything for the column's width to hold until then: on a
|
|
115
124
|
touch screen it stays closed until a long press starts selecting, and
|
|
116
125
|
eases open like the rest of the column. */
|
|
117
|
-
.lp-tick-hidden[data-v-
|
|
118
|
-
.lp-tick-cue[data-v-
|
|
126
|
+
.lp-tick-hidden[data-v-5ac91b9e],
|
|
127
|
+
.lp-tick-cue[data-v-5ac91b9e] {
|
|
119
128
|
max-width: 0;
|
|
120
129
|
padding-inline: 0;
|
|
121
130
|
}
|
|
@@ -125,7 +134,7 @@ tr:hover .lp-tick-cue[data-v-62285817] {
|
|
|
125
134
|
* A list line's tick opens from nothing, as the table's column does, so lines
|
|
126
135
|
* do not carry an empty gap until selection starts.
|
|
127
136
|
*/
|
|
128
|
-
.lp-tick-line[data-v-
|
|
137
|
+
.lp-tick-line[data-v-5ac91b9e] {
|
|
129
138
|
max-width: 2rem;
|
|
130
139
|
opacity: 1;
|
|
131
140
|
}
|
|
@@ -135,28 +144,28 @@ tr:hover .lp-tick-cue[data-v-62285817] {
|
|
|
135
144
|
* open; a cue shows it only while
|
|
136
145
|
* the card is pointed at or holds focus, the same rule as a row's.
|
|
137
146
|
*/
|
|
138
|
-
.lp-tick-card[data-v-
|
|
147
|
+
.lp-tick-card[data-v-5ac91b9e] {
|
|
139
148
|
max-width: none;
|
|
140
149
|
padding-inline: 0;
|
|
141
150
|
opacity: 1;
|
|
142
151
|
}
|
|
143
|
-
.lp-tick[data-cue][data-v-
|
|
152
|
+
.lp-tick[data-cue][data-v-5ac91b9e] {
|
|
144
153
|
opacity: 0;
|
|
145
154
|
}
|
|
146
|
-
.lp-item:hover .lp-tick[data-cue][data-v-
|
|
147
|
-
.lp-tick[data-cue][data-v-
|
|
155
|
+
.lp-item:hover .lp-tick[data-cue][data-v-5ac91b9e],
|
|
156
|
+
.lp-tick[data-cue][data-v-5ac91b9e]:focus-within {
|
|
148
157
|
opacity: 1;
|
|
149
158
|
}
|
|
150
159
|
@media (hover: none) {
|
|
151
|
-
.lp-item:hover .lp-tick[data-cue][data-v-
|
|
160
|
+
.lp-item:hover .lp-tick[data-cue][data-v-5ac91b9e] {
|
|
152
161
|
opacity: 0;
|
|
153
162
|
}
|
|
154
163
|
}
|
|
155
164
|
@media (prefers-reduced-motion: reduce) {
|
|
156
|
-
.lp-row-enter-active[data-v-
|
|
157
|
-
.lp-row-leave-active[data-v-
|
|
158
|
-
.lp-row-move[data-v-
|
|
159
|
-
.lp-tick[data-v-
|
|
165
|
+
.lp-row-enter-active[data-v-5ac91b9e],
|
|
166
|
+
.lp-row-leave-active[data-v-5ac91b9e],
|
|
167
|
+
.lp-row-move[data-v-5ac91b9e],
|
|
168
|
+
.lp-tick[data-v-5ac91b9e] {
|
|
160
169
|
transition: none;
|
|
161
170
|
}
|
|
162
171
|
}
|
|
@@ -34,7 +34,7 @@ import { toCsv, downloadFile, fileStem } from "./exportData.js";
|
|
|
34
34
|
import { toHiddenSets, sameHidden, summarizeShown, parseTableState, mergeRestored, serializeTableState, fromHiddenSets } from "./tableFilter.js";
|
|
35
35
|
import { resolveRowMenu } from "./tableRowMenu.js";
|
|
36
36
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
37
|
-
import '../assets/LpTable-
|
|
37
|
+
import '../assets/LpTable-gpdZSVMX.css';const _hoisted_1 = {
|
|
38
38
|
key: 0,
|
|
39
39
|
class: "flex min-h-8 flex-wrap items-center gap-x-3 gap-y-2 pb-3 text-xs"
|
|
40
40
|
};
|
|
@@ -1898,7 +1898,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1898
1898
|
};
|
|
1899
1899
|
}
|
|
1900
1900
|
});
|
|
1901
|
-
const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1901
|
+
const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5ac91b9e"]]);
|
|
1902
1902
|
export {
|
|
1903
1903
|
LpTable as default
|
|
1904
1904
|
};
|
package/package.json
CHANGED
|
@@ -2444,9 +2444,18 @@ usePaletteCommands(() => {
|
|
|
2444
2444
|
margin-left: calc(-1 * var(--lp-line-sep));
|
|
2445
2445
|
}
|
|
2446
2446
|
|
|
2447
|
+
/* The dot lives in the field's own left padding, so whatever the cell draws,
|
|
2448
|
+
a word or a block of two lines, starts after it and never in the clipped
|
|
2449
|
+
strip. */
|
|
2450
|
+
.lp-line-field {
|
|
2451
|
+
position: relative;
|
|
2452
|
+
padding-left: var(--lp-line-sep);
|
|
2453
|
+
}
|
|
2454
|
+
|
|
2447
2455
|
.lp-line-field::before {
|
|
2448
2456
|
content: "·" / "";
|
|
2449
|
-
|
|
2457
|
+
position: absolute;
|
|
2458
|
+
left: 0;
|
|
2450
2459
|
width: var(--lp-line-sep);
|
|
2451
2460
|
text-align: center;
|
|
2452
2461
|
}
|