@swiftwc/ui 0.0.0-dev.111 → 0.0.0-dev.113

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.
@@ -5,73 +5,100 @@
5
5
  @use '../mixins';
6
6
 
7
7
  $picker-ifs: (
8
+ radio-group: (
9
+ --picker--labelstack-display: grid,
10
+ // --picker--inputstack-display: flex,
11
+ // --picker--inputstack-flex-flow: row wrap,
12
+ --picker--inputstack-text-align: start,
13
+ --picker--inputstack-gap: 1rem,
14
+ // copy from labeled-content
15
+ // --picker--host-display: flex,
16
+ // --picker--host-justify-content: space-between,
17
+ --picker--host-row-gap: var(--labeled-content-row-gap),
18
+ --picker--host-column-gap: var(--labeled-content-column-gap),
19
+ //
20
+ --picker--host-grid-padding-inline: var(--itempadistart,) var(--itempadiend,),
21
+ --picker--host-grid-padding-block: var(--itempadbstart,) var(--itempadbend,),
22
+ --picker--host-grid-border-radius: var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,),
23
+ --picker--host-grid-background: var(--itemface,),
24
+ --picker--host-grid-color: var(--itemtext,),
25
+ --picker--host-grid-border: var(--itemborder,),
26
+ // --picker--inputstack-child-place-self: end,
27
+ //
28
+ // --picker--host-flex-wrap: wrap,
29
+ // --picker--inputstack-flex-shrink: 0,
30
+ // --picker--inputstack-max-width: 70%,
31
+ ),
8
32
  menu: (
9
33
  --picker--labelstack-display: grid,
10
- --picker--input-stack-text-align: start,
34
+ --picker--inputstack-text-align: start,
11
35
  // copy from labeled-content
12
- // --picker--stack-display: flex,
13
- // --picker--stack-justify-content: space-between,
14
- --picker--stack-row-gap: var(--labeled-content-row-gap),
15
- --picker--stack-column-gap: var(--labeled-content-column-gap),
36
+ // --picker--host-display: flex,
37
+ // --picker--host-justify-content: space-between,
38
+ --picker--host-row-gap: var(--labeled-content-row-gap),
39
+ --picker--host-column-gap: var(--labeled-content-column-gap),
16
40
  //
17
- --picker--stack-grid-padding-inline: var(--itempadistart,) var(--itempadiend,),
18
- --picker--stack-grid-padding-block: var(--itempadbstart,) var(--itempadbend,),
19
- --picker--stack-grid-border-radius: var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,),
20
- --picker--stack-grid-background: var(--itemface,),
21
- --picker--stack-grid-color: var(--itemtext,),
22
- --picker--stack-grid-border: var(--itemborder,),
23
- // --picker--input-stack-child-place-self: end,
41
+ --picker--host-grid-padding-inline: var(--itempadistart,) var(--itempadiend,),
42
+ --picker--host-grid-padding-block: var(--itempadbstart,) var(--itempadbend,),
43
+ --picker--host-grid-border-radius: var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,),
44
+ --picker--host-grid-background: var(--itemface,),
45
+ --picker--host-grid-color: var(--itemtext,),
46
+ --picker--host-grid-border: var(--itemborder,),
47
+ // --picker--inputstack-child-place-self: end,
24
48
  //
25
- // --picker--stack-flex-wrap: wrap,
26
- // --picker--input-stack-flex-shrink: 0,
27
- // --picker--input-stack-max-width: 70%,
49
+ // --picker--host-flex-wrap: wrap,
50
+ // --picker--inputstack-flex-shrink: 0,
51
+ // --picker--inputstack-max-width: 70%,
28
52
  ),
