@swiftwc/ui 0.0.0-dev.57 → 0.0.0-dev.59

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.
@@ -222,6 +222,9 @@
222
222
 
223
223
  --screen-box-shadow: 2px 0 6px oklch(0 0 0 / 48%), 6px 0 16px oklch(0 0 0 / 67%);
224
224
 
225
+ --labeled-content-column-gap: 1rem;
226
+ --labeled-content-row-gap: 0.5rem;
227
+
225
228
  // @media (prefers-color-scheme: dark) {
226
229
  // @include dark-theme;
227
230
  // }
@@ -236,7 +239,8 @@
236
239
 
237
240
  // lists
238
241
 
239
- --insetlist-item-border-radius: 1rem;
242
+ --insetlist-item-border-radius: 2rem;
243
+ --insetform-item-border-radius: 2rem;
240
244
 
241
245
  //
242
246
  --list-row-gap: 3rem;
@@ -244,11 +248,9 @@
244
248
 
245
249
  --form-extra-gap: 3rem;
246
250
 
247
- --insetform-item-border-radius: 1rem;
248
-
249
251
  @each $v in list, form {
250
- --#{$v}-item-padding-inline-start: 1rem;
251
- --#{$v}-item-padding-inline-end: 1rem;
252
+ --#{$v}-item-padding-inline-start: 2rem;
253
+ --#{$v}-item-padding-inline-end: 2rem;
252
254
  --#{$v}-item-padding-block-start: 1rem;
253
255
  --#{$v}-item-padding-block-start: 1rem;
254
256
 
@@ -349,6 +351,14 @@
349
351
  }
350
352
  }
351
353
 
354
+ --insetlist-item-border-radius: 1rem;
355
+ --insetform-item-border-radius: 1rem;
356
+
357
+ @each $v in list, form {
358
+ --#{$v}-item-padding-inline-start: 1rem;
359
+ --#{$v}-item-padding-inline-end: 1rem;
360
+ }
361
+
352
362
  // --primary-bg: oklch(0.9761 0 0); // ✅
353
363
  // --primary-bg-dark: oklch(0.2666 0.0071 67.52); // ✅
354
364
 
@@ -132,7 +132,11 @@
132
132
  }
133
133
  }
134
134
  }
135
+ }
136
+ }
135
137
 
