3
3
exports [` Create a Form should use a single FormGroup's title as a Form title if one is not set 1` ] = `
4
4
<div
5
5
class = " Form-form-0"
6
- style = " --ui5wcr_form_content_span: 8; --ui5wcr_form_label_span: 4; --ui5wcr_form_full_span: span 24; grid-template-columns: repeat(24, 1fr);"
6
+ data-columns = " 2"
7
+ style = " --ui5wcr_form_content_span: 8; --ui5wcr_form_label_span: 4;"
7
8
>
8
9
<ui5-title
9
10
class = " Form-formTitle-0"
@@ -13,13 +14,14 @@ exports[`Create a Form should use a single FormGroup's title as a Form title if
13
14
</ui5-title >
14
15
<ui5-label
15
16
class = " FormItem-label-0"
16
- style = " grid-column-start: 1;"
17
+ style = " grid-column-start: 1; grid-row-start: 0; "
17
18
wrap = " true"
18
19
>
19
20
item 1:
20
21
</ui5-label >
21
22
<div
22
23
class = " FormItem-content-0"
24
+ style = " grid-row-start: 0;"
23
25
>
24
26
<ui5-input
25
27
type = " Text"
@@ -28,13 +30,14 @@ exports[`Create a Form should use a single FormGroup's title as a Form title if
28
30
</div >
29
31
<ui5-label
30
32
class = " FormItem-label-0"
31
- style = " grid-column-start: 1;"
33
+ style = " grid-column-start: 1; grid-row-start: 0; "
32
34
wrap = " true"
33
35
>
34
36
item 2:
35
37
</ui5-label >
36
38
<div
37
39
class = " FormItem-content-0"
40
+ style = " grid-row-start: 0;"
38
41
>
39
42
<ui5-input
40
43
type = " Number"
@@ -47,7 +50,8 @@ exports[`Create a Form should use a single FormGroup's title as a Form title if
47
50
exports [` Create a Form size rate L; should create Label and Element with 33% and 66% width respectively and display: flex for top FormItem div 1` ] = `
48
51
<div
49
52
class = " Form-form-0"
50
- style = " --ui5wcr_form_content_span: 8; --ui5wcr_form_label_span: 4; --ui5wcr_form_full_span: span 12; grid-template-columns: repeat(12, 1fr);"
53
+ data-columns = " 1"
54
+ style = " --ui5wcr_form_content_span: 8; --ui5wcr_form_label_span: 4;"
51
55
>
52
56
<ui5-title
53
57
class = " Form-formTitle-0"
@@ -63,13 +67,14 @@ exports[`Create a Form size rate L; should create Label and Element with 33% and
63
67
</ui5-title >
64
68
<ui5-label
65
69
class = " FormItem-label-0"
66
- style = " grid-column-start: 1;"
70
+ style = " grid-column-start: 1; grid-row-start: 0; "
67
71
wrap = " true"
68
72
>
69
73
item 1:
70
74
</ui5-label >
71
75
<div
72
76
class = " FormItem-content-0"
77
+ style = " grid-row-start: 0;"
73
78
>
74
79
<ui5-input
75
80
type = " Text"
@@ -78,13 +83,14 @@ exports[`Create a Form size rate L; should create Label and Element with 33% and
78
83
</div >
79
84
<ui5-label
80
85
class = " FormItem-label-0"
81
- style = " grid-column-start: 1;"
86
+ style = " grid-column-start: 1; grid-row-start: 0; "
82
87
wrap = " true"
83
88
>
84
89
item 2:
85
90
</ui5-label >
86
91
<div
87
92
class = " FormItem-content-0"
93
+ style = " grid-row-start: 0;"
88
94
>
89
95
<ui5-input
90
96
type = " Number"
@@ -99,13 +105,14 @@ exports[`Create a Form size rate L; should create Label and Element with 33% and
99
105
</ui5-title >
100
106
<ui5-label
101
107
class = " FormItem-label-0"
102
- style = " grid-column-start: 1;"
108
+ style = " grid-column-start: 1; grid-row-start: 0; "
103
109
wrap = " true"
104
110
>
105
111
item 1:
106
112
</ui5-label >
107
113
<div
108
114
class = " FormItem-content-0"
115
+ style = " grid-row-start: 0;"
109
116
>
110
117
<ui5-input
111
118
type = " Text"
@@ -114,13 +121,14 @@ exports[`Create a Form size rate L; should create Label and Element with 33% and
114
121
</div >
115
122
<ui5-label
116
123
class = " FormItem-label-0"
117
- style = " grid-column-start: 1;"
124
+ style = " grid-column-start: 1; grid-row-start: 0; "
118
125
wrap = " true"
119
126
>
120
127
item 2:
121
128
</ui5-label >
122
129
<div
123
130
class = " FormItem-content-0"
131
+ style = " grid-row-start: 0;"
124
132
>
125
133
<ui5-input
126
134
type = " Number"
@@ -133,7 +141,8 @@ exports[`Create a Form size rate L; should create Label and Element with 33% and
133
141
exports [` Create a Form size rate M; should create Label and Element with 16% and 83% width respectively and display: flex for top FormItem div 1` ] = `
134
142
<div
135
143
class = " Form-form-0"
136
- style = " --ui5wcr_form_content_span: 10; --ui5wcr_form_label_span: 2; --ui5wcr_form_full_span: span 12; grid-template-columns: repeat(12, 1fr);"
144
+ data-columns = " 1"
145
+ style = " --ui5wcr_form_content_span: 10; --ui5wcr_form_label_span: 2;"
137
146
>
138
147
<ui5-title
139
148
class = " Form-formTitle-0"
@@ -149,13 +158,14 @@ exports[`Create a Form size rate M; should create Label and Element with 16% and
149
158
</ui5-title >
150
159
<ui5-label
151
160
class = " FormItem-label-0"
152
- style = " grid-column-start: 1;"
161
+ style = " grid-column-start: 1; grid-row-start: 0; "
153
162
wrap = " true"
154
163
>
155
164
item 1:
156
165
</ui5-label >
157
166
<div
158
167
class = " FormItem-content-0"
168
+ style = " grid-row-start: 0;"
159
169
>
160
170
<ui5-input
161
171
type = " Text"
@@ -164,13 +174,14 @@ exports[`Create a Form size rate M; should create Label and Element with 16% and
164
174
</div >
165
175
<ui5-label
166
176
class = " FormItem-label-0"
167
- style = " grid-column-start: 1;"
177
+ style = " grid-column-start: 1; grid-row-start: 0; "
168
178
wrap = " true"
169
179
>
170
180
item 2:
171
181
</ui5-label >
172
182
<div
173
183
class = " FormItem-content-0"
184
+ style = " grid-row-start: 0;"
174
185
>
175
186
<ui5-input
176
187
type = " Number"
@@ -185,13 +196,14 @@ exports[`Create a Form size rate M; should create Label and Element with 16% and
185
196
</ui5-title >
186
197
<ui5-label
187
198
class = " FormItem-label-0"
188
- style = " grid-column-start: 1;"
199
+ style = " grid-column-start: 1; grid-row-start: 0; "
189
200
wrap = " true"
190
201
>
191
202
item 1:
192
203
</ui5-label >
193
204
<div
194
205
class = " FormItem-content-0"
206
+ style = " grid-row-start: 0;"
195
207
>
196
208
<ui5-input
197
209
type = " Text"
@@ -200,13 +212,14 @@ exports[`Create a Form size rate M; should create Label and Element with 16% and
200
212
</div >
201
213
<ui5-label
202
214
class = " FormItem-label-0"
203
- style = " grid-column-start: 1;"
215
+ style = " grid-column-start: 1; grid-row-start: 0; "
204
216
wrap = " true"
205
217
>
206
218
item 2:
207
219
</ui5-label >
208
220
<div
209
221
class = " FormItem-content-0"
222
+ style = " grid-row-start: 0;"
210
223
>
211
224
<ui5-input
212
225
type = " Number"
@@ -219,7 +232,8 @@ exports[`Create a Form size rate M; should create Label and Element with 16% and
219
232
exports [` Create a Form size rate S; should create Label and Element with 100% width and display: block for top FormItem div 1` ] = `
220
233
<div
221
234
class = " Form-form-0"
222
- style = " --ui5wcr_form_content_span: 12; --ui5wcr_form_label_span: 12; --ui5wcr_form_full_span: span 12; grid-template-columns: repeat(12, 1fr); --ui5wcr_form_label_text_align: start;"
235
+ data-columns = " 1"
236
+ style = " --ui5wcr_form_content_span: 12; --ui5wcr_form_label_span: 12; --ui5wcr_form_label_text_align: start;"
223
237
>
224
238
<ui5-title
225
239
class = " Form-formTitle-0"
@@ -235,13 +249,14 @@ exports[`Create a Form size rate S; should create Label and Element with 100% wi
235
249
</ui5-title >
236
250
<ui5-label
237
251
class = " FormItem-label-0"
238
- style = " grid-column-start: 1;"
252
+ style = " grid-column-start: 1; grid-row-start: 0; "
239
253
wrap = " true"
240
254
>
241
255
item 1:
242
256
</ui5-label >
243
257
<div
244
258
class = " FormItem-content-0"
259
+ style = " grid-row-start: 0;"
245
260
>
246
261
<ui5-input
247
262
type = " Text"
@@ -250,13 +265,14 @@ exports[`Create a Form size rate S; should create Label and Element with 100% wi
250
265
</div >
251
266
<ui5-label
252
267
class = " FormItem-label-0"
253
- style = " grid-column-start: 1;"
268
+ style = " grid-column-start: 1; grid-row-start: 0; "
254
269
wrap = " true"
255
270
>
256
271
item 2:
257
272
</ui5-label >
258
273
<div
259
274
class = " FormItem-content-0"
275
+ style = " grid-row-start: 0;"
260
276
>
261
277
<ui5-input
262
278
type = " Number"
@@ -271,13 +287,14 @@ exports[`Create a Form size rate S; should create Label and Element with 100% wi
271
287
</ui5-title >
272
288
<ui5-label
273
289
class = " FormItem-label-0"
274
- style = " grid-column-start: 1;"
290
+ style = " grid-column-start: 1; grid-row-start: 0; "
275
291
wrap = " true"
276
292
>
277
293
item 1:
278
294
</ui5-label >
279
295
<div
280
296
class = " FormItem-content-0"
297
+ style = " grid-row-start: 0;"
281
298
>
282
299
<ui5-input
283
300
type = " Text"
@@ -286,13 +303,14 @@ exports[`Create a Form size rate S; should create Label and Element with 100% wi
286
303
</div >
287
304
<ui5-label
288
305
class = " FormItem-label-0"
289
- style = " grid-column-start: 1;"
306
+ style = " grid-column-start: 1; grid-row-start: 0; "
290
307
wrap = " true"
291
308
>
292
309
item 2:
293
310
</ui5-label >
294
311
<div
295
312
class = " FormItem-content-0"
313
+ style = " grid-row-start: 0;"
296
314
>
297
315
<ui5-input
298
316
type = " Number"
@@ -305,7 +323,8 @@ exports[`Create a Form size rate S; should create Label and Element with 100% wi
305
323
exports [` Create a Form size rate XL; should create Label and Element with 33% and 66% width respectively and display: flex for top FormItem div 1` ] = `
306
324
<div
307
325
class = " Form-form-0"
308
- style = " --ui5wcr_form_content_span: 8; --ui5wcr_form_label_span: 4; --ui5wcr_form_full_span: span 24; grid-template-columns: repeat(24, 1fr);"
326
+ data-columns = " 2"
327
+ style = " --ui5wcr_form_content_span: 8; --ui5wcr_form_label_span: 4;"
309
328
>
310
329
<ui5-title
311
330
class = " Form-formTitle-0"
@@ -315,25 +334,20 @@ exports[`Create a Form size rate XL; should create Label and Element with 33% an
315
334
</ui5-title >
316
335
<ui5-title
317
336
level = " H5"
318
- style = " padding-bottom: 0.75rem; grid-column: span 12;"
337
+ style = " padding-bottom: 0.75rem; grid-column-end : span 12; grid-column-start: 1; grid-row-start: 2 ;"
319
338
>
320
339
Group 1
321
340
</ui5-title >
322
- <ui5-title
323
- level = " H5"
324
- style = " padding-bottom: 0.75rem; grid-column: span 12;"
325
- >
326
- Group 2
327
- </ui5-title >
328
341
<ui5-label
329
342
class = " FormItem-label-0"
330
- style = " grid-column-start: 1;"
343
+ style = " grid-column-start: 1; grid-row-start: 3; "
331
344
wrap = " true"
332
345
>
333
346
item 1:
334
347
</ui5-label >
335
348
<div
336
349
class = " FormItem-content-0"
350
+ style = " grid-column-start: 5; grid-row-start: 3;"
337
351
>
338
352
<ui5-input
339
353
type = " Text"
@@ -342,43 +356,52 @@ exports[`Create a Form size rate XL; should create Label and Element with 33% an
342
356
</div >
343
357
<ui5-label
344
358
class = " FormItem-label-0"
345
- style = " grid-column-start: 13 ;"
359
+ style = " grid-column-start: 1; grid-row-start: 4 ;"
346
360
wrap = " true"
347
361
>
348
- item 1 :
362
+ item 2 :
349
363
</ui5-label >
350
364
<div
351
365
class = " FormItem-content-0"
366
+ style = " grid-column-start: 5; grid-row-start: 4;"
352
367
>
353
368
<ui5-input
354
- type = " Text "
369
+ type = " Number "
355
370
value-state = " None"
356
371
/>
357
372
</div >
373
+ <ui5-title
374
+ level = " H5"
375
+ style = " padding-bottom: 0.75rem; grid-column-end: span 12; grid-column-start: 13; grid-row-start: 2;"
376
+ >
377
+ Group 2
378
+ </ui5-title >
358
379
<ui5-label
359
380
class = " FormItem-label-0"
360
- style = " grid-column-start: 1 ;"
381
+ style = " grid-column-start: 13; grid-row-start: 3 ;"
361
382
wrap = " true"
362
383
>
363
- item 2 :
384
+ item 1 :
364
385
</ui5-label >
365
386
<div
366
387
class = " FormItem-content-0"
388
+ style = " grid-column-start: 17; grid-row-start: 3;"
367
389
>
368
390
<ui5-input
369
- type = " Number "
391
+ type = " Text "
370
392
value-state = " None"
371
393
/>
372
394
</div >
373
395
<ui5-label
374
396
class = " FormItem-label-0"
375
- style = " grid-column-start: 13;"
397
+ style = " grid-column-start: 13; grid-row-start: 4; "
376
398
wrap = " true"
377
399
>
378
400
item 2:
379
401
</ui5-label >
380
402
<div
381
403
class = " FormItem-content-0"
404
+ style = " grid-column-start: 17; grid-row-start: 4;"
382
405
>
383
406
<ui5-input
384
407
type = " Number"
0 commit comments