29
53
  navigation-link: (
30
54
  --picker--labelstack-display: grid,
31
- --picker--input-stack-text-align: end,
55
+ --picker--inputstack-text-align: end,
32
56
  // copy from labeled-content
33
- // --picker--stack-display: flex,
34
- // --picker--stack-justify-content: space-between,
35
- --picker--stack-row-gap: var(--labeled-content-row-gap),
36
- --picker--stack-column-gap: var(--labeled-content-column-gap),
57
+ // --picker--host-display: flex,
58
+ // --picker--host-justify-content: space-between,
59
+ --picker--host-row-gap: var(--labeled-content-row-gap),
60
+ --picker--host-column-gap: var(--labeled-content-column-gap),
37
61
  //
38
- --picker--stack-grid-padding-inline: var(--itempadistart,) var(--itempadiend,),
39
- --picker--stack-grid-padding-block: var(--itempadbstart,) var(--itempadbend,),
40
- --picker--stack-grid-border-radius: var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,),
41
- --picker--stack-grid-background: var(--itemface,),
42
- --picker--stack-grid-color: var(--itemtext,),
43
- --picker--stack-grid-border: var(--itemborder,),
44
- // --picker--input-stack-child-place-self: end,
62
+ --picker--host-grid-padding-inline: var(--itempadistart,) var(--itempadiend,),
63
+ --picker--host-grid-padding-block: var(--itempadbstart,) var(--itempadbend,),
64
+ --picker--host-grid-border-radius: var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,),
65
+ --picker--host-grid-background: var(--itemface,),
66
+ --picker--host-grid-color: var(--itemtext,),
67
+ --picker--host-grid-border: var(--itemborder,),
68
+ // --picker--inputstack-child-place-self: end,
45
69
  //
46
- // --picker--stack-flex-wrap: wrap,
47
- // --picker--input-stack-flex-shrink: 0,
48
- // --picker--input-stack-max-width: 70%,
70
+ // --picker--host-flex-wrap: wrap,
71
+ // --picker--inputstack-flex-shrink: 0,
72
+ // --picker--inputstack-max-width: 70%,
49
73
  ),
50
74
  sheet: (
51
75
  --picker--labelstack-display: grid,
52
- --picker--input-stack-text-align: end,
76
+ --picker--inputstack-text-align: end,
53
77
  // copy from labeled-content
54
- // --picker--stack-display: flex,
55
- // --picker--stack-justify-content: space-between,
56
- --picker--stack-row-gap: var(--labeled-content-row-gap),
57
- --picker--stack-column-gap: var(--labeled-content-column-gap),
78
+ // --picker--host-display: flex,
79
+ // --picker--host-justify-content: space-between,
80
+ --picker--host-row-gap: var(--labeled-content-row-gap),
81
+ --picker--host-column-gap: var(--labeled-content-column-gap),
58
82
  //
59
- --picker--stack-grid-padding-inline: var(--itempadistart,) var(--itempadiend,),
60
- --picker--stack-grid-padding-block: var(--itempadbstart,) var(--itempadbend,),
61
- --picker--stack-grid-border-radius: var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,),
62
- --picker--stack-grid-background: var(--itemface,),
63
- --picker--stack-grid-color: var(--itemtext,),
64
- --picker--stack-grid-border: var(--itemborder,),
65
- // --picker--input-stack-child-place-self: end,
83
+ --picker--host-grid-padding-inline: var(--itempadistart,) var(--itempadiend,),
84
+ --picker--host-grid-padding-block: var(--itempadbstart,) var(--itempadbend,),
85
+ --picker--host-grid-border-radius: var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,),
86
+ --picker--host-grid-background: var(--itemface,),
87
+ --picker--host-grid-color: var(--itemtext,),
88
+ --picker--host-grid-border: var(--itemborder,),
89
+ // --picker--inputstack-child-place-self: end,
66
90
  //
67
- // --picker--stack-flex-wrap: wrap,
68
- // --picker--input-stack-flex-shrink: 0,
69
- // --picker--input-stack-max-width: 70%,
91
+ // --picker--host-flex-wrap: wrap,
92
+ // --picker--inputstack-flex-shrink: 0,
93
+ // --picker--inputstack-max-width: 70%,
70
94
  ),
71
95
  );
96
+ $picker-elses: (
97
+ --picker--labelstack-display: none,
98
+ );
72
99
 
73
100
  // $picker-elses: (
74
- // --picker--stack-grid-template-columns: minmax(0, 1fr), //auto minmax(0, 1fr),
101
+ // --picker--host-grid-template-columns: minmax(0, 1fr), //auto minmax(0, 1fr),
75
102
  // );