138
+ @layer #{vars.$utils-layer} {
139
+ [is='disclosure-group'] {
136
140
  @supports (x: #{string.unquote('attr(x type(*))')}) {
137
141
  :where(&) {
138
142
  --disclosure-style: attr(disclosure-style type(<custom-ident>), inherit);
@@ -41,6 +41,7 @@
41
41
  h-stack,
42
42
  tool-bar,
43
43
  label-view,
44
+ labeled-content,
44
45
  menu-view,
45
46
  section-view,
46
47
  text-field,
@@ -52,6 +53,9 @@
52
53
  }
53
54
  }
54
55
 
56
+ :where(labeled-content)::part(labeled-content-container),
57
+ :where(labeled-content)::part(labeled-content-label-stack),
58
+ :where(labeled-content)::part(labeled-content-value-stack),
55
59
  :where(progress-view)::part(progress-control),
56
60
  :where(content-unavailable-view)::part(content-unavailable-title-stack),
57
61
  :where(content-unavailable-view)::part(content-unavailable-description-stack),
@@ -65,7 +65,7 @@ $label-line-ifs: (
65
65
  ),
66
66
  2: (
67
67
  --label--host-white-space: normal,
68
- --label--display: -webkit-box,
68
+ --label--titlestack-display: -webkit-box,
69
69
  --label--box-orient: vertical,
70
70
  --label--line-clamp: 2,
71
71
  ),
@@ -81,7 +81,7 @@ $label-line-ifs: (
81
81
  --label--host-justify-items: normal;
82
82
 
83
83
  --label--iconstack-display: grid;
84
- --label--titlestack-display: grid;
84
+ --label--titlestack-display: inline-block;
85
85
  } @else if $label-style == h-icon-only {
86
86
  --label-style: icon-only;
87
87
 
@@ -95,7 +95,7 @@ $label-line-ifs: (
95
95
  --label--host-align-items: center;
96
96
  --label--host-justify-items: normal;
97
97
 
98
- --label--titlestack-display: grid;
98
+ --label--titlestack-display: inline-block;
99
99
  } @else if $label-style == v-title-and-icon {
100
100
  --label-style: title-and-icon;
101
101
 
@@ -105,7 +105,7 @@ $label-line-ifs: (
105
105
  --label--host-justify-items: center;
106
106
 
107
107
  --label--iconstack-display: grid;
108
- --label--titlestack-display: grid;
108
+ --label--titlestack-display: inline-block;
109
109
  } @else if $label-style == v-icon-only {
110
110
  --label-style: icon-only;
111
111
 
@@ -119,7 +119,7 @@ $label-line-ifs: (
119
119
  --label--host-align-items: normal;
120
120
  --label--host-justify-items: center;
121
121
 
122
- --label--titlestack-display: grid;
122
+ --label--titlestack-display: inline-block;
123
123
  }
124
124
  }
125
125
 
@@ -194,7 +194,7 @@ $label-line-ifs: (
194
194
 
195
195
  text-overflow: var(--label--text-overflow,);
196
196
 
197
- display: var(--label--display,);
197
+ // display: var(--label--display,);
198
198
 
199
199
  -webkit-box-orient: var(--label--box-orient,);
200
200
 
@@ -266,8 +266,13 @@ $label-line-ifs: (
266
266
  );
267
267
 
268
268
  --label--titlestack-display: if(
269
- style(--label-style: icon-only): none ; style(--label-style: title-only): grid ; style(--label-style: title-and-icon): grid ; else: if(style(--label--has-title: yes): grid ; else: none;) ;
269
+ style(--label-style: icon-only): none ; style(--label-style: title-only): inline-block ; style(--label-style: title-and-icon): inline-block ;
270
+ else: if(style(--label--has-title: yes): inline-block ; else: none;) ;
270
271
  );
272
+ // --label--titlestack-display: if(
273
+ // style(--label-style: icon-only): none ; style(--label-style: title-only): -webkit-box ; style(--label-style: title-and-icon): -webkit-box ;
274
+ // else: if(style(--label--has-title: yes): -webkit-box ; else: none;) ;
275
+ // );
271
276
  }
272
277
  }
273
278
 
@@ -3,7 +3,53 @@
3
3
  @layer #{vars.$components-layer} {
4
4
  labeled-content {
5
5
  :where(&) {
6
- display: grid;
6
+ container: labeled-content / inline-size;
7
+
8
+ &::part(labeled-content-container) {
9
+ grid-template-columns: subgrid;
10
+
11
+ gap: var(--labeled-content-row-gap);
12
+ }
13
+
14
+ &::part(labeled-content-stack) {
15
+ display: flex;
16
+
17
+ flex-wrap: wrap;
18
+
19
+ justify-content: space-between;
20
+
21
+ row-gap: var(--labeled-content-row-gap);
22
+ column-gap: var(--labeled-content-column-gap);
23
+ }
24
+
25
+ &::part(labeled-content-label-stack) {
26
+ --label-truncation-mode: tail;
27
+
28
+ --label-line-limit: 1;
29
+ }
30
+
31
+ &::part(labeled-content-value-stack) {
32
+ color: var(--secondary);
33
+
34
+ justify-items: flex-end;
35
+
36
+ word-break: break-all;
37
+ }
38
+
39
+ &[labeled-content-style]::part(labeled-content-stack) {
40
+ flex-flow: column;
41
+ }
42
+ &[labeled-content-style]::part(labeled-content-value-stack) {
43
+ justify-items: flex-start;
44
+ }
45
+ }
46
+
47
+ > :nth-child(n + 2 of [slot='label']),
48
+ > [slot='header'],
49
+ > [slot='footer'] {
50
+ :where(&) {
51
+ color: var(--secondary);
52
+ }
7
53
  }
8
54
  }
9
55
  }
@@ -133,6 +133,10 @@
133
133
  --menuitemradiusbr: var(--menu-item-border-radius);
134
134
  --menuitemradiusbl: var(--menu-item-border-radius);
135
135
  }
