@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.
- package/generated/components/h-flex-stack.d.ts +16 -0
- package/generated/components/h-flex-stack.js +18 -0
- package/generated/components/index.d.ts +2 -0
- package/generated/components/index.js +2 -0
- package/generated/components/picker-view.d.ts +3 -20
- package/generated/components/picker-view.js +306 -257
- package/generated/components/tab-view.js +6 -9
- package/generated/components/v-flex-stack.d.ts +16 -0
- package/generated/components/v-flex-stack.js +18 -0
- package/generated/css/index.css +317 -175
- package/html-data/en.json +97 -21
- package/package.json +1 -1
- package/scss/_maps.scss +1 -1
- package/scss/_utils.scss +1 -1
- package/scss/base/_reboot.scss +0 -27
- package/scss/base/_root.scss +2 -2
- package/scss/colors/_index.scss +47 -3
- package/scss/components/_h-flex-stack.scss +2 -0
- package/scss/components/_index.scss +1 -1
- package/scss/components/_picker-view.scss +157 -117
- package/scss/components/_scroll-view.scss +0 -12
- package/scss/components/_v-flex-stack.scss +2 -0
- package/scss/utils/_index.scss +44 -22
- package/scss/utils/_stacks.scss +3 -1
- /package/scss/utils/{_scroll-view.scss → _scroll-view.scss.txt} +0 -0
|
@@ -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--
|
|
34
|
+
--picker--inputstack-text-align: start,
|
|
11
35
|
// copy from labeled-content
|
|
12
|
-
// --picker--
|
|
13
|
-
// --picker--
|
|
14
|
-
--picker--
|
|
15
|
-
--picker--
|
|
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--
|
|
18
|
-
--picker--
|
|
19
|
-
--picker--
|
|
20
|
-
--picker--
|
|
21
|
-
--picker--
|
|
22
|
-
--picker--
|
|
23
|
-
// --picker--
|
|
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--
|
|
26
|
-
// --picker--
|
|
27
|
-
// --picker--
|
|
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--
|
|
55
|
+
--picker--inputstack-text-align: end,
|
|
32
56
|
// copy from labeled-content
|
|
33
|
-
// --picker--
|
|
34
|
-
// --picker--
|
|
35
|
-
--picker--
|
|
36
|
-
--picker--
|
|
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--
|
|
39
|
-
--picker--
|
|
40
|
-
--picker--
|
|
41
|
-
--picker--
|
|
42
|
-
--picker--
|
|
43
|
-
--picker--
|
|
44
|
-
// --picker--
|
|
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--
|
|
47
|
-
// --picker--
|
|
48
|
-
// --picker--
|
|
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--
|
|
76
|
+
--picker--inputstack-text-align: end,
|
|
53
77
|
// copy from labeled-content
|
|
54
|
-
// --picker--
|
|
55
|
-
// --picker--
|
|
56
|
-
--picker--
|
|
57
|
-
--picker--
|
|
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--
|
|
60
|
-
--picker--
|
|
61
|
-
--picker--
|
|
62
|
-
--picker--
|
|
63
|
-
--picker--
|
|
64
|
-
--picker--
|
|
65
|
-
// --picker--
|
|
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--
|
|
68
|
-
// --picker--
|
|
69
|
-
// --picker--
|
|
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--
|
|
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--
|
|
109
|
-
padding-block: var(--picker--
|
|
110
|
-
background: var(--picker--
|
|
111
|
-
border-radius: var(--picker--
|
|
112
|
-
border: var(--picker--
|
|
113
|
-
color: var(--picker--
|
|
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--
|
|
144
|
+
grid-template-columns: var(--picker--host-grid-template-columns,); //minmax(30%, 1fr) auto;
|
|
118
145
|
|
|
119
|
-
grid-template-rows: var(--picker--
|
|
120
|
-
row-gap: var(--picker--
|
|
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--
|
|
149
|
+
column-gap: var(--picker--host-column-gap,);
|
|
123
150
|
|
|
124
|
-
// display: var(--picker--
|
|
151
|
+
// display: var(--picker--host-display,);
|
|
125
152
|
|
|
126
|
-
// flex-wrap: var(--picker--
|
|
153
|
+
// flex-wrap: var(--picker--host-flex-wrap,);
|
|
127
154
|
|
|
128
|
-
// justify-content: var(--picker--
|
|
155
|
+
// justify-content: var(--picker--host-justify-content,);
|
|
129
156
|
|
|
130
|
-
// grid-template-columns: var(--picker--
|
|
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--
|
|
138
|
-
// padding-block: var(--picker--
|
|
139
|
-
// background: var(--picker--
|
|
140
|
-
// border-radius: var(--picker--
|
|
141
|
-
// border: var(--picker--
|
|
142
|
-
// color: var(--picker--
|
|
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
|
-
|
|
147
|
-
// flex-shrink: var(--picker--input-stack-flex-shrink,); //none;
|
|
173
|
+
display: var(--picker--inputstack-display, grid);
|
|
148
174
|
|
|
149
|
-
|
|
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--
|
|
202
|
+
--picker--host-grid-template-columns: minmax(30%, 1fr) auto;
|
|
169
203
|
|
|
170
|
-
--picker--
|
|
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--
|
|
209
|
+
// place-self: var(--picker--inputstack-child-place-self,);
|
|
176
210
|
// }
|
|
177
211
|
// }
|
|
178
212
|
|
|
179
213
|
// :where(&) {
|
|
180
|
-
// --picker--
|
|
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--
|
|
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--
|
|
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
|
-
|
|
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--
|
|
219
|
-
|
|
220
|
-
--picker--
|
|
221
|
-
--picker--
|
|
222
|
-
--picker--
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
);
|
|
226
|
-
--picker--
|
|
227
|
-
|
|
228
|
-
|
|
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--
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
);
|
|
235
|
-
--picker--
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
);
|
|
239
|
-
--picker--
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
);
|
|
243
|
-
--picker--
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
272
|
-
// --picker--
|
|
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
|
|
package/scss/utils/_index.scss
CHANGED
|
@@ -2,29 +2,51 @@
|
|
|
2
2
|
@use '../maps';
|
|
3
3
|
|
|
4
4
|
@layer #{vars.$utils-layer} {
|
|
5
|
-
[background-style='grouped'] {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
}
|
package/scss/utils/_stacks.scss
CHANGED
|
File without changes
|