optimized-react-component-library-xyz123 0.1.69 → 0.1.71

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/index.js CHANGED
@@ -897,11 +897,11 @@ var ExploreFiles = ({
897
897
  showErrors && questionObject.error ? "filePickButton error" : ""
898
898
  ),
899
899
  "aria-describedby": `${aboutId} ${questionObject.hasValidationError ? errorId : ""}`.trim(),
900
- "aria-label": `${activatedLanguage === "sv" ? "Knap aria-label V\xE4lj fil" : "Choose file"} ${addFilesInfoText}`,
900
+ "aria-label": `${activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"} ${addFilesInfoText}`,
901
901
  children: activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"
902
902
  }
903
903
  ),
904
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { "aria-hidden": true, className: "filePickText", children: addFilesInfoText + "span aria-hidden=true" })
904
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { "aria-hidden": true, className: "filePickText", children: addFilesInfoText })
905
905
  ]
906
906
  }
907
907
  ),
@@ -1766,7 +1766,7 @@ var EditPreviewLink = ({
1766
1766
  href: "#",
1767
1767
  onClick: (e) => {
1768
1768
  e.preventDefault();
1769
- changeStepHandler(step);
1769
+ changeStepHandler(step.step);
1770
1770
  },
1771
1771
  children: [
1772
1772
  /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
package/dist/index.mjs CHANGED
@@ -832,11 +832,11 @@ var ExploreFiles = ({
832
832
  showErrors && questionObject.error ? "filePickButton error" : ""
833
833
  ),
834
834
  "aria-describedby": `${aboutId} ${questionObject.hasValidationError ? errorId : ""}`.trim(),
835
- "aria-label": `${activatedLanguage === "sv" ? "Knap aria-label V\xE4lj fil" : "Choose file"} ${addFilesInfoText}`,
835
+ "aria-label": `${activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"} ${addFilesInfoText}`,
836
836
  children: activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"
837
837
  }
838
838
  ),
839
- /* @__PURE__ */ jsx8("span", { "aria-hidden": true, className: "filePickText", children: addFilesInfoText + "span aria-hidden=true" })
839
+ /* @__PURE__ */ jsx8("span", { "aria-hidden": true, className: "filePickText", children: addFilesInfoText })
840
840
  ]
841
841
  }
842
842
  ),