136
+
137
+ :where(&) {
138
+ --disclosure-style: marker-trailing;
139
+ }
136
140
  }
137
141
  }
138
142
 
@@ -6,41 +6,88 @@
6
6
  $picker-ifs: (
7
7
  menu: (
8
8
  --picker--labelstack-display: grid,
9
- --picker--stack-grid-template-columns: auto minmax(0, 1fr),
9
+ // copy from labeled-content
10
+ --picker--stack-display: flex,
11
+ --picker--stack-justify-content: space-between,
12
+ --picker--stack-row-gap: var(--labeled-content-row-gap),
13
+ --picker--stack-column-gap: var(--labeled-content-column-gap),
14
+ //
15
+ --picker--stack-grid-padding-inline: var(--itempadistart,) var(--itempadiend,),
16
+ --picker--stack-grid-padding-block: var(--itempadbstart,) var(--itempadbend,),
17
+ --picker--stack-grid-border-radius: var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,),
18
+ --picker--stack-grid-background: var(--itemface,),
19
+ --picker--stack-grid-color: var(--itemtext,),
20
+ --picker--stack-grid-border: var(--itemborder,),
21
+ --picker--input-stack-child-place-self: flex-end,
22
+ //
23
+ // --picker--stack-flex-wrap: wrap,
24
+ --picker--input-stack-flex-shrink: 0,
25
+ --picker--input-stack-max-width: 70%,
26
+ ),
27
+ navigation-link: (
28
+ --picker--labelstack-display: grid,
29
+ // copy from labeled-content
30
+ --picker--stack-display: flex,
31
+ --picker--stack-justify-content: space-between,
32
+ --picker--stack-row-gap: var(--labeled-content-row-gap),
33
+ --picker--stack-column-gap: var(--labeled-content-column-gap),
34
+ //
35
+ --picker--stack-grid-padding-inline: var(--itempadistart,) var(--itempadiend,),
36
+ --picker--stack-grid-padding-block: var(--itempadbstart,) var(--itempadbend,),
37
+ --picker--stack-grid-border-radius: var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,),
38
+ --picker--stack-grid-background: var(--itemface,),
39
+ --picker--stack-grid-color: var(--itemtext,),
40
+ --picker--stack-grid-border: var(--itemborder,),
41
+ --picker--input-stack-child-place-self: flex-end,
42
+ //
43
+ // --picker--stack-flex-wrap: wrap,
44
+ --picker--input-stack-flex-shrink: 0,
45
+ --picker--input-stack-max-width: 70%,
46
+ ),
47
+ sheet: (
48
+ --picker--labelstack-display: grid,
49
+ // copy from labeled-content
50
+ --picker--stack-display: flex,
51
+ --picker--stack-justify-content: space-between,
52
+ --picker--stack-row-gap: var(--labeled-content-row-gap),
53
+ --picker--stack-column-gap: var(--labeled-content-column-gap),
54
+ //
55
+ --picker--stack-grid-padding-inline: var(--itempadistart,) var(--itempadiend,),
56
+ --picker--stack-grid-padding-block: var(--itempadbstart,) var(--itempadbend,),
57
+ --picker--stack-grid-border-radius: var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,),
58
+ --picker--stack-grid-background: var(--itemface,),
59
+ --picker--stack-grid-color: var(--itemtext,),
60
+ --picker--stack-grid-border: var(--itemborder,),
61
+ --picker--input-stack-child-place-self: flex-end,
62
+ //
63
+ // --picker--stack-flex-wrap: wrap,
64
+ --picker--input-stack-flex-shrink: 0,
65
+ --picker--input-stack-max-width: 70%,
10
66
  ),
11
67
  );
12
68
 
13
- $picker-elses: (
14
- --picker--stack-grid-template-columns: minmax(0, 1fr), //auto minmax(0, 1fr),
15
- );
69
+ // $picker-elses: (
70
+ // --picker--stack-grid-template-columns: minmax(0, 1fr), //auto minmax(0, 1fr),
71
+ // );
16
72
 