76
103
 
77
104
  // @mixin make-button-affordance() {
@@ -105,48 +132,55 @@ $picker-ifs: (
105
132
  grid-template-rows: minmax(0, 1fr);
106
133
 
107
134
  // wire these to mimic componentize
108
- padding-inline: var(--picker--stack-grid-padding-inline,);
109
- padding-block: var(--picker--stack-grid-padding-block,);
110
- background: var(--picker--stack-grid-background,);
111
- border-radius: var(--picker--stack-grid-border-radius,);
112
- border: var(--picker--stack-grid-border,);
113
- color: var(--picker--stack-grid-color,);
135
+ padding-inline: var(--picker--host-grid-padding-inline,);
136
+ padding-block: var(--picker--host-grid-padding-block,);
137
+ background: var(--picker--host-grid-background,);
138
+ border-radius: var(--picker--host-grid-border-radius,);
139
+ border: var(--picker--host-grid-border,);
140
+ color: var(--picker--host-grid-color,);
114
141
 
115
142
  &::part(picker-stack) {
116
143
  // grid-auto-flow: column;
117
- grid-template-columns: var(--picker--stack-grid-template-columns,); //minmax(30%, 1fr) auto;
144
+ grid-template-columns: var(--picker--host-grid-template-columns,); //minmax(30%, 1fr) auto;
118
145
 
119
- grid-template-rows: var(--picker--stack-grid-template-rows,); //minmax(0, 1fr);
120
- row-gap: var(--picker--stack-row-gap,);
146
+ grid-template-rows: var(--picker--host-grid-template-rows,); //minmax(0, 1fr);
147
+ row-gap: var(--picker--host-row-gap,);
121
148
 
122
- column-gap: var(--picker--stack-column-gap,);
149
+ column-gap: var(--picker--host-column-gap,);
123
150
 
124
- // display: var(--picker--stack-display,);
151
+ // display: var(--picker--host-display,);
125
152
 
126
- // flex-wrap: var(--picker--stack-flex-wrap,);
153
+ // flex-wrap: var(--picker--host-flex-wrap,);
127
154
 
128
- // justify-content: var(--picker--stack-justify-content,);
155
+ // justify-content: var(--picker--host-justify-content,);
129
156
 
130
- // grid-template-columns: var(--picker--stack-grid-template-columns,);
157
+ // grid-template-columns: var(--picker--host-grid-template-columns,);
131
158
 
132
159
  // grid-template-rows: minmax(0, 1fr);
133
160
 
134
161
  // column-gap: 1rem;
135
162
 
136
163
  // // wire these to mimic componentize
137
- // padding-inline: var(--picker--stack-grid-padding-inline,);
138
- // padding-block: var(--picker--stack-grid-padding-block,);
139
- // background: var(--picker--stack-grid-background,);
140
- // border-radius: var(--picker--stack-grid-border-radius,);
141
- // border: var(--picker--stack-grid-border,);
142
- // color: var(--picker--stack-grid-color,);
164
+ // padding-inline: var(--picker--host-grid-padding-inline,);
165
+ // padding-block: var(--picker--host-grid-padding-block,);
166
+ // background: var(--picker--host-grid-background,);
167
+ // border-radius: var(--picker--host-grid-border-radius,);
168
+ // border: var(--picker--host-grid-border,);
169
+ // color: var(--picker--host-grid-color,);
143
170
  }
144
171
 
145
172
  &::part(picker-input-stack) {
146
- text-align: var(--picker--input-stack-text-align,);
147
- // flex-shrink: var(--picker--input-stack-flex-shrink,); //none;
173
+ display: var(--picker--inputstack-display, grid);
148
174
 
149
- // max-width: var(--picker--input-stack-max-width,); //70%;
175
+ text-align: var(--picker--inputstack-text-align,);
176
+
177
+ gap: var(--picker--inputstack-gap,);
178
+
179
+ flex-flow: var(--picker--inputstack-flex-flow,);
180
+
181
+ // flex-shrink: var(--picker--inputstack-flex-shrink,); //none;
182
+
183
+ // max-width: var(--picker--inputstack-max-width,); //70%;
150
184
  }
151
185
 
152
186
  &::part(picker-label-stack) {
@@ -165,30 +199,30 @@ $picker-ifs: (
165
199
  }
166
200
  }
167
201
 
168
- --picker--stack-grid-template-columns: minmax(30%, 1fr) auto;
202
+ --picker--host-grid-template-columns: minmax(30%, 1fr) auto;
169
203
 
170
- --picker--stack-grid-template-rows: minmax(0, 1fr);
204
+ --picker--host-grid-template-rows: minmax(0, 1fr);
171
205
  }
