@@ -213,15 +213,56 @@ export const BrandColors = () => html`<h2>Colors</h2>
213
213
</ uui-table > ` ;
214
214
215
215
export const Sizing = ( ) => html `
216
- < h2 > Sizing </ h2 >
216
+ < h3 > Spacing properties </ h3 >
217
217
218
218
< uui-table @click =${ copyToClipboard } >
219
219
< uui-table-head >
220
220
< uui-table-head-cell > Custom property name</ uui-table-head-cell >
221
221
< uui-table-head-cell > Value</ uui-table-head-cell >
222
222
</ uui-table-head >
223
223
${ properties
224
- . filter ( property => property . key . includes ( '--uui-size' ) )
224
+ . filter ( property => property . key . includes ( '--uui-size-space' ) )
225
+ . map ( property => propertySizeTemplate ( property ) ) }
226
+ </ uui-table >
227
+
228
+ < h3 > Layout properties</ h3 >
229
+
230
+ < uui-table @click =${ copyToClipboard } >
231
+ < uui-table-head >
232
+ < uui-table-head-cell > Custom property name</ uui-table-head-cell >
233
+ < uui-table-head-cell > Value</ uui-table-head-cell >
234
+ </ uui-table-head >
235
+ ${ properties
236
+ . filter ( property => property . key . includes ( '--uui-size-layout' ) )
237
+ . map ( property => propertySizeTemplate ( property ) ) }
238
+ </ uui-table >
239
+
240
+ < h3 > Border radius</ h3 >
241
+
242
+ < uui-table @click =${ copyToClipboard } >
243
+ < uui-table-head >
244
+ < uui-table-head-cell > Custom property name</ uui-table-head-cell >
245
+ < uui-table-head-cell > Value</ uui-table-head-cell >
246
+ </ uui-table-head >
247
+ ${ properties
248
+ . filter ( property => property . key . includes ( '--uui-border-radius' ) )
249
+ . map ( property => propertySizeTemplate ( property ) ) }
250
+ </ uui-table >
251
+
252
+ < h3 > General sizes</ h3 >
253
+
254
+ < uui-table @click =${ copyToClipboard } >
255
+ < uui-table-head >
256
+ < uui-table-head-cell > Custom property name</ uui-table-head-cell >
257
+ < uui-table-head-cell > Value</ uui-table-head-cell >
258
+ </ uui-table-head >
259
+ ${ properties
260
+ . filter (
261
+ property =>
262
+ property . key . includes ( '--uui-size' ) &&
263
+ ! property . key . includes ( '--uui-size-space' ) &&
264
+ ! property . key . includes ( '--uui-size-layout' )
265
+ )
225
266
. map ( property => propertySizeTemplate ( property ) ) }
226
267
</ uui-table >
227
268
` ;
0 commit comments