@swiftwc/ui 0.0.0-dev.54 → 0.0.0-dev.56
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/generated/css/index.css
CHANGED
|
@@ -4513,6 +4513,22 @@
|
|
|
4513
4513
|
place-self: end;
|
|
4514
4514
|
grid-column: 1/-1;
|
|
4515
4515
|
}
|
|
4516
|
+
:where(table-view[preferred-compact-template="title:trailing"] > [is=table-row]) {
|
|
4517
|
+
grid-template-columns: 1fr 1fr;
|
|
4518
|
+
grid-template-rows: repeat(2, auto);
|
|
4519
|
+
grid-template-areas: "title trailing" "subtitle _";
|
|
4520
|
+
}
|
|
4521
|
+
:where(table-view[preferred-compact-template="title:trailing"] > [is=table-row] > :nth-child(-n+2)) {
|
|
4522
|
+
display: grid;
|
|
4523
|
+
}
|
|
4524
|
+
:where(table-view[preferred-compact-template="title:trailing"] > [is=table-row] > :nth-child(1)) {
|
|
4525
|
+
grid-area: title;
|
|
4526
|
+
}
|
|
4527
|
+
:where(table-view[preferred-compact-template="title:trailing"] > [is=table-row] > :nth-child(2)) {
|
|
4528
|
+
grid-area: trailing;
|
|
4529
|
+
place-self: end;
|
|
4530
|
+
grid-column: 1/-1;
|
|
4531
|
+
}
|
|
4516
4532
|
:where(table-view[preferred-compact-template="*"] > [is=table-row] > :nth-child(n+2)) {
|
|
4517
4533
|
display: grid;
|
|
4518
4534
|
}
|
package/package.json
CHANGED
|
@@ -174,6 +174,37 @@
|
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
+
table-view[preferred-compact-template='title:trailing'] > & {
|
|
178
|
+
:where(&) {
|
|
179
|
+
grid-template-columns: 1fr 1fr;
|
|
180
|
+
grid-template-rows: repeat(2, auto);
|
|
181
|
+
grid-template-areas:
|
|
182
|
+
'title trailing'
|
|
183
|
+
'subtitle _';
|
|
184
|
+
// grid-template-rows: repeat(3, auto); /* 3 rows for first 6 items */
|
|
185
|
+
// grid-template-areas:
|
|
186
|
+
// 'a b'
|
|
187
|
+
// 'c d'
|
|
188
|
+
// 'e f';
|
|
189
|
+
}
|
|
190
|
+
> :nth-child(-n + 2) {
|
|
191
|
+
:where(&) {
|
|
192
|
+
display: grid;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
> :nth-child(1) {
|
|
196
|
+
:where(&) {
|
|
197
|
+
grid-area: title;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
> :nth-child(2) {
|
|
201
|
+
:where(&) {
|
|
202
|
+
grid-area: trailing;
|
|
203
|
+
place-self: end;
|
|
204
|
+
grid-column: 1 / -1;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
177
208
|
table-view[preferred-compact-template='*'] > & {
|
|
178
209
|
> :nth-child(n + 2) {
|
|
179
210
|
:where(&) {
|