@swiftwc/ui 0.0.0-dev.54 → 0.0.0-dev.55

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swiftwc/ui",
3
- "version": "0.0.0-dev.54",
3
+ "version": "0.0.0-dev.55",
4
4
  "description": "Elegant SwiftUI-inspired web components for standalone web apps and web extensions.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -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(&) {