17
73
  // @mixin make-button-affordance() {
18
74
  // position: relative;
19
-
20
75
  // grid-auto-flow: column;
21
76
  // grid-template-columns: var(--picker-affordance-size) minmax(0, 1fr);
22
77
  // column-gap: var(--picker-affordance-col-gap);
23
-
24
78
  // @include mixins.make-marker-pseudos(vars.$picker-affordance, before);
25
-
26
79
  // &::before {
27
80
  // display: grid;
28
-
29
81
  // block-size: var(--picker-affordance-size);
30
82
  // inline-size: var(--picker-affordance-size);
31
-
32
83
  // background-color: var(--menuitemtext, var(--text));
33
-
34
84
  // transform: var(--tablecol--after-rotate,);
35
-
36
85
  // @media (prefers-reduced-motion: no-preference) {
37
86
  // transition: transform 100ms ease-out;
38
87
  // will-change: transform;
39
88
  // }
40
-
41
89
  // opacity: 0;
42
90
  // }
43
-
44
91
  // &[aria-selected='true']::before {
45
92
  // opacity: 1;
46
93
  // }
@@ -54,36 +101,78 @@ $picker-elses: (
54
101
  grid-template-rows: minmax(0, 1fr);
55
102
  }
56
103
 
104
+ > :not([slot]) {
105
+ :where(&) {
106
+ place-self: var(--picker--input-stack-child-place-self,);
107
+ }
108
+ }
109
+
57
110
  :where(&)::part(picker-stack) {
58
- grid-template-columns: var(--picker--stack-grid-template-columns,);
111
+ display: var(--picker--stack-display,);
59
112
 
60
- grid-template-rows: minmax(0, 1fr);
113
+ flex-wrap: var(--picker--stack-flex-wrap,);
114
+
115
+ justify-content: var(--picker--stack-justify-content,);
116
+
117
+ row-gap: var(--picker--stack-row-gap,);
118
+ column-gap: var(--picker--stack-column-gap,);
119
+ // grid-template-columns: var(--picker--stack-grid-template-columns,);
120
+
121
+ // grid-template-rows: minmax(0, 1fr);
122
+
123
+ // column-gap: 1rem;
124
+
125
+ padding-inline: var(--picker--stack-grid-padding-inline,);
126
+ padding-block: var(--picker--stack-grid-padding-block,);
127
+ background: var(--picker--stack-grid-background,);
128
+ border-radius: var(--picker--stack-grid-border-radius,);
129
+ border: var(--picker--stack-grid-border,);
130
+ color: var(--picker--stack-grid-color,);
131
+ }
132
+
133
+ :where(&)::part(picker-input-stack) {
134
+ flex-shrink: var(--picker--input-stack-flex-shrink,); //none;
135
+
136
+ max-width: var(--picker--input-stack-max-width,); //70%;
61
137
  }
62
138
 
63
139
  :where(&)::part(picker-label-stack) {
64
140
  display: var(--picker--labelstack-display, none); // display: none;
65
- }
66
141
 
67
- :where(&) {
68
- // --picker--stack-grid-template-columns: auto minmax(0, 1fr);
69
- @include mixins.write-props($picker-elses);
70
- }
142
+ color: var(--secondary);
71
143
 
72
- :where(tool-bar-item &) {
73
- // --picker--labelstack-display: none;
74
- // --picker--stack-grid-template-columns: minmax(0, 1fr);
75
- }
144
+ --label-truncation-mode: tail;
76
145
 
77
- :where(form &) {
78
- // --picker--labelstack-display: grid;
79
- // --picker--stack-grid-template-columns: auto minmax(0, 1fr);
146
+ --label-line-limit: 1;
80
147
  }
81
148
 