172
206
 
173
207
  // > :not([slot]) {
174
208
  // :where(&) {
175
- // place-self: var(--picker--input-stack-child-place-self,);
209
+ // place-self: var(--picker--inputstack-child-place-self,);
176
210
  // }
177
211
  // }
178
212
 
179
213
  // :where(&) {
180
- // --picker--stack-grid-template-columns: auto minmax(0, 1fr);
214
+ // --picker--host-grid-template-columns: auto minmax(0, 1fr);
181
215
  // @include mixins.write-props($picker-elses); NOT Needed for now since all defaults/fallbacks are already the elses
182
216
  // }
183
217
 
184
218
  // :where(tool-bar-item &) {
185
219
  // --picker--labelstack-display: none;
186
- // --picker--stack-grid-template-columns: minmax(0, 1fr);
220
+ // --picker--host-grid-template-columns: minmax(0, 1fr);
187
221
  // }
188
222
 
189
223
  // :where(form &) {
190
224
  // --picker--labelstack-display: grid;
191
- // --picker--stack-grid-template-columns: auto minmax(0, 1fr);
225
+ // --picker--host-grid-template-columns: auto minmax(0, 1fr);
192
226
  // }
193
227
 
194
228
  // :where(& menu-view > menu-view > label-view[slot='label']) {