@@ -1701,7 +1701,7 @@ var EditPreviewLink = ({
1701
1701
  href: "#",
1702
1702
  onClick: (e) => {
1703
1703
  e.preventDefault();
1704
- changeStepHandler(step);
1704
+ changeStepHandler(step.step);
1705
1705
  },
1706
1706
  children: [
1707
1707
  /* @__PURE__ */ jsx14(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optimized-react-component-library-xyz123",
3
- "version": "0.1.69",
3
+ "version": "0.1.71",
4
4
  "description": "A modern React component library using TypeScript with React 19 support.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -883,3 +883,1058 @@ dd {
883
883
  .errorSummary-text {
884
884
  color: #8e0039;
885
885
  }
886
+
887
+ /* ---------- FILE UPLOAD ---------- */
888
+ .files-upload {
889
+ width: 100%;
890
+ max-width: 800px;
891
+ margin: 0 auto;
892
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
893
+ }
894
+
895
+ /* Drop Zone */
896
+ .files-drop-zone {
897
+ border: 2px dashed #6e3282;
898
+ border-radius: 12px;
899
+ padding: 3rem 2rem;
900
+ text-align: center;
901
+ transition: all 0.3s ease;
902
+ background-color: #fafafa;
903
+ cursor: pointer;
904
+ position: relative;
905
+ overflow: hidden;
906
+ }
907
+
908
+ .files-drop-zone:hover {
909
+ border-color: #6e3282;
910
+ background-color: #f5ebf8;
911
+ transform: translateY(-2px);
912
+ box-shadow: 0 4px 12px rgba(220, 148, 253, 0.15);
913
+ }
914
+
915
+ .files-drop-zone.drag-active {
916
+ border-color: #6e3282;
917
+ background-color: #f5ebf8;
918
+ transform: scale(1.02);
919
+ box-shadow: 0 8px 25px rgba(30, 167, 253, 0.2);
920
+ }
921
+
922
+ .files-drop-zone:focus {
923
+ /* border-color: #6e3282;
924
+ background-color: #f5ebf8;
925
+ transform: translateY(-2px);
926
+ box-shadow: 0 4px 12px rgba(220, 148, 253, 0.15);
927
+ transform: translateY(-3px);
928
+
929
+ animation: focusPulse 1s ease-in-out infinite;
930
+ box-shadow: inset 0 0 0 4px #6e3282;
931
+
932
+ border: none; */
933
+ border: 0.2rem solid #6e3282;
934
+ }
935
+
936
+ .files-drop-zone:focus-visible {
937
+ outline-offset: 0 !important;
938
+ outline-style: solid !important;
939
+ outline-color: #fff !important;
940
+ outline-width: 2px !important;
941
+ box-shadow: 0 0 0 4px #000 !important;
942
+ }
943
+
944
+ .files-drop-content {
945
+ pointer-events: none;
946
+ }
947
+
948
+ .files-icon {
949
+ font-size: 4rem;
950
+ margin-bottom: 1rem;
951
+ opacity: 0.7;
952
+ animation: float 3s ease-in-out infinite;
953
+ }
954
+
955
+ @keyframes float {
956
+ 0%,
957
+ 100% {
958
+ transform: translateY(0px);
959
+ }
960
+ 50% {
961
+ transform: translateY(-10px);
962
+ }
963
+ }
964
+
965
+ .files-drop-text {
966
+ font-size: 1.2rem;
967
+ margin-bottom: 0.5rem;
968
+ color: #333;
969
+ font-weight: 500;
970
+ }
971
+
972
+ .files-drop-info {
973
+ font-size: 0.9rem;
974
+ color: #666;
975
+ margin: 0;
976
+ }
977
+
978
+ .files-allowed-types {
979
+ font-size: 0.85rem;
980
+ color: #555;
981
+ margin: 0.75rem 0 0 0;
982
+ padding: 0.5rem;
983
+ background-color: rgba(146, 64, 252, 0.1);
984
+ border-radius: 6px;
985
+ border-left: 3px solid #ce95e0;
986
+ }
987
+
988
+ .files-allowed-types strong {
989
+ color: #6e3282;
990
+ }
991
+
992
+ .files-input-hidden {
993
+ display: none;
994
+ }
995
+
996
+ /* Summary */
997
+ .files-summary {
998
+ margin: 1.5rem 0;
999
+ padding: 1rem;
1000
+ background-color: #f8f9fa;
1001
+ border-radius: 8px;
1002
+ border: 1px solid #e9ecef;
1003
+ }
1004
+
1005
+ .files-summary-stats {
1006
+ display: flex;
1007
+ gap: 1rem;
1008
+ margin-bottom: 1rem;
1009
+ flex-wrap: wrap;
1010
+ }
1011
+
1012
+ .stat {
1013
+ padding: 0.5rem 1rem;
1014
+ border-radius: 20px;
1015
+ background-color: #e9ecef;
1016
+ font-size: 0.9rem;
1017
+ display: flex;
1018
+ align-items: center;
1019
+ gap: 0.5rem;
1020
+ }
1021
+
1022
+ .stat.pending {
1023
+ background-color: #fff3cd;
1024
+ color: #856404;
1025
+ }
1026
+
1027
+ .stat.completed {
1028
+ background-color: #d1e7dd;
1029
+ color: #0a3622;
1030
+ }
1031
+
1032
+ .stat.error {
1033
+ background-color: #f8d7da;
1034
+ color: #721c24;
1035
+ }
1036
+
1037
+ .files-summary-actions {
1038
+ display: flex;
1039
+ gap: 0.5rem;
1040
+ flex-wrap: wrap;
1041
+ }
1042
+
1043
+ .action-button {
1044
+ padding: 0.75rem 1.5rem;
1045
+ border: none;
1046
+ border-radius: 6px;
1047
+ cursor: pointer;
1048
+ font-weight: 500;
1049
+ transition: all 0.2s ease;
1050
+ display: flex;
1051
+ align-items: center;
1052
+ gap: 0.5rem;
1053
+ }
1054
+
1055
+ .action-button.primary {
1056
+ background-color: #1ea7fd;
1057
+ color: white;
1058
+ }
1059
+
1060
+ .action-button.primary:hover {
1061
+ background-color: #1890ff;
1062
+ transform: translateY(-1px);
1063
+ }
1064
+
1065
+ .action-button.secondary {
1066
+ background-color: #6c757d;
1067
+ color: white;
1068
+ }
1069
+
1070
+ .action-button.secondary:hover {
1071
+ background-color: #5a6268;
1072
+ transform: translateY(-1px);
1073
+ }
1074
+
1075
+ /* Files List */
1076
+ .files-list {
1077
+ margin-top: 1.5rem;
1078
+ }
1079
+
1080
+ .files-list h4 {
1081
+ margin-bottom: 1rem;
1082
+ color: #333;
1083
+ font-size: 1.1rem;
1084
+ font-weight: 600;
1085
+ }
1086
+
1087
+ .files-items {
1088
+ list-style: none;
1089
+ padding: 0;
1090
+ margin: 0;
1091
+ }
1092
+
1093
+ .file-item {
1094
+ display: flex;
1095
+ align-items: center;
1096
+ gap: 1rem;
1097
+ padding: 1rem;
1098
+ border: 1px solid #e9ecef;
1099
+ border-radius: 8px;
1100
+ margin-bottom: 0.75rem;
1101
+ background-color: white;
1102
+ transition: all 0.2s ease;
1103
+ position: relative;
1104
+ }
1105
+
1106
+ .file-item:hover {
1107
+ background-color: #f8f9fa;
1108
+ border-color: #dee2e6;
1109
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
1110
+ }
1111
+
1112
+ .file-item.uploading {
1113
+ background-color: #e6f7ff;
1114
+ border-color: #91d5ff;
1115
+ }
1116
+
1117
+ .file-item.completed {
1118
+ background-color: #f6ffed;
1119
+ border-color: #b7eb8f;
1120
+ }
1121
+
1122
+ .file-item.error {
1123
+ background-color: #fff2f0;
1124
+ border-color: #ffccc7;
1125
+ }
1126
+
1127
+ .file-icon-status {
1128
+ font-size: 1.5rem;
1129
+ min-width: 2rem;
1130
+ text-align: center;
1131
+ }
1132
+
1133
+ .file-info {
1134
+ flex: 1;
1135
+ min-width: 0;
1136
+ }
1137
+
1138
+ .file-name {
1139
+ font-weight: 500;
1140
+ color: #333;
1141
+ margin-bottom: 0.5rem;
1142
+ word-break: break-word;
1143
+ }
1144
+
1145
+ .file-details {
1146
+ display: flex;
1147
+ gap: 1rem;
1148
+ font-size: 0.85rem;
1149
+ color: #666;
1150
+ flex-wrap: wrap;
1151
+ }
1152
+
1153
+ .file-size {
1154
+ color: #666;
1155
+ }
1156
+
1157
+ .file-status {
1158
+ color: #1ea7fd;
1159
+ font-weight: 500;
1160
+ }
1161
+
1162
+ .file-error {
1163
+ color: #dc3545;
1164
+ font-weight: 500;
1165
+ }
1166
+
1167
+ .progress-bar {
1168
+ width: 100%;
1169
+ height: 4px;
1170
+ background-color: #e9ecef;
1171
+ border-radius: 2px;
1172
+ margin-top: 0.5rem;
1173
+ overflow: hidden;
1174
+ }
1175
+
1176
+ .progress-fill {
1177
+ height: 100%;
1178
+ background-color: #1ea7fd;
1179
+ transition: width 0.3s ease;
1180
+ border-radius: 2px;
1181
+ }
1182
+
1183
+ .file-actions {
1184
+ display: flex;
1185
+ gap: 0.5rem;
1186
+ }
1187
+
1188
+ .action-btn {
1189
+ background: none;
1190
+ border: 1px solid transparent;
1191
+ padding: 0.5rem;
1192
+ border-radius: 6px;
1193
+ cursor: pointer;
1194
+ font-size: 1rem;
1195
+ transition: all 0.2s ease;
1196
+ min-width: 2.5rem;
1197
+ height: 2.5rem;
1198
+ display: flex;
1199
+ align-items: center;
1200
+ justify-content: center;
1201
+ }
1202
+
1203
+ .action-btn.upload {
1204
+ color: #1ea7fd;
1205
+ border-color: #1ea7fd;
1206
+ }
1207
+
1208
+ .action-btn.upload:hover {
1209
+ background-color: #1ea7fd;
1210
+ color: white;
1211
+ }
1212
+
1213
+ .action-btn.retry {
1214
+ color: #fd7e14;
1215
+ border-color: #fd7e14;
1216
+ }
1217
+
1218
+ .action-btn.retry:hover {
1219
+ background-color: #fd7e14;
1220
+ color: white;
1221
+ }
1222
+
1223
+ .action-btn.remove {
1224
+ color: #6e3282;
1225
+ border-color: #6e3282;
1226
+ }
1227
+
1228
+ .action-btn.remove:hover {
1229
+ background-color: #6e3282;
1230
+ color: white;
1231
+ }
1232
+
1233
+ /* Responsive Design */
1234
+ @media (max-width: 768px) {
1235
+ .files-drop-zone {
1236
+ padding: 2rem 1rem;
1237
+ }
1238
+
1239
+ .files-icon {
1240
+ font-size: 3rem;
1241
+ }
1242
+
1243
+ .files-drop-text {
1244
+ font-size: 1rem;
1245
+ }
1246
+
1247
+ .files-summary-stats {
1248
+ flex-direction: column;
1249
+ gap: 0.5rem;
1250
+ }
1251
+
1252
+ .files-summary-actions {
1253
+ flex-direction: column;
1254
+ }
1255
+
1256
+ .action-button {
1257
+ justify-content: center;
1258
+ }
1259
+
1260
+ .file-item {
1261
+ flex-direction: column;
1262
+ align-items: flex-start;
1263
+ gap: 0.75rem;
1264
+ }
1265
+
1266
+ .file-details {
1267
+ flex-direction: column;
1268
+ gap: 0.25rem;
1269
+ }
1270
+
1271
+ .file-actions {
1272
+ align-self: flex-end;
1273
+ }
1274
+ }
1275
+
1276
+ @media (max-width: 480px) {
1277
+ .files-upload {
1278
+ padding: 0 0.5rem;
1279
+ }
1280
+
1281
+ .files-drop-zone {
1282
+ padding: 1.5rem 1rem;
1283
+ }
1284
+
1285
+ .file-item {
1286
+ padding: 0.75rem;
1287
+ }
1288
+ }
1289
+
1290
+ /* ---------- END FILE UPLOAD ---------- */
1291
+
1292
+ /* ---------- ADD FILES ---------- */
1293
+
1294
+ /* ExploreFiles.tsx */
1295
+
1296
+ .invisible {
1297
+ display: none;
1298
+ width: 1px;
1299
+ }
1300
+
1301
+ .filePickLabel {
1302
+ display: flex;
1303
+ align-items: center;
1304
+ justify-content: flex-start;
1305
+ width: 100%;
1306
+ margin: 0;
1307
+ padding: 0;
1308
+ height: 48px;
1309
+ border: 1px solid #747474;
1310
+ border-radius: var(--bs-border-radius);
1311
+ }
1312
+ .filePickLabel:focus {
1313
+ border: #000000 2px solid;
1314
+ box-shadow: none;
1315
+ }
1316
+ .filePickLabel .filePickButton {
1317
+ cursor: pointer;
1318
+ padding: 16px;
1319
+ height: 100%;
1320
+ background: #747474;
1321
+
1322
+ border-top-left-radius: 4px;
1323
+ border-bottom-left-radius: 4px;
1324
+
1325
+ display: flex;
1326
+ /* padding: 0px 16px; */
1327
+ align-items: center;
1328
+ flex-direction: column;
1329
+ justify-content: center;
1330
+ align-self: stretch;
1331
+ color: #ffff;
1332
+
1333
+ /* Body/B2 (Main) Regular */
1334
+ font-family: Arial;
1335
+ font-size: 16px;
1336
+ font-style: normal;
1337
+ font-weight: 400;
1338
+ line-height: 24px; /* 150% */
1339
+ }
1340
+
1341
+ .filePickButton {
1342
+ width: auto !important;
1343
+ border: none;
1344
+ margin-left: 0px !important;
1345
+ }
1346
+
1347
+ .filePickButton.error {
1348
+ background: #8e0039 !important;
1349
+ color: #fff !important;
1350
+ }
1351
+ @media (max-width: 990px) {
1352
+ .filePickLabel .filePickButton {
1353
+ font-size: 14px;
1354
+ line-height: 14px;
1355
+ text-align: center;
1356
+ }
1357
+ }
1358
+
1359
+ .filePickLabel .filePickText {
1360
+ padding-left: 16px;
1361
+ color: #000;
1362
+
1363
+ font-family: Arial;
1364
+ font-size: 16px;
1365
+ font-style: normal;
1366
+ font-weight: 400;
1367
+ line-height: 24px;
1368
+ }
1369
+
1370
+ .inputContainer {
1371
+ display: flex;
1372
+ align-items: center;
1373
+ justify-content: center;
1374
+ width: 100%;
1375
+ height: 100%;
1376
+ }
1377
+
1378
+ @media (max-width: 768px) {
1379
+ .inputContainer {
1380
+ margin-bottom: 16px;
1381
+ }
1382
+ }
1383
+
1384
+ .inputContainer button {
1385
+ margin: 0;
1386
+ /* padding: 0; */
1387
+ padding: 8px 24px;
1388
+ margin-left: 16px;
1389
+ height: 50px;
1390
+ width: 200px;
1391
+ }
1392
+
1393
+ .inputContainer input[type='text'] {
1394
+ font-size: 16px;
1395
+ }
1396
+
1397
+ .custom-file-button input[type='file'] {
1398
+ margin-left: -2px !important;
1399
+ }
1400
+
1401
+ .custom-file-button input[type='file']::-webkit-file-upload-button {
1402
+ display: none;
1403
+ }
1404
+
1405
+ .custom-file-button input[type='file']::file-selector-button {
1406
+ display: none;
1407
+ }
1408
+
1409
+ .custom-file-button:hover label {
1410
+ background-color: #dde0e3;
1411
+ cursor: pointer;
1412
+ }
1413
+
1414
+ /* DropFiles.tsx */
1415
+
1416
+ @media (max-width: 768px) {
1417
+ .DropZoneContainer {
1418
+ display: none;
1419
+ }
1420
+ }
1421
+
1422
+ .DropZone {
1423
+ color: #000;
1424
+ margin-top: 20px;
1425
+ margin-bottom: 16px;
1426
+
1427
+ /* Body/B1 Regular */
1428
+ font-family: Arial;
1429
+ font-size: 20px;
1430
+ font-style: normal;
1431
+ font-weight: 400;
1432
+ line-height: 24px; /* 120% */
1433
+
1434
+ display: inline-flex;
1435
+ width: 100%;
1436
+ height: 180px;
1437
+ position: relative;
1438
+ clip-path: inset(0 round 8px 8px 8px 8px);
1439
+
1440
+ background: var(--neutral-350, #f7f7f7);
1441
+
1442
+ align-items: center;
1443
+ justify-content: center;
1444
+ text-align: center;
1445
+ gap: 10px;
1446
+ flex-direction: column;
1447
+ cursor: pointer;
1448
+ }
1449
+
1450
+ .DropZone::before {
1451
+ content: '';
1452
+ position: absolute;
1453
+ left: -7px;
1454
+ top: -7px;
1455
+ right: -7px;
1456
+ bottom: -7px;
1457
+ border: 9px dashed rgba(0, 0, 0, 0.6);
1458
+ border-radius: 15px 15px 15px 15px;
1459
+ box-sizing: border-box;
1460
+ }
1461
+
1462
+ .DropZone:hover {
1463
+ background: var(--neutral-350, #f7f7f7);
1464
+ opacity: 0.9;
1465
+ cursor: copy;
1466
+ }
1467
+ .ClipboardLink {
1468
+ display: block;
1469
+ position: relative;
1470
+ z-index: 2000;
1471
+ cursor: pointer;
1472
+ font-size: '12px';
1473
+ text-decoration: 'underline';
1474
+ color: black;
1475
+ }
1476
+ .ClipboardLink:hover {
1477
+ cursor: pointer;
1478
+ }
1479
+
1480
+ /* SelectedFiles.tsx */
1481
+
1482
+ .makeTopSpace {
1483
+ margin-top: 12px;
1484
+ }
1485
+ /* @media (max-width: 768px) {
1486
+ .makeTopSpace {
1487
+ margin-top: 0px;
1488
+ }
1489
+ } */
1490
+
1491
+ .UploadedFile {
1492
+ margin-top: 24px;
1493
+ }
1494
+ /* @media (max-width: 768px) {
1495
+ .UploadedFile {
1496
+ margin-top: 24px;
1497
+ }
1498
+ } */
1499
+ .uploadFileRow {
1500
+ max-width: 555px;
1501
+ }
1502
+ @media (max-width: 768px) {
1503
+ .uploadFileRow {
1504
+ margin-left: 0px;
1505
+ }
1506
+ }
1507
+ .uploadedFileName {
1508
+ /* margin-left: 8px; */
1509
+ color: #000000;
1510
+ position: relative;
1511
+ border: 0px solid red;
1512
+ width: 76%;
1513
+ /* max-width: 430px; */
1514
+ top: -21px;
1515
+ left: 24px;
1516
+ }
1517
+
1518
+ .desktopFileName {
1519
+ display: block;
1520
+ }
1521
+ .mobileFirstFileName {
1522
+ display: block;
1523
+ }
1524
+
1525
+ .uploadedDot.mobileVersion {
1526
+ display: none;
1527
+ }
1528
+
1529
+ @media (max-width: 768px) {
1530
+ svg.uploadFileIcon {
1531
+ display: none;
1532
+ }
1533
+ .uploadedDot.mobileVersion {
1534
+ display: flex;
1535
+ }
1536
+ }
1537
+
1538
+ .lastCol {
1539
+ display: flex;
1540
+ justify-content: flex-end;
1541
+ max-width: 62px;
1542
+ padding: 0;
1543
+ margin: 0;
1544
+ }
1545
+
1546
+ .fileInListContainer {
1547
+ max-width: 624px;
1548
+ }
1549
+
1550
+ .fileListUnorderedList {
1551
+ list-style: none !important;
1552
+ padding: 0;
1553
+ margin: 0;
1554
+ }
1555
+
1556
+ .fileInList {
1557
+ width: 100%;
1558
+ }
1559
+ .fileInList .row {
1560
+ display: flex;
1561
+ justify-content: space-between;
1562
+ align-items: center;
1563
+ max-width: 100% !important;
1564
+ border: 0px solid black;
1565
+
1566
+ padding: 0px 0px;
1567
+ --bs-gutter-x: 0px !important;
1568
+ }
1569
+
1570
+ .fileInList .row .col {
1571
+ padding: 0;
1572
+ margin: 0;
1573
+ }
1574
+
1575
+ .fileInList .row .lastCol {
1576
+ display: flex;
1577
+ justify-content: flex-end;
1578
+ }
1579
+
1580
+ .fileInList .makeSpace {
1581
+ border-bottom: 1px solid #747474;
1582
+ /* margin-top: 24px; */
1583
+ }
1584
+
1585
+ .fileInfo {
1586
+ display: flex;
1587
+ flex-direction: column;
1588
+ align-items: flex-start;
1589
+ gap: 13px;
1590
+ }
1591
+ .uploadedPercentage {
1592
+ /* Body/B3 Regular */
1593
+ font-family: Arial;
1594
+ font-size: 13px;
1595
+ font-style: normal;
1596
+ font-weight: 400;
1597
+ line-height: 16px; /* 123.077% */
1598
+ margin-top: 2px;
1599
+ }
1600
+ @media (max-width: 768px) {
1601
+ .uploadedPercentage {
1602
+ display: none;
1603
+ }
1604
+ }
1605
+ .trashCan {
1606
+ width: 57px;
1607
+ display: flex;
1608
+ flex-direction: column;
1609
+ flex-shrink: 0;
1610
+ justify-content: start;
1611
+ align-items: center;
1612
+ padding: 0;
1613
+ }
1614
+ .trashCan a {
1615
+ cursor: pointer;
1616
+ display: flex;
1617
+ flex-direction: column;
1618
+ flex-shrink: 0;
1619
+ justify-content: center;
1620
+ align-items: center;
1621
+ padding: 0;
1622
+ }
1623
+
1624
+ .trashCan svg {
1625
+ width: 24px;
1626
+ height: 27px;
1627
+ stroke-width: 2px;
1628
+ stroke: var(--purple-900-primary, #6e3282);
1629
+ }
1630
+
1631
+ .trashCanPositioning {
1632
+ display: flex;
1633
+ align-items: flex-start;
1634
+ justify-content: flex-end;
1635
+ gap: 4px;
1636
+ flex-shrink: 0;
1637
+ padding: 0;
1638
+
1639
+ position: relative;
1640
+ border: 0px solid red;
1641
+ max-width: 70px;
1642
+ top: -6px;
1643
+ left: 12px;
1644
+ }
1645
+
1646
+ .trashCanText {
1647
+ color: #6e3282;
1648
+
1649
+ /* Body/B4 Regular */
1650
+ font-family: Arial;
1651
+ font-size: 10px;
1652
+ font-style: normal;
1653
+ font-weight: 400;
1654
+ line-height: normal;
1655
+ }
1656
+ .removeError {
1657
+ width: 57px;
1658
+ display: flex;
1659
+ flex-direction: column;
1660
+ flex-shrink: 0;
1661
+ justify-content: start;
1662
+ align-items: center;
1663
+ padding: 0;
1664
+ }
1665
+ .removeError svg {
1666
+ width: 16px;
1667
+ height: 18px;
1668
+ stroke-width: 2px;
1669
+ stroke: var(--purple-900-primary, #6e3282);
1670
+ }
1671
+ .removeError a {
1672
+ cursor: pointer;
1673
+ }
1674
+
1675
+ .uploadedDot {
1676
+ border-radius: 17px;
1677
+ background: var(--red-green-green, #008e55);
1678
+ display: flex;
1679
+ width: 16px;
1680
+ height: 16px;
1681
+ padding: 10px;
1682
+ flex-direction: column;
1683
+ justify-content: center;
1684
+ align-items: center;
1685
+ gap: 10px;
1686
+ flex-shrink: 0;
1687
+ }
1688
+ .uploadedDot.uploadFailed {
1689
+ background: var(--red-green-red, #8e0039);
1690
+
1691
+ color: var(--neutral-300, #fff);
1692
+ /* Body/B3 Bold */
1693
+ font-family: Arial;
1694
+ font-size: 13px;
1695
+ font-style: normal;
1696
+ font-weight: 700;
1697
+ line-height: 16px; /* 123.077% */
1698
+ }
1699
+
1700
+ .uploadedDot svg {
1701
+ stroke-width: 1.5px;
1702
+ stroke: var(--neutral-300, #fff);
1703
+ flex-shrink: 0;
1704
+ }
1705
+
1706
+ .uploadStatus {
1707
+ display: flex;
1708
+ align-items: flex-start;
1709
+ justify-content: flex-end;
1710
+ gap: 8px;
1711
+ flex-shrink: 0;
1712
+ padding: 0;
1713
+
1714
+ position: relative;
1715
+ border: 0px solid red;
1716
+ max-width: 70px;
1717
+ top: 0;
1718
+ right: 0;
1719
+ }
1720
+ @media (max-width: 768px) {
1721
+ .uploadStatus {
1722
+ display: none;
1723
+ }
1724
+ }
1725
+ /*
1726
+ .uploadStatus {
1727
+ display: flex;
1728
+
1729
+ align-items: center;
1730
+ justify-content: flex-end;
1731
+ gap: 8px;
1732
+ flex-shrink: 0;
1733
+ padding: 0;
1734
+ } */
1735
+ .uploadFileIcon {
1736
+ display: flex;
1737
+ align-items: flex-start;
1738
+ justify-content: flex-end;
1739
+ gap: 8px;
1740
+ flex-shrink: 0;
1741
+ padding: 0;
1742
+
1743
+ position: relative;
1744
+ border: 0px solid red;
1745
+ max-width: 70px;
1746
+ top: 0;
1747
+ left: 0;
1748
+ }
1749
+ .uploadFileName {
1750
+ display: flex;
1751
+ align-items: normal;
1752
+ justify-content: flex-start;
1753
+ gap: 8px;
1754
+ flex-shrink: 0;
1755
+ padding: 0;
1756
+ color: #000;
1757
+
1758
+ /* Body/B3 Bold */
1759
+ font-family: Arial;
1760
+ font-size: 16px;
1761
+ font-style: normal;
1762
+ font-weight: 400;
1763
+ line-height: 24px;
1764
+ }
1765
+ .uploadFileName.uploadFailed {
1766
+ color: var(--red-green-red, #8e0039);
1767
+ }
1768
+ .errorMessageAddingFile {
1769
+ color: var(--red-green-red, #8e0039);
1770
+ /* Body/B3 Regular */
1771
+ font-family: Arial;
1772
+ font-size: 13px;
1773
+ font-style: normal;
1774
+ font-weight: 400;
1775
+ line-height: 16px; /* 123.077% */
1776
+ /* padding: 0;
1777
+ margin-top: -8px; */
1778
+ }
1779
+
1780
+ @media (max-width: 768px) {
1781
+ .errorMessageAddingFile {
1782
+ margin-left: 12px;
1783
+ }
1784
+ }
1785
+
1786
+ .selectedFilesLinkButton {
1787
+ display: flex;
1788
+ align-items: center;
1789
+ padding-bottom: 16px;
1790
+ padding-left: 0;
1791
+ gap: 8px;
1792
+ flex-shrink: 0;
1793
+ stroke-width: 2px;
1794
+ stroke: var(--purple-900-primary, #6e3282);
1795
+ color: var(--purple-900-primary, #6e3282);
1796
+ /* Body/B2 (Main) Regular */
1797
+ font-family: Arial;
1798
+ font-size: 16px;
1799
+ font-style: normal;
1800
+ font-weight: 400;
1801
+ line-height: 24px; /* 150% */
1802
+ text-decoration: none;
1803
+ cursor: pointer;
1804
+
1805
+ background-color: transparent;
1806
+ border: 0px;
1807
+ }
1808
+
1809
+ .selectedFilesLinkButton:hover {
1810
+ color: var(--purple-900-primary, #6e3282);
1811
+ text-decoration: underline;
1812
+ }
1813
+
1814
+ .uploadFileRow_x {
1815
+ max-width: 630px;
1816
+ }
1817
+
1818
+ /* Indicator.tsx */
1819
+
1820
+ .uploadIndicator {
1821
+ height: 6px;
1822
+ flex-shrink: 0;
1823
+ margin-top: 0px;
1824
+
1825
+ border-radius: 8px 8px 8px 8px;
1826
+ }
1827
+ @media (max-width: 768px) {
1828
+ .uploadIndicator {
1829
+ display: none;
1830
+ }
1831
+ }
1832
+ .uploadIndicator.uploadDone {
1833
+ width: 100%;
1834
+ background: var(--red-green-green, #008e55);
1835
+ }
1836
+ .uploadIndicator.uploadFailed {
1837
+ width: 10%;
1838
+ background: var(--red-green-red, #8e0039);
1839
+ }
1840
+ .uploadIndicator.uploadLoading {
1841
+ width: 50%;
1842
+ background: var(--red-green-red, rgb(211, 165, 0));
1843
+ }
1844
+
1845
+ .UploadedFile .divider {
1846
+ border: 1px solid #747474;
1847
+ margin-top: 24px;
1848
+ }
1849
+ @media (max-width: 768px) {
1850
+ .UploadedFile .divider {
1851
+ margin-top: 0px;
1852
+ }
1853
+ }
1854
+
1855
+ /* Clipboard.tsx */
1856
+
1857
+ .ClipboardFiles {
1858
+ display: flex;
1859
+ flex-direction: column;
1860
+ align-items: center;
1861
+ gap: 16px;
1862
+ padding: 16px;
1863
+
1864
+ margin-top: 32px;
1865
+ background-color: #222;
1866
+ animation-name: color;
1867
+ animation-duration: 1s;
1868
+ animation-iteration-count: infinite;
1869
+
1870
+ border-radius: 8px;
1871
+ cursor: pointer;
1872
+ }
1873
+
1874
+ .ClipboardFiles.clicked {
1875
+ background-color: #ccc;
1876
+ animation-name: none;
1877
+ cursor: copy;
1878
+ }
1879
+
1880
+ @keyframes color {
1881
+ 0% {
1882
+ background-color: #ddd;
1883
+ }
1884
+ 25% {
1885
+ background-color: #ccc;
1886
+ }
1887
+ 50% {
1888
+ background-color: #bbb;
1889
+ }
1890
+ 75% {
1891
+ background-color: #ccc;
1892
+ }
1893
+ 100% {
1894
+ background-color: #ddd;
1895
+ }
1896
+ }
1897
+
1898
+ /* AddFiles.tsx */
1899
+
1900
+ .addFilesMandatory {
1901
+ margin-bottom: 16px;
1902
+ }
1903
+
1904
+ .addFilesMandatory.error {
1905
+ display: inline;
1906
+ margin-bottom: 0px;
1907
+ }
1908
+
1909
+ /* preview */
1910
+
1911
+ /* .addFilesPreviewContainer {
1912
+ margin: 0;
1913
+ margin-top: 16px;
1914
+ width: 100%;
1915
+ flex-direction: row;
1916
+ }
1917
+ @media (max-width: 768px) {
1918
+ .addFilesPreviewContainer {
1919
+ flex-direction: column;
1920
+ }
1921
+ .addFilesPreviewContainer .answer {
1922
+ margin: 0;
1923
+ padding: 0;
1924
+ margin-top: 8px;
1925
+ margin-bottom: 8px;
1926
+
1927
+ width: 100%;
1928
+ }
1929
+ }
1930
+
1931
+ .addFilesFieldset p {
1932
+ font-size: 16px;
1933
+ }
1934
+
1935
+ .addfileserror {
1936
+ margin-bottom: 16px !important;
1937
+ margin-top: 16px !important;
1938
+ } */
1939
+
1940
+ /* ---------- END ADD FILES ---------- */