149
+ // :where(&) {
150
+ // --picker--stack-grid-template-columns: auto minmax(0, 1fr);
151
+ // @include mixins.write-props($picker-elses); NOT Needed for now since all defaults/fallbacks are already the elses
152
+ // }
153
+
154
+ // :where(tool-bar-item &) {
155
+ // --picker--labelstack-display: none;
156
+ // --picker--stack-grid-template-columns: minmax(0, 1fr);
157
+ // }
158
+
159
+ // :where(form &) {
160
+ // --picker--labelstack-display: grid;
161
+ // --picker--stack-grid-template-columns: auto minmax(0, 1fr);
162
+ // }
163
+
82
164
  :where(& menu-view > menu-view > label-view[slot='label']) {
83
165
  @container style(--picker-style: menu) {
84
166
  margin-inline-start: 2rem;
85
167
  }
86
168
  }
169
+ // NOTE: make first inline list item secondary
170
+ :where(& > list-view > section-view > :not(button):first-child) {
171
+ @container not style(--picker-style) {
172
+ color: var(--secondary);
173
+ --itemtext: var(--secondary);
174
+ }
175
+ }
87
176
  // :where(& menu-view > button, & menu-view > [is='disclosure-group'] > button, & menu-view > [is='disclosure-group'] > summary) {
88
177
  // @container style(--picker-style: menu) {
89
178
  // @include make-button-affordance;
@@ -92,8 +181,64 @@ $picker-elses: (
92
181
 
93
182
  // SECTION: ifs
94
183
  @supports (x: #{string.unquote('if(else:red)')}) {
95
- :where(&) {
96
- @include mixins.write-ifs(--picker-style, $picker-ifs, $picker-elses);
184
+ :where(form &) {
185
+ // @include mixins.write-ifs(--picker-style, $picker-ifs, $picker-elses);
186
+
187
+ --picker--labelstack-display: if(style(--picker-style: sheet): grid ; style(--picker-style: navigation-link): grid ; style(--picker-style: menu): grid ; else: none ;);
188
+ // --picker--stack-grid-template-columns: if(style(--picker-style: menu): auto minmax(0, 1fr) ; else: minmax(0, 1fr) ;);
189
+
190
+ --picker--stack-display: if(style(--picker-style: sheet): flex ; style(--picker-style: navigation-link): flex ; style(--picker-style: menu): flex ;);
191
+ --picker--stack-justify-content: if(style(--picker-style: sheet): space-between ; style(--picker-style: navigation-link): space-between ; style(--picker-style: menu): space-between ;);
192
+ --picker--stack-row-gap: if(
193
+ style(--picker-style: sheet): var(--labeled-content-row-gap) ; style(--picker-style: navigation-link): var(--labeled-content-row-gap) ;
194
+ style(--picker-style: menu): var(--labeled-content-row-gap) ;
195
+ );
196
+ --picker--stack-column-gap: if(
197
+ style(--picker-style: sheet): var(--labeled-content-column-gap) ; style(--picker-style: navigation-link): var(--labeled-content-column-gap) ;
198
+ style(--picker-style: menu): var(--labeled-content-column-gap) ;
199
+ );
200
+ //
201
+ --picker--stack-grid-padding-inline: if(
202
+ style(--picker-style: sheet): var(--itempadistart,) var(--itempadiend,) ; style(--picker-style: navigation-link): var(--itempadistart,) var(--itempadiend,) ;
203
+ style(--picker-style: menu): var(--itempadistart,) var(--itempadiend,) ;
204
+ );
205
+ --picker--stack-grid-padding-block: if(
206
+ style(--picker-style: sheet): var(--itempadbstart,) var(--itempadbend,) ; style(--picker-style: navigation-link): var(--itempadbstart,) var(--itempadbend,) ;
207
+ style(--picker-style: menu): var(--itempadbstart,) var(--itempadbend,) ;
208
+ );
209
+ --picker--stack-grid-border-radius: if(
210
+ style(--picker-style: sheet): var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,) ; style(--picker-style: navigation-link): var(--itemradiustl,)
211
+ var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,) ; style(--picker-style: menu): var(--itemradiustl,) var(--itemradiustr,) var(--itemradiusbr,) var(--itemradiusbl,) ;
212
+ );
213
+ --picker--stack-grid-background: if(
214
+ style(--picker-style: sheet): var(--itemface,) ; style(--picker-style: navigation-link): var(--itemface,) ; style(--picker-style: menu): var(--itemface,) ;
215
+ );
216
+ --picker--stack-grid-color: if(style(--picker-style: sheet): var(--itemtext,) ; style(--picker-style: navigation-link): var(--itemtext,) ; style(--picker-style: menu): var(--itemtext,) ;);
217
+ --picker--stack-grid-border: if(
218
+ style(--picker-style: sheet): var(--itemborder,) ; style(--picker-style: navigation-link): var(--itemborder,) ; style(--picker-style: menu): var(--itemborder,) ;
219
+ );
220
+ --picker--input-stack-child-place-self: if(style(--picker-style: sheet): flex-end ; style(--picker-style: navigation-link): flex-end ; style(--picker-style: menu): flex-end ;);
221
+
222
+ // SECTION
223
+ --picker--input-stack-flex-shrink: if(
224
+ style(--picker-style: sheet) or style(--picker-style: navigation-link) or
225
+ style(--picker-style: menu): if(style(--label-value-placement: vertical) or style(--label-value-placement: auto): 1 ; else: 0 ;)
226
+ );
227
+ --picker--stack-flex-wrap: if(
228
+ style(--picker-style: sheet) or style(--picker-style: navigation-link) or
229
+ style(--picker-style: menu): if(style(--label-value-placement: vertical) or style(--label-value-placement: auto): wrap ;)
230
+ );
231
+ --picker--input-stack-max-width: if(
232
+ style(--picker-style: sheet) or style(--picker-style: navigation-link) or
233
+ style(--picker-style: menu): if(style(--label-value-placement: vertical) or style(--label-value-placement: auto): 70% ;)
234
+ );
235
+ // --picker--input-stack-flex-shrink: if(
236
+ // style(--label-value-placement: vertical) or
237
+ // style(--label-value-placement: auto): if(style(--picker-style: sheet) or style(--picker-style: navigation-link) or style(--picker-style: menu): 1 ;) ; ;
238
+ // else: if(style(--picker-style: sheet) or style(--picker-style: navigation-link) or style(--picker-style: menu): 0 ;) ; ;
239
+ // );
240
+ // --picker--input-stack-max-width: if(style(--picker-style: sheet): 70% ; style(--picker-style: navigation-link): 70% ; style(--picker-style: menu): 70% ;);
241
+ // --picker--stack-flex-wrap: if(style(--picker-style: sheet): wrap ; style(--picker-style: navigation-link): wrap ; style(--picker-style: menu): wrap ;);
97
242
  }
98
243
  }