@@ -212,64 +246,62 @@ $picker-ifs: (
212
246
  // SECTION: ifs
213
247
  @supports (x: #{string.unquote('if(else:red)')}) {
214
248
  :where(form &) {
215
- // @include mixins.write-ifs(--picker-style, $picker-ifs, $picker-elses);
216
-
217
- --picker--labelstack-display: if(style(--picker-style: sheet): grid ; style(--picker-style: navigation-link): grid ; style(--picker-style: menu): grid ; else: none ;);
218
- // --picker--stack-grid-template-columns: if(style(--picker-style: menu): auto minmax(0, 1fr) ; else: minmax(0, 1fr) ;);
219
-
220
- --picker--stack-display: if(style(--picker-style: sheet): flex ; style(--picker-style: navigation-link): flex ; style(--picker-style: menu): flex ;);
221
- --picker--stack-justify-content: if(style(--picker-style: sheet): space-between ; style(--picker-style: navigation-link): space-between ; style(--picker-style: menu): space-between ;);
222
- --picker--stack-row-gap: if(
223
- style(--picker-style: sheet): var(--labeled-content-row-gap) ; style(--picker-style: navigation-link): var(--labeled-content-row-gap) ;
224
- style(--picker-style: menu): var(--labeled-content-row-gap) ;
225
- );
226
- --picker--stack-column-gap: if(
227
- style(--picker-style: sheet): var(--labeled-content-column-gap) ; style(--picker-style: navigation-link): var(--labeled-content-column-gap) ;
228
- style(--picker-style: menu): var(--labeled-content-column-gap) ;
229
- );
249
+ @include mixins.write-ifs(--picker-style, $picker-ifs, $picker-elses);
250
+
251
+ // --picker--labelstack-display: if(style(--picker-style: sheet): grid ; style(--picker-style: navigation-link): grid ; style(--picker-style: menu): grid ; else: none ;);
252
+ // // --picker--host-grid-template-columns: if(style(--picker-style: menu): auto minmax(0, 1fr) ; else: minmax(0, 1fr) ;);
253
+
254
+ // --picker--host-display: if(style(--picker-style: sheet): flex ; style(--picker-style: navigation-link): flex ; style(--picker-style: menu): flex ;);
255
+ // --picker--host-justify-content: if(style(--picker-style: sheet): space-between ; style(--picker-style: navigation-link): space-between ; style(--picker-style: menu): space-between ;);
256
+ // --picker--host-row-gap: if(
257
+ // style(--picker-style: sheet): var(--labeled-content-row-gap) ; style(--picker-style: navigation-link): var(--labeled-content-row-gap) ;
258
+ // style(--picker-style: menu): var(--labeled-content-row-gap) ;
259
+ // );
260
+ // --picker--host-column-gap: if(
261
+ // style(--picker-style: sheet): var(--labeled-content-column-gap) ; style(--picker-style: navigation-link): var(--labeled-content-column-gap) ;
262
+ // style(--picker-style: menu): var(--labeled-content-column-gap) ;
263
+ // );
230
264
  //
231
- --picker--stack-grid-padding-inline: if(
232
- style(--picker-style: sheet): var(--itempadistart,) var(--itempadiend,) ; style(--picker-style: navigation-link): var(--itempadistart,) var(--itempadiend,) ;
233
- style(--picker-style: menu): var(--itempadistart,) var(--itempadiend,) ;
234
- );
235
- --picker--stack-grid-padding-block: if(
236
- style(--picker-style: sheet): var(--itempadbstart,) var(--itempadbend,) ; style(--picker-style: navigation-link): var(--itempadbstart,) var(--itempadbend,) ;
237
- style(--picker-style: menu): var(--itempadbstart,) var(--itempadbend,) ;
238
- );
239
- --picker--stack-grid-border-radius: if(
240
- style(--picker-style: sheet): var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,) ; style(--picker-style: navigation-link): var(--itemradiustl,)
241
- var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,) ; style(--picker-style: menu): var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,) ;
242
- );
243
- --picker--stack-grid-background: if(
244
- style(--picker-style: sheet): var(--itemface,) ; style(--picker-style: navigation-link): var(--itemface,) ; style(--picker-style: menu): var(--itemface,) ;
245
- );
246
- --picker--stack-grid-color: if(style(--picker-style: sheet): var(--itemtext,) ; style(--picker-style: navigation-link): var(--itemtext,) ; style(--picker-style: menu): var(--itemtext,) ;);
247
- --picker--stack-grid-border: if(
248
- style(--picker-style: sheet): var(--itemborder,) ; style(--picker-style: navigation-link): var(--itemborder,) ; style(--picker-style: menu): var(--itemborder,) ;
249
- );
250
- // --picker--input-stack-child-place-self: if(style(--picker-style: sheet): end ; style(--picker-style: navigation-link): end ; style(--picker-style: menu): end ;);
251
- --picker--input-stack-text-align: if(style(--picker-style: sheet): end ; style(--picker-style: navigation-link): end ; style(--picker-style: menu): start ;);
265
+ // --picker--host-grid-padding-inline: if(
266
+ // style(--picker-style: sheet): var(--itempadistart,) var(--itempadiend,) ; style(--picker-style: navigation-link): var(--itempadistart,) var(--itempadiend,) ;
267
+ // style(--picker-style: menu): var(--itempadistart,) var(--itempadiend,) ;
268
+ // );
269
+ // --picker--host-grid-padding-block: if(
270
+ // style(--picker-style: sheet): var(--itempadbstart,) var(--itempadbend,) ; style(--picker-style: navigation-link): var(--itempadbstart,) var(--itempadbend,) ;
271
+ // style(--picker-style: menu): var(--itempadbstart,) var(--itempadbend,) ;
272
+ // );
273
+ // --picker--host-grid-border-radius: if(
274
+ // style(--picker-style: sheet): var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,) ; style(--picker-style: navigation-link): var(--itemradiustl,)
275
+ // var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,) ; style(--picker-style: menu): var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,) ;
276
+ // );
277
+ // --picker--host-grid-background: if(style(--picker-style: sheet): var(--itemface,) ; style(--picker-style: navigation-link): var(--itemface,) ; style(--picker-style: menu): var(--itemface,) ;);
278
+ // --picker--host-grid-color: if(style(--picker-style: sheet): var(--itemtext,) ; style(--picker-style: navigation-link): var(--itemtext,) ; style(--picker-style: menu): var(--itemtext,) ;);
279
+ // --picker--host-grid-border: if(
280
+ // style(--picker-style: sheet): var(--itemborder,) ; style(--picker-style: navigation-link): var(--itemborder,) ; style(--picker-style: menu): var(--itemborder,) ;
281
+ // );
282
+ // --picker--inputstack-child-place-self: if(style(--picker-style: sheet): end ; style(--picker-style: navigation-link): end ; style(--picker-style: menu): end ;);
283
+ // --picker--inputstack-text-align: if(style(--picker-style: sheet): end ; style(--picker-style: navigation-link): end ; style(--picker-style: menu): start ;);
252
284
 
