xactsize-webcomponents 1.0.25 → 1.0.26
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/dist/body-measurer.es.js +56 -66
- package/dist/body-measurer.umd.js +56 -66
- package/package.json +1 -1
package/dist/body-measurer.es.js
CHANGED
|
@@ -1071,14 +1071,16 @@ label="${n("Let's go!")}"
|
|
|
1071
1071
|
}
|
|
1072
1072
|
};
|
|
1073
1073
|
E.styles = N`
|
|
1074
|
-
|
|
1074
|
+
:host {
|
|
1075
1075
|
display: flex;
|
|
1076
|
-
|
|
1077
|
-
|
|
1076
|
+
flex-direction: column; /* Força coluna para evitar problemas de flex-start */
|
|
1077
|
+
justify-content: flex-start;
|
|
1078
|
+
align-items: stretch; /* Evita que filhos desapareçam no Safari */
|
|
1078
1079
|
font-family: "Lato", sans-serif;
|
|
1079
1080
|
box-sizing: border-box;
|
|
1080
|
-
padding: 16px;
|
|
1081
|
+
padding: 16px;
|
|
1081
1082
|
width: 100%;
|
|
1083
|
+
min-height: 100vh; /* Garante que o conteúdo caiba */
|
|
1082
1084
|
}
|
|
1083
1085
|
|
|
1084
1086
|
.component-content {
|
|
@@ -1087,6 +1089,7 @@ E.styles = N`
|
|
|
1087
1089
|
gap: 12px;
|
|
1088
1090
|
width: 100%;
|
|
1089
1091
|
max-width: 960px;
|
|
1092
|
+
margin: 0 auto;
|
|
1090
1093
|
}
|
|
1091
1094
|
|
|
1092
1095
|
.header-section {
|
|
@@ -1110,12 +1113,14 @@ E.styles = N`
|
|
|
1110
1113
|
|
|
1111
1114
|
.main-section {
|
|
1112
1115
|
display: flex;
|
|
1113
|
-
flex-direction: row;
|
|
1116
|
+
flex-direction: row;
|
|
1114
1117
|
gap: 24px;
|
|
1118
|
+
flex-wrap: wrap; /* Evita overflow de elementos */
|
|
1119
|
+
justify-content: center;
|
|
1115
1120
|
}
|
|
1116
1121
|
|
|
1117
1122
|
.images-section {
|
|
1118
|
-
flex: 1;
|
|
1123
|
+
flex: 1 1 200px; /* flex-grow, flex-shrink, flex-basis */
|
|
1119
1124
|
display: flex;
|
|
1120
1125
|
justify-content: center;
|
|
1121
1126
|
align-items: center;
|
|
@@ -1125,54 +1130,52 @@ E.styles = N`
|
|
|
1125
1130
|
width: 100%;
|
|
1126
1131
|
max-width: 400px;
|
|
1127
1132
|
height: auto;
|
|
1133
|
+
flex-shrink: 0; /* Evita sumir no Safari */
|
|
1128
1134
|
}
|
|
1129
1135
|
|
|
1130
1136
|
.tips-section {
|
|
1131
|
-
flex: 1;
|
|
1137
|
+
flex: 1 1 200px;
|
|
1132
1138
|
display: flex;
|
|
1133
1139
|
flex-direction: column;
|
|
1134
1140
|
gap: 8px;
|
|
1141
|
+
}
|
|
1135
1142
|
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
label {
|
|
1145
|
-
font-size: 16px;
|
|
1146
|
-
color: #333;
|
|
1147
|
-
text-align: start;
|
|
1148
|
-
}
|
|
1143
|
+
.tips-section form {
|
|
1144
|
+
display: flex;
|
|
1145
|
+
flex-direction: column;
|
|
1146
|
+
align-items: flex-start;
|
|
1147
|
+
gap: 16px;
|
|
1148
|
+
width: 100%;
|
|
1149
|
+
}
|
|
1149
1150
|
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
font-size: 16px;
|
|
1155
|
-
border: 1px solid #ccc;
|
|
1156
|
-
border-radius: 6px;
|
|
1157
|
-
box-sizing: border-box;
|
|
1158
|
-
font-family: "Lato", sans-serif;
|
|
1159
|
-
text-align: start;
|
|
1160
|
-
}
|
|
1151
|
+
.tips-section label {
|
|
1152
|
+
font-size: 16px;
|
|
1153
|
+
color: #333;
|
|
1154
|
+
}
|
|
1161
1155
|
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1156
|
+
.tips-section input {
|
|
1157
|
+
width: 100%;
|
|
1158
|
+
max-width: 150px;
|
|
1159
|
+
padding: 12px;
|
|
1160
|
+
font-size: 16px;
|
|
1161
|
+
border: 1px solid #ccc;
|
|
1162
|
+
border-radius: 6px;
|
|
1163
|
+
box-sizing: border-box;
|
|
1166
1164
|
}
|
|
1167
1165
|
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
justify-content: center;
|
|
1173
|
-
align-items: center;
|
|
1166
|
+
.tips-section input:focus {
|
|
1167
|
+
outline: 2px solid var(--brand-primary);
|
|
1168
|
+
outline-offset: 2px;
|
|
1169
|
+
}
|
|
1174
1170
|
|
|
1175
|
-
|
|
1171
|
+
.xact-button {
|
|
1172
|
+
width: 100%;
|
|
1173
|
+
max-width: 150px;
|
|
1174
|
+
display: flex;
|
|
1175
|
+
justify-content: center;
|
|
1176
|
+
align-items: center;
|
|
1177
|
+
flex-shrink: 0; /* Evita sumir no Safari */
|
|
1178
|
+
}
|
|
1176
1179
|
|
|
1177
1180
|
.tip-item {
|
|
1178
1181
|
margin-bottom: 4px;
|
|
@@ -1201,11 +1204,11 @@ E.styles = N`
|
|
|
1201
1204
|
margin: 0 auto;
|
|
1202
1205
|
}
|
|
1203
1206
|
|
|
1204
|
-
|
|
1207
|
+
/* Responsividade para mobile */
|
|
1205
1208
|
@media (max-width: 754px) {
|
|
1206
1209
|
.main-section {
|
|
1207
1210
|
flex-direction: column;
|
|
1208
|
-
gap:
|
|
1211
|
+
gap: 8px;
|
|
1209
1212
|
align-items: center;
|
|
1210
1213
|
}
|
|
1211
1214
|
|
|
@@ -1215,30 +1218,28 @@ E.styles = N`
|
|
|
1215
1218
|
}
|
|
1216
1219
|
|
|
1217
1220
|
.images-section svg {
|
|
1218
|
-
width: 80%;
|
|
1219
|
-
max-width: 180px;
|
|
1220
|
-
height: auto;
|
|
1221
|
+
width: 80%;
|
|
1222
|
+
max-width: 180px;
|
|
1221
1223
|
}
|
|
1222
1224
|
|
|
1223
1225
|
.tips-section {
|
|
1224
1226
|
width: 100%;
|
|
1225
1227
|
gap: 6px;
|
|
1226
|
-
align-items: flex-start;
|
|
1228
|
+
align-items: flex-start;
|
|
1227
1229
|
}
|
|
1228
1230
|
|
|
1229
|
-
form {
|
|
1230
|
-
align-items: flex-start; /* alinhar labels e inputs à esquerda */
|
|
1231
|
+
.tips-section form {
|
|
1231
1232
|
width: 100%;
|
|
1233
|
+
align-items: flex-start;
|
|
1232
1234
|
}
|
|
1233
1235
|
|
|
1234
|
-
input {
|
|
1236
|
+
.tips-section input {
|
|
1235
1237
|
max-width: 100%;
|
|
1236
1238
|
font-size: 14px;
|
|
1237
1239
|
padding: 10px;
|
|
1238
1240
|
}
|
|
1239
1241
|
|
|
1240
|
-
label {
|
|
1241
|
-
text-align: left;
|
|
1242
|
+
.tips-section label {
|
|
1242
1243
|
font-size: 14px;
|
|
1243
1244
|
}
|
|
1244
1245
|
|
|
@@ -1258,23 +1259,17 @@ E.styles = N`
|
|
|
1258
1259
|
|
|
1259
1260
|
.tip-title {
|
|
1260
1261
|
font-size: 12px;
|
|
1261
|
-
text-align: left;
|
|
1262
1262
|
}
|
|
1263
1263
|
|
|
1264
1264
|
.tip-text {
|
|
1265
1265
|
font-size: 11px;
|
|
1266
|
-
|
|
1267
|
-
margin-left: 0; /* remove centralização */
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
.tip-item {
|
|
1271
|
-
margin-bottom: 6px;
|
|
1266
|
+
margin-left: 0;
|
|
1272
1267
|
}
|
|
1273
1268
|
|
|
1274
1269
|
.buttons {
|
|
1275
|
-
gap: 8px;
|
|
1276
1270
|
width: 100%;
|
|
1277
1271
|
max-width: 100%;
|
|
1272
|
+
gap: 8px;
|
|
1278
1273
|
margin-top: 12px;
|
|
1279
1274
|
}
|
|
1280
1275
|
}
|
|
@@ -1305,10 +1300,6 @@ E.styles = N`
|
|
|
1305
1300
|
font-size: 10px;
|
|
1306
1301
|
}
|
|
1307
1302
|
|
|
1308
|
-
.tip-item {
|
|
1309
|
-
margin-bottom: 4px;
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
1303
|
.xact-button {
|
|
1313
1304
|
padding: 8px;
|
|
1314
1305
|
}
|
|
@@ -1318,7 +1309,6 @@ E.styles = N`
|
|
|
1318
1309
|
}
|
|
1319
1310
|
}
|
|
1320
1311
|
|
|
1321
|
-
|
|
1322
1312
|
|
|
1323
1313
|
`;
|
|
1324
1314
|
kA([
|
|
@@ -267,14 +267,16 @@ label="${V("Let's go!")}"
|
|
|
267
267
|
></xact-button>
|
|
268
268
|
|
|
269
269
|
`}};Y.styles=m`
|
|
270
|
-
|
|
270
|
+
:host {
|
|
271
271
|
display: flex;
|
|
272
|
-
|
|
273
|
-
|
|
272
|
+
flex-direction: column; /* Força coluna para evitar problemas de flex-start */
|
|
273
|
+
justify-content: flex-start;
|
|
274
|
+
align-items: stretch; /* Evita que filhos desapareçam no Safari */
|
|
274
275
|
font-family: "Lato", sans-serif;
|
|
275
276
|
box-sizing: border-box;
|
|
276
|
-
padding: 16px;
|
|
277
|
+
padding: 16px;
|
|
277
278
|
width: 100%;
|
|
279
|
+
min-height: 100vh; /* Garante que o conteúdo caiba */
|
|
278
280
|
}
|
|
279
281
|
|
|
280
282
|
.component-content {
|
|
@@ -283,6 +285,7 @@ label="${V("Let's go!")}"
|
|
|
283
285
|
gap: 12px;
|
|
284
286
|
width: 100%;
|
|
285
287
|
max-width: 960px;
|
|
288
|
+
margin: 0 auto;
|
|
286
289
|
}
|
|
287
290
|
|
|
288
291
|
.header-section {
|
|
@@ -306,12 +309,14 @@ label="${V("Let's go!")}"
|
|
|
306
309
|
|
|
307
310
|
.main-section {
|
|
308
311
|
display: flex;
|
|
309
|
-
flex-direction: row;
|
|
312
|
+
flex-direction: row;
|
|
310
313
|
gap: 24px;
|
|
314
|
+
flex-wrap: wrap; /* Evita overflow de elementos */
|
|
315
|
+
justify-content: center;
|
|
311
316
|
}
|
|
312
317
|
|
|
313
318
|
.images-section {
|
|
314
|
-
flex: 1;
|
|
319
|
+
flex: 1 1 200px; /* flex-grow, flex-shrink, flex-basis */
|
|
315
320
|
display: flex;
|
|
316
321
|
justify-content: center;
|
|
317
322
|
align-items: center;
|
|
@@ -321,54 +326,52 @@ label="${V("Let's go!")}"
|
|
|
321
326
|
width: 100%;
|
|
322
327
|
max-width: 400px;
|
|
323
328
|
height: auto;
|
|
329
|
+
flex-shrink: 0; /* Evita sumir no Safari */
|
|
324
330
|
}
|
|
325
331
|
|
|
326
332
|
.tips-section {
|
|
327
|
-
flex: 1;
|
|
333
|
+
flex: 1 1 200px;
|
|
328
334
|
display: flex;
|
|
329
335
|
flex-direction: column;
|
|
330
336
|
gap: 8px;
|
|
337
|
+
}
|
|
331
338
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
label {
|
|
341
|
-
font-size: 16px;
|
|
342
|
-
color: #333;
|
|
343
|
-
text-align: start;
|
|
344
|
-
}
|
|
339
|
+
.tips-section form {
|
|
340
|
+
display: flex;
|
|
341
|
+
flex-direction: column;
|
|
342
|
+
align-items: flex-start;
|
|
343
|
+
gap: 16px;
|
|
344
|
+
width: 100%;
|
|
345
|
+
}
|
|
345
346
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
font-size: 16px;
|
|
351
|
-
border: 1px solid #ccc;
|
|
352
|
-
border-radius: 6px;
|
|
353
|
-
box-sizing: border-box;
|
|
354
|
-
font-family: "Lato", sans-serif;
|
|
355
|
-
text-align: start;
|
|
356
|
-
}
|
|
347
|
+
.tips-section label {
|
|
348
|
+
font-size: 16px;
|
|
349
|
+
color: #333;
|
|
350
|
+
}
|
|
357
351
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
352
|
+
.tips-section input {
|
|
353
|
+
width: 100%;
|
|
354
|
+
max-width: 150px;
|
|
355
|
+
padding: 12px;
|
|
356
|
+
font-size: 16px;
|
|
357
|
+
border: 1px solid #ccc;
|
|
358
|
+
border-radius: 6px;
|
|
359
|
+
box-sizing: border-box;
|
|
362
360
|
}
|
|
363
361
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
justify-content: center;
|
|
369
|
-
align-items: center;
|
|
362
|
+
.tips-section input:focus {
|
|
363
|
+
outline: 2px solid var(--brand-primary);
|
|
364
|
+
outline-offset: 2px;
|
|
365
|
+
}
|
|
370
366
|
|
|
371
|
-
|
|
367
|
+
.xact-button {
|
|
368
|
+
width: 100%;
|
|
369
|
+
max-width: 150px;
|
|
370
|
+
display: flex;
|
|
371
|
+
justify-content: center;
|
|
372
|
+
align-items: center;
|
|
373
|
+
flex-shrink: 0; /* Evita sumir no Safari */
|
|
374
|
+
}
|
|
372
375
|
|
|
373
376
|
.tip-item {
|
|
374
377
|
margin-bottom: 4px;
|
|
@@ -397,11 +400,11 @@ label="${V("Let's go!")}"
|
|
|
397
400
|
margin: 0 auto;
|
|
398
401
|
}
|
|
399
402
|
|
|
400
|
-
|
|
403
|
+
/* Responsividade para mobile */
|
|
401
404
|
@media (max-width: 754px) {
|
|
402
405
|
.main-section {
|
|
403
406
|
flex-direction: column;
|
|
404
|
-
gap:
|
|
407
|
+
gap: 8px;
|
|
405
408
|
align-items: center;
|
|
406
409
|
}
|
|
407
410
|
|
|
@@ -411,30 +414,28 @@ label="${V("Let's go!")}"
|
|
|
411
414
|
}
|
|
412
415
|
|
|
413
416
|
.images-section svg {
|
|
414
|
-
width: 80%;
|
|
415
|
-
max-width: 180px;
|
|
416
|
-
height: auto;
|
|
417
|
+
width: 80%;
|
|
418
|
+
max-width: 180px;
|
|
417
419
|
}
|
|
418
420
|
|
|
419
421
|
.tips-section {
|
|
420
422
|
width: 100%;
|
|
421
423
|
gap: 6px;
|
|
422
|
-
align-items: flex-start;
|
|
424
|
+
align-items: flex-start;
|
|
423
425
|
}
|
|
424
426
|
|
|
425
|
-
form {
|
|
426
|
-
align-items: flex-start; /* alinhar labels e inputs à esquerda */
|
|
427
|
+
.tips-section form {
|
|
427
428
|
width: 100%;
|
|
429
|
+
align-items: flex-start;
|
|
428
430
|
}
|
|
429
431
|
|
|
430
|
-
input {
|
|
432
|
+
.tips-section input {
|
|
431
433
|
max-width: 100%;
|
|
432
434
|
font-size: 14px;
|
|
433
435
|
padding: 10px;
|
|
434
436
|
}
|
|
435
437
|
|
|
436
|
-
label {
|
|
437
|
-
text-align: left;
|
|
438
|
+
.tips-section label {
|
|
438
439
|
font-size: 14px;
|
|
439
440
|
}
|
|
440
441
|
|
|
@@ -454,23 +455,17 @@ label="${V("Let's go!")}"
|
|
|
454
455
|
|
|
455
456
|
.tip-title {
|
|
456
457
|
font-size: 12px;
|
|
457
|
-
text-align: left;
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
.tip-text {
|
|
461
461
|
font-size: 11px;
|
|
462
|
-
|
|
463
|
-
margin-left: 0; /* remove centralização */
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
.tip-item {
|
|
467
|
-
margin-bottom: 6px;
|
|
462
|
+
margin-left: 0;
|
|
468
463
|
}
|
|
469
464
|
|
|
470
465
|
.buttons {
|
|
471
|
-
gap: 8px;
|
|
472
466
|
width: 100%;
|
|
473
467
|
max-width: 100%;
|
|
468
|
+
gap: 8px;
|
|
474
469
|
margin-top: 12px;
|
|
475
470
|
}
|
|
476
471
|
}
|
|
@@ -501,10 +496,6 @@ label="${V("Let's go!")}"
|
|
|
501
496
|
font-size: 10px;
|
|
502
497
|
}
|
|
503
498
|
|
|
504
|
-
.tip-item {
|
|
505
|
-
margin-bottom: 4px;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
499
|
.xact-button {
|
|
509
500
|
padding: 8px;
|
|
510
501
|
}
|
|
@@ -514,7 +505,6 @@ label="${V("Let's go!")}"
|
|
|
514
505
|
}
|
|
515
506
|
}
|
|
516
507
|
|
|
517
|
-
|
|
518
508
|
|
|
519
509
|
`,kA([c({type:Number})],Y.prototype,"height",2),kA([c({type:Function})],Y.prototype,"onStartMeasurement",2),Y=kA([R("xact-step-one"),w()],Y);var Rt=Object.getOwnPropertyDescriptor,Ht=(r,A,t,l)=>{for(var e=l>1?void 0:l?Rt(A,t):A,p=r.length-1,n;p>=0;p--)(n=r[p])&&(e=n(e)||e);return e};let TA=class extends X{render(){return J`
|
|
520
510
|
<footer class="modal-footer">
|
package/package.json
CHANGED