99
244
 
@@ -107,6 +252,9 @@ $picker-elses: (
107
252
  }
108
253
  }
109
254
  @each $v in vars.$picker-styles {
255
+ :where(form &[picker-style='#{$v}']) {
256
+ @include mixins.write-props(map.get($picker-ifs, $v)); //@include set-picker-style($v);
257
+ }
110
258
  :where(&[picker-style='#{$v}']) {
111
259
  :where(& menu-view > menu-view > label-view[slot='label']) {
112
260
  margin-inline-start: 2rem;
@@ -115,8 +263,26 @@ $picker-elses: (
115
263
  // :where(& menu-view > button, & menu-view > [is='disclosure-group'] > button, & menu-view > [is='disclosure-group'] > summary) {
116
264
  // @include make-button-affordance;
117
265
  // }
266
+ }
267
+ }
268
+ }
269
+ }
270
+ }
118
271
 
119
- @include mixins.write-props(map.get($picker-ifs, $v)); //@include set-picker-style($v);
272
+ @layer #{vars.$final-layer} {
273
+ picker-view {
274
+ //--label-value-placement
275
+ @supports not (x: #{string.unquote('attr(x type(*))')}) {
276
+ :where(&:not([label-value-placement])) {
277
+ @each $v in vertical, horizontal, auto {
278
+ @container style(--label-value-placement: #{$v}) {
279
+ --label-value-placement: #{$v};
280
+ }
281
+ }
282
+ }
283
+ @each $v in vertical, horizontal, auto {
284
+ :where(&[label-value-placement='#{$v}']) {
285
+ --label-value-placement: #{$v};
120
286
  }
121
287
  }
122
288
  }
@@ -125,6 +291,7 @@ $picker-elses: (
125
291
  @supports (x: #{string.unquote('attr(x type(*))')}) {
126
292
  :where(&) {
127
293
  --picker-style: attr(picker-style type(<custom-ident>), inherit);
294
+ --label-value-placement: attr(label-value-placement type(<custom-ident>), inherit);
128
295
  }
129
296
  }
130
297
  }
@@ -15,6 +15,8 @@
15
15
 
16
16
  grid-template-columns: auto minmax(0, 1fr);
17
17
  grid-template-rows: minmax(0, 1fr);
18
+
19
+ column-gap: 1rem;
18
20
  }