253
285
  // SECTION experimental only in chrome
254
- // --picker--input-stack-flex-shrink: if(
286
+ // --picker--inputstack-flex-shrink: if(
255
287
  // style(--picker-style: sheet) or style(--picker-style: navigation-link) or
256
288
  // style(--picker-style: menu): if(style(--picker-label-value-placement: vertical) or style(--picker-label-value-placement: auto): 1 ; else: 0 ;)
257
289
  // );
258
- // --picker--stack-flex-wrap: if(
290
+ // --picker--host-flex-wrap: if(
259
291
  // style(--picker-style: sheet) or style(--picker-style: navigation-link) or
260
292
  // style(--picker-style: menu): if(style(--picker-label-value-placement: vertical) or style(--picker-label-value-placement: auto): wrap ;)
261
293
  // );
262
- // --picker--input-stack-max-width: if(
294
+ // --picker--inputstack-max-width: if(
263
295
  // style(--picker-style: sheet) or style(--picker-style: navigation-link) or
264
296
  // style(--picker-style: menu): if(style(--picker-label-value-placement: vertical) or style(--picker-label-value-placement: auto): 70% ;)
265
297
  // );
266
- // --picker--input-stack-flex-shrink: if(
298
+ // --picker--inputstack-flex-shrink: if(
267
299
  // style(--picker-label-value-placement: vertical) or
268
300
  // style(--picker-label-value-placement: auto): if(style(--picker-style: sheet) or style(--picker-style: navigation-link) or style(--picker-style: menu): 1 ;) ; ;
269
301
  // else: if(style(--picker-style: sheet) or style(--picker-style: navigation-link) or style(--picker-style: menu): 0 ;) ; ;
270
302
  // );
271
- // --picker--input-stack-max-width: if(style(--picker-style: sheet): 70% ; style(--picker-style: navigation-link): 70% ; style(--picker-style: menu): 70% ;);
272
- // --picker--stack-flex-wrap: if(style(--picker-style: sheet): wrap ; style(--picker-style: navigation-link): wrap ; style(--picker-style: menu): wrap ;);
303
+ // --picker--inputstack-max-width: if(style(--picker-style: sheet): 70% ; style(--picker-style: navigation-link): 70% ; style(--picker-style: menu): 70% ;);
304
+ // --picker--host-flex-wrap: if(style(--picker-style: sheet): wrap ; style(--picker-style: navigation-link): wrap ; style(--picker-style: menu): wrap ;);
273
305
  }
274
306
  }
275
307
 
@@ -297,6 +329,14 @@ $picker-ifs: (
297
329
  }
298
330
  }
299
331
  }
332
+
333
+ &[horizontal-radio-group-layout] {
334
+ :where(&) {
335
+ --picker--inputstack-display: flex;
336
+
337
+ --picker--inputstack-flex-flow: row wrap;
338
+ }
339
+ }
300
340
  }
301
341
  }
302
342
 
@@ -116,18 +116,6 @@
116
116
  }
117
117
  }
118
118
  }