19
21
 
20
22
  :where(&)::part(text-field-label-stack) {
@@ -32,6 +34,18 @@
32
34
  // display: grid;
33
35
 
34
36
  text-align: end;
37
+
38
+ appearance: none;
39
+
40
+ border: 0;
41
+
42
+ outline: 0;
43
+
44
+ padding-block: 0.1rem;
45
+
46
+ padding-inline-start: 0.3rem;
47
+
48
+ background-color: transparent;
35
49
  }
36
50
  }
37
51
  }
@@ -13,8 +13,8 @@ $inline-map: (
13
13
  (justify-content (stretch)),
14
14
  ),
15
15
  center: (
16
- (justify-items (safe center)),
17
- (justify-content (safe center)),
16
+ (justify-items (center)),
17
+ (justify-content (center)),
18
18
  ),
19
19
  trailing: (
20
20
  (justify-items (end)),
@@ -56,6 +56,14 @@ $block-map: (
56
56
  );
57
57
 
58
58
  $h-placement-map: (
59
+ 'fill': (
60
+ (place-items (stretch)),
61
+ (place-content (stretch)),
62
+ ),
63
+ 'leading fill': (
64
+ (place-items (stretch start)),
65
+ (place-content (stretch start)),
66
+ ),
59
67
  'fill leading': (
60
68
  (place-items (start stretch)),
61
69
  (place-content (start stretch)),
@@ -76,6 +84,10 @@ $v-placement-map: (
76
84
  (place-items (start stretch)),
77
85
  (place-content (start stretch)),
78
86
  ),
87
+ 'fill leading': (
88
+ (place-items (stretch start)),
89
+ (place-content (stretch start)),
90
+ ),
79
91
  'space-between fill': (
80
92
  (align-content (space-between)),
81
93
  (justify-items (stretch)),
@@ -49,6 +49,14 @@
49
49
  }
50
50
  ]
51
51
  },
52
+ {
53
+ "name": "color-scheme",
54
+ "attributes": [
55
+ {
56
+ "name": "dark"
57
+ }
58
+ ]
59
+ },
52
60
  {
53
61
  "name": "confirmation-dialog",
54
62
  "attributes": [
@@ -202,6 +210,29 @@
202
210
  }
203
211
  ]
204
212
  },
213
+ {
214
+ "name": "labeled-content",
215
+ "attributes": [
216
+ {
217
+ "name": "value"
218
+ },
219
+ {
220
+ "name": "label"
221
+ },
222
+ {
223
+ "name": "header"
224
+ },
225
+ {
226
+ "name": "footer"
227
+ },
228
+ {
229
+ "name": "labeled-content-style"
230
+ },
231
+ {
232
+ "name": "format"
233
+ }
234
+ ]
235
+ },
205
236
  {
206
237
  "name": "list-view",
207
238
  "description": "",
@@ -296,6 +327,21 @@
296
327
  "name": "DictEntry[]"
297
328
  }
298
329
  ]
330
+ },
331
+ {
332
+ "name": "label-value",
333
+ "description": "Value Type: “vertical” | “horizontal” | “auto”\n\nDescription: placement",
334
+ "values": [
335
+ {
336
+ "name": "vertical"
337
+ },
338
+ {
339
+ "name": "horizontal"
340
+ },
341
+ {
342
+ "name": "auto"
343
+ }
344
+ ]
299
345
  }
300
346
  ]
301
347
  },