119
-
120
- // &:has(list-view[list-style='inset-grouped']:not([background]), [is='form-view'][form-style='inset-grouped']:not([background])) {
121
- // :where(&) {
122
- // outline: red solid 4px;
123
-
124
- // // --background: var(--groupedBackground);
125
- // // --secondaryBackground: var(--secondaryGroupedBackground);
126
- // // --tertiaryBackground: var(--tertiaryGroupedBackground);
127
-
128
- // // --face: var(--background);
129
- // }
130
- // }
131
119
  }
132
120
  }
133
121
 
@@ -8,6 +8,8 @@
8
8
 
9
9
  place-items: center;
10
10
  place-content: center;
11
+
12
+ gap: 1rem;
11
13
  }
12
14
 
13
15
  :where(& > *) {
@@ -2,29 +2,51 @@
2
2
  @use '../maps';
3
3
 
4
4
  @layer #{vars.$utils-layer} {
5
- [background-style='grouped'] {
6
- @media (pointer: coarse) {
7
- :where(&) {
8
- // --face: var(--groupedBackground);
9
- --background: var(--groupedBackground);
10
- --secondaryBackground: var(--secondaryGroupedBackground);
11
- --tertiaryBackground: var(--tertiaryGroupedBackground);
12
-
13
- --face: var(--background);
14
- // --face2: var(--secondaryBackground);
15
- // --face3: var(--tertiaryBackground);
16
- }
5
+ // [background-style='grouped'] {
6
+ // // @media (pointer: coarse) {
7
+ // :where(&) {
8
+ // // --face: var(--groupedBackground);
9
+ // --background: var(--groupedBackground);
10
+ // --secondaryBackground: var(--secondaryGroupedBackground);
11
+ // --tertiaryBackground: var(--tertiaryGroupedBackground);
12
+
13
+ // --face: var(--background);
14
+ // // --face2: var(--secondaryBackground);
15
+ // // --face3: var(--tertiaryBackground);
16
+ // }
17
+
18
+ // // FIXME: feat-sheet 2/3
19
+ // [is='sheet-view'] &,
20
+ // [is='full-screen'] &,
21
+ // [is='confirmation-dialog'] &,
22
+ // [is='alert-dialog'] & {
23
+ // :where(&) {
24
+ // // --background: var(--secondaryGroupedBackground);
25
+ // // --secondaryBackground: var(--tertiaryGroupedBackground);
26
+ // // --tertiaryBackground: var(--quaternaryGroupedBackground);
27
+ // }
28
+ // }
29
+ // // }
30
+ // }
31
+ [background-style='initial'] {
32
+ :where(&) {
33
+ --background: initial;
34
+ --secondaryBackground: initial;
35
+ --tertiaryBackground: initial;
17
36
 
18
- // FIXME: feat-sheet 2/3
19
- [is='sheet-view'] &,
20
- [is='full-screen'] &,
21
- [is='confirmation-dialog'] &,
22
- [is='alert-dialog'] & {
23
- :where(&) {
24
- // --background: var(--secondaryGroupedBackground);
25
- // --secondaryBackground: var(--tertiaryGroupedBackground);
26
- // --tertiaryBackground: var(--quaternaryGroupedBackground);
27
- }
37
+ --face: var(--background);
38
+ // --face2: var(--secondaryBackground);
39
+ // --face3: var(--tertiaryBackground);
40
+ }
41
+
42
+ [is='sheet-view'] &,
43
+ [is='full-screen'] &,
44
+ [is='confirmation-dialog'] &,
45
+ [is='alert-dialog'] & {
46
+ :where(&) {
47
+ // --background: var(--secondaryGroupedBackground);
48
+ // --secondaryBackground: var(--tertiaryGroupedBackground);
49
+ // --tertiaryBackground: var(--quaternaryGroupedBackground);
28
50
  }
29
51
  }
30
52
  }
@@ -68,7 +68,9 @@
68
68
  }
69
69
 
70
70
  v-stack,
71
- h-stack {
71
+ h-stack,
72
+ h-flex-stack,
73
+ v-flex-stack {
72
74
  @for $i from 0 through 50 {
73
75
  :where(&[spacing='#{$i}']) {
74
76
  gap: #{math.div(math.round(math.div($i, 10) * 10), 10)}rem;