optimized-react-component-library-xyz123 0.20.5 → 0.21.2

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
@@ -333,11 +333,6 @@ var InputTextarea = ({
333
333
  const aboutId = `about-${question.id}`;
334
334
  const errorId = `error-${question.id}`;
335
335
  const defaultMaxLength = 1e3;
336
- const answerLength = (_b = (_a = question.answer) == null ? void 0 : _a.length) != null ? _b : 0;
337
- const maxLength = (_d = (_c = question.questionExtraAttribute) == null ? void 0 : _c.answerMaxLength) != null ? _d : defaultMaxLength;
338
- const isTooLong = answerLength > maxLength;
339
- const counterText = activatedLanguage === "en" ? `${answerLength} of ${maxLength} characters` : `${answerLength} av ${maxLength} tecken`;
340
- const maxLengthErrorText = activatedLanguage === "en" ? `The text must be ${maxLength} characters or less` : `Texten f\xE5r max vara ${maxLength} tecken`;
341
336
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
342
337
  !showPreview && question.visible && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
343
338
  "div",
@@ -369,20 +364,29 @@ var InputTextarea = ({
369
364
  required: question.isQuestionMandatory,
370
365
  "aria-required": question.isQuestionMandatory,
371
366
  "aria-invalid": question.hasValidationError,
367
+ maxLength: ((_a = question.questionExtraAttribute) == null ? void 0 : _a.answerMaxLength) || defaultMaxLength,
372
368
  "aria-describedby": [question.aboutText ? aboutId : null, question.hasValidationError ? errorId : null].filter(Boolean).join(" ") || void 0,
373
369
  id: inputId
374
370
  }
375
371
  ),
376
372
  /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "pts-textarea-counter-error-container", children: [
377
- !isTooLong && question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
373
+ question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
378
374
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { "aria-label": "Felmeddelande.", className: "errorDot", children: "!" }),
379
375
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "errorText", children: question.validationDefaultMessesege })
380
376
  ] }),
381
- isTooLong && question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
382
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { "aria-label": "Felmeddelande.", className: "errorDot", children: "!" }),
383
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "errorText", children: maxLengthErrorText })
384
- ] }),
385
- !((_e = question.questionExtraAttribute) == null ? void 0 : _e.hideTextCounter) && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { "aria-live": "polite", className: `pts-character-counter`, children: counterText })
377
+ !((_b = question.questionExtraAttribute) == null ? void 0 : _b.hideTextCounter) && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
378
+ "div",
379
+ {
380
+ className: `pts-character-counter ${question.answer && (((_c = question.questionExtraAttribute) == null ? void 0 : _c.answerMaxLength) || defaultMaxLength) && question.answer.length > (((_d = question.questionExtraAttribute) == null ? void 0 : _d.answerMaxLength) || defaultMaxLength) ? "error" : ""}`,
381
+ children: [
382
+ question.answer ? question.answer.length : 0,
383
+ " av",
384
+ " ",
385
+ ((_e = question.questionExtraAttribute) == null ? void 0 : _e.answerMaxLength) || defaultMaxLength,
386
+ " tecken"
387
+ ]
388
+ }
389
+ )
386
390
  ] })
387
391
  ]
388
392
  }
@@ -419,21 +423,18 @@ var TextFieldStandard = ({
419
423
  showPreview = false,
420
424
  activatedLanguage
421
425
  }) => {
422
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
426
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
423
427
  const questionId = `question-${question.id}`;
424
428
  const inputId = `textField-${question.id}`;
425
429
  const aboutId = `about-${question.id}`;
426
430
  const errorId = `error-${question.id}`;
427
- const answerLength = (_b = (_a = question.answer) == null ? void 0 : _a.length) != null ? _b : 0;
428
- const maxLength = 100;
429
- const isTooLong = answerLength > maxLength;
430
- const maxLengthErrorText = activatedLanguage === "en" ? `The text must be ${maxLength} characters or less` : `Texten f\xE5r max vara ${maxLength} tecken`;
431
+ const defaultMaxLength = 1e3;
431
432
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
432
433
  !showPreview && question.visible && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
433
434
  "div",
434
435
  {
435
436
  id: questionId,
436
- className: `pts-root-question pts-textField-container${((_c = question.questionExtraAttribute) == null ? void 0 : _c.disabled) ? " pts-textField-disabled" : ""}${question.aboutText ? " pts-question-hasAbout" : ""}`.trim(),
437
+ className: `pts-root-question pts-textField-container${((_a = question.questionExtraAttribute) == null ? void 0 : _a.disabled) ? " pts-textField-disabled" : ""}${question.aboutText ? " pts-question-hasAbout" : ""}`.trim(),
437
438
  children: [
438
439
  /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("label", { htmlFor: inputId, children: [
439
440
  question.questionLabel,
@@ -453,33 +454,29 @@ var TextFieldStandard = ({
453
454
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
454
455
  "input",
455
456
  {
456
- type: (_e = (_d = question.questionExtraAttribute) == null ? void 0 : _d.inputType) != null ? _e : "text",
457
- autoComplete: (_g = (_f = question.questionExtraAttribute) == null ? void 0 : _f.autoComplete) != null ? _g : void 0,
458
- inputMode: (_i = (_h = question.questionExtraAttribute) == null ? void 0 : _h.inputMode) != null ? _i : void 0,
457
+ type: (_c = (_b = question.questionExtraAttribute) == null ? void 0 : _b.inputType) != null ? _c : "text",
458
+ autoComplete: (_e = (_d = question.questionExtraAttribute) == null ? void 0 : _d.autoComplete) != null ? _e : void 0,
459
+ inputMode: (_g = (_f = question.questionExtraAttribute) == null ? void 0 : _f.inputMode) != null ? _g : void 0,
459
460
  name: `question-name-${question.id}`,
460
461
  className: question.hasValidationError ? "pts-root-question-input-error-border" : void 0,
461
462
  onChange: (e) => handleQuestionInputChange(e, question),
462
463
  value: question.answer,
464
+ maxLength: ((_h = question.questionExtraAttribute) == null ? void 0 : _h.answerMaxLength) || defaultMaxLength,
463
465
  id: inputId,
464
- disabled: (_j = question.questionExtraAttribute) == null ? void 0 : _j.disabled,
466
+ disabled: (_i = question.questionExtraAttribute) == null ? void 0 : _i.disabled,
465
467
  required: question.isQuestionMandatory,
466
468
  "aria-required": question.isQuestionMandatory,
467
469
  "aria-describedby": [question.aboutText ? aboutId : null].filter(Boolean).join(" ") || void 0,
468
470
  "aria-invalid": question.hasValidationError,
469
471
  "aria-errormessage": question.hasValidationError ? errorId : void 0,
470
- spellCheck: (_l = (_k = question.questionExtraAttribute) == null ? void 0 : _k.spellCheck) != null ? _l : void 0,
471
- autoCapitalize: (_n = (_m = question.questionExtraAttribute) == null ? void 0 : _m.autoCapitalize) != null ? _n : void 0
472
+ spellCheck: (_k = (_j = question.questionExtraAttribute) == null ? void 0 : _j.spellCheck) != null ? _k : void 0,
473
+ autoCapitalize: (_m = (_l = question.questionExtraAttribute) == null ? void 0 : _l.autoCapitalize) != null ? _m : void 0
472
474
  }
473
475
  ),
474
- !isTooLong && question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
476
+ question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
475
477
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
476
478
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "sr-only", children: "Valideringsfel" }),
477
479
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "errorText", children: question.validationDefaultMessesege })
478
- ] }),
479
- isTooLong && question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
480
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
481
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "sr-only", children: "Valideringsfel" }),
482
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "errorText", children: maxLengthErrorText })
483
480
  ] })
484
481
  ]
485
482
  }
@@ -705,10 +702,16 @@ var SelectedFiles = ({
705
702
  let newFiles = questionObject.files.filter((f) => f !== file);
706
703
  const newCountOfFiles = newFiles.length;
707
704
  setNumberOfFiles(newCountOfFiles);
708
- const e = { target: { value: `${newCountOfFiles} files`, files: newFiles } };
705
+ let e = { target: { value: `${newCountOfFiles} files`, files: newFiles } };
706
+ const targetValue = e.target.value === "0 files" ? "" : e.target.value;
707
+ e = { ...e, target: { ...e.target, value: targetValue } };
709
708
  isTouched(e, questionObject);
710
709
  removeFile(newCountOfFiles);
711
710
  };
711
+ (0, import_react6.useEffect)(() => {
712
+ var _a;
713
+ numberOfFiles > 0 && ((_a = theDiv.current) == null ? void 0 : _a.scrollIntoView({ behavior: "smooth", block: "end" }));
714
+ }, [numberOfFiles]);
712
715
  const useWindowWidth = () => {
713
716
  const [windowWidth2, setWindowWidth] = (0, import_react6.useState)(window.innerWidth);
714
717
  (0, import_react6.useEffect)(() => {
@@ -991,7 +994,7 @@ var AddFiles = ({
991
994
  const currentFiles = questionObject.files ? questionObject.files : [];
992
995
  const e = {
993
996
  target: {
994
- value: `${currentFiles.length + newFiles.length} files`,
997
+ value: currentFiles.length + newFiles.length > 0 ? `${currentFiles.length + newFiles.length} files` : "",
995
998
  files: [...currentFiles, ...newFiles]
996
999
  }
997
1000
  };
@@ -1014,68 +1017,75 @@ var AddFiles = ({
1014
1017
  setErrorMessageAddingFile([]);
1015
1018
  };
1016
1019
  return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
1017
- !showPreview && visible && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "root-question addFile-question-container", id: `question-${questionObject.id}`, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { role: "group", children: [
1018
- questionObject.aboutText && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
1019
- "p",
1020
- {
1021
- id: aboutId,
1022
- className: (0, import_clsx3.default)(
1023
- "addFilesMandatory",
1024
- questionObject.hasValidationError ? " error" : ""
1020
+ !showPreview && visible && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1021
+ "div",
1022
+ {
1023
+ className: "root-question addFile-question-container",
1024
+ id: `question-${questionObject.id}`,
1025
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { role: "group", children: [
1026
+ questionObject.aboutText && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
1027
+ "p",
1028
+ {
1029
+ id: aboutId,
1030
+ className: (0, import_clsx3.default)(
1031
+ "addFilesMandatory",
1032
+ questionObject.hasValidationError ? " error" : ""
1033
+ ),
1034
+ children: [
1035
+ questionObject.aboutText,
1036
+ questionObject.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "pts-root-mandatoryAsterisk", "aria-label": "Obligatorisk fr\xE5ga", children: [
1037
+ " ",
1038
+ "*"
1039
+ ] })
1040
+ ]
1041
+ }
1025
1042
  ),
1026
- children: [
1027
- questionObject.aboutText,
1028
- questionObject.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "pts-root-mandatoryAsterisk", "aria-label": "Obligatorisk fr\xE5ga", children: [
1029
- " ",
1030
- "*"
1031
- ] })
1032
- ]
1033
- }
1034
- ),
1035
- questionObject.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "pts-root-error error addfileserror", id: errorId, children: [
1036
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
1037
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sr-only", children: "Valideringsfel" }),
1038
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "errorText", children: questionObject.validationDefaultMessesege })
1039
- ] }),
1040
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1041
- ExploreFilesStandard_default,
1042
- {
1043
- FilesSelected: onDrop,
1044
- numberOfFiles,
1045
- allowedNumberOfFiles,
1046
- activatedLanguage,
1047
- inputId,
1048
- labelId,
1049
- aboutId,
1050
- errorId,
1051
- questionObject,
1052
- errorMessageAddingFile,
1053
- removeUploadErrors: handleRemoveErrors
1054
- }
1055
- ),
1056
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1057
- DropFilesStandard_default,
1058
- {
1059
- FilesSelected: onDrop,
1060
- DropFilesText: dropFilesText,
1061
- language: activatedLanguage
1062
- }
1063
- ),
1064
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1065
- SelectedFilesStandard_default,
1066
- {
1067
- questionObject,
1068
- isTouched: handleQuestionInputChange,
1069
- removeFile: removeFileFromNumberOfFiles,
1070
- removeError,
1071
- errorMessageAddingFile,
1072
- activatedLanguage,
1073
- numberOfFiles,
1074
- setNumberOfFiles,
1075
- removeUploadErrors: handleRemoveErrors
1076
- }
1077
- )
1078
- ] }) }),
1043
+ questionObject.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "pts-root-error error addfileserror", id: errorId, children: [
1044
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
1045
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sr-only", children: "Valideringsfel" }),
1046
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "errorText", children: questionObject.validationDefaultMessesege })
1047
+ ] }),
1048
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1049
+ ExploreFilesStandard_default,
1050
+ {
1051
+ FilesSelected: onDrop,
1052
+ numberOfFiles,
1053
+ allowedNumberOfFiles,
1054
+ activatedLanguage,
1055
+ inputId,
1056
+ labelId,
1057
+ aboutId,
1058
+ errorId,
1059
+ questionObject,
1060
+ errorMessageAddingFile,
1061
+ removeUploadErrors: handleRemoveErrors
1062
+ }
1063
+ ),
1064
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1065
+ DropFilesStandard_default,
1066
+ {
1067
+ FilesSelected: onDrop,
1068
+ DropFilesText: dropFilesText,
1069
+ language: activatedLanguage
1070
+ }
1071
+ ),
1072
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1073
+ SelectedFilesStandard_default,
1074
+ {
1075
+ questionObject,
1076
+ isTouched: handleQuestionInputChange,
1077
+ removeFile: removeFileFromNumberOfFiles,
1078
+ removeError,
1079
+ errorMessageAddingFile,
1080
+ activatedLanguage,
1081
+ numberOfFiles,
1082
+ setNumberOfFiles,
1083
+ removeUploadErrors: handleRemoveErrors
1084
+ }
1085
+ )
1086
+ ] })
1087
+ }
1088
+ ),
1079
1089
  showPreview && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PreviewAddFiles, { activatedLanguage, questionObject })
1080
1090
  ] });
1081
1091
  };
@@ -1189,7 +1199,7 @@ var PreviewSingleCheckbox = ({
1189
1199
  // src/helpers/hasQuestionValidationError/hasQuestionValidationError.tsx
1190
1200
  var import_date_fns = require("date-fns");
1191
1201
  var hasQuestionValidationError = (question, questions) => {
1192
- var _a, _b, _c, _d, _e, _f, _g, _h;
1202
+ var _a, _b, _c, _d, _e;
1193
1203
  let error = false;
1194
1204
  if (question.isQuestionMandatory) {
1195
1205
  if (question.isTouched === false) {
@@ -1202,28 +1212,19 @@ var hasQuestionValidationError = (question, questions) => {
1202
1212
  error = true;
1203
1213
  }
1204
1214
  }
1205
- const maxLength = (_c = (_b = question.questionExtraAttribute) == null ? void 0 : _b.answerMaxLength) != null ? _c : 1e3;
1206
- if (((_d = question.validationType) == null ? void 0 : _d.includes("maxLength")) && question.answer.length > maxLength) {
1207
- error = true;
1208
- }
1209
- if (question.questionType === "TextField") {
1210
- if (question.answer.length > 100) {
1211
- error = true;
1212
- }
1213
- }
1214
- if (((_e = question.validationType) == null ? void 0 : _e.find((e) => e === "email")) && (question.isQuestionMandatory || question.answer !== "")) {
1215
+ if (((_b = question.validationType) == null ? void 0 : _b.find((e) => e === "email")) && (question.isQuestionMandatory || question.answer !== "")) {
1215
1216
  const emailRegex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
1216
1217
  if (!emailRegex.test(question.answer)) {
1217
1218
  error = true;
1218
1219
  }
1219
1220
  }
1220
- if (((_f = question.validationType) == null ? void 0 : _f.find((e) => e === "fourNumbers")) && (question.isQuestionMandatory || question.answer !== "")) {
1221
+ if (((_c = question.validationType) == null ? void 0 : _c.find((e) => e === "fourNumbers")) && (question.isQuestionMandatory || question.answer !== "")) {
1221
1222
  const fourNumbersRegex = /^\d{4}$/.test(question.answer);
1222
1223
  if (!fourNumbersRegex) {
1223
1224
  error = true;
1224
1225
  }
1225
1226
  }
1226
- if (((_g = question.validationType) == null ? void 0 : _g.find((e) => e === "isDateFormatValid")) && question.answer !== "") {
1227
+ if (((_d = question.validationType) == null ? void 0 : _d.find((e) => e === "isDateFormatValid")) && question.answer !== "") {
1227
1228
  const regex = /^\d{4}-\d{2}-\d{2}$/;
1228
1229
  if (!regex.test(question.answer)) {
1229
1230
  error = true;
@@ -1237,18 +1238,16 @@ var hasQuestionValidationError = (question, questions) => {
1237
1238
  error = true;
1238
1239
  }
1239
1240
  }
1240
- const groupCheckError = (_h = question.validationType) == null ? void 0 : _h.find((e) => e.startsWith("groupCheck-"));
1241
+ const groupCheckError = (_e = question.validationType) == null ? void 0 : _e.find((e) => e.startsWith("groupCheck-"));
1241
1242
  if (groupCheckError) {
1242
1243
  const ids = groupCheckError.replace("groupCheck-", "").split("-");
1243
- const relatedAnswers = ids.map(
1244
- (id) => {
1245
- var _a2;
1246
- return (_a2 = questions.find((q) => {
1247
- var _a3;
1248
- return ((_a3 = q.id) == null ? void 0 : _a3.toString()) === id;
1249
- })) == null ? void 0 : _a2.answer;
1250
- }
1251
- );
1244
+ const relatedAnswers = ids.map((id) => {
1245
+ var _a2;
1246
+ return (_a2 = questions.find((q) => {
1247
+ var _a3;
1248
+ return ((_a3 = q.id) == null ? void 0 : _a3.toString()) === id;
1249
+ })) == null ? void 0 : _a2.answer;
1250
+ });
1252
1251
  const currentAnswer = question.answer;
1253
1252
  const allAnswers = [...relatedAnswers, currentAnswer];
1254
1253
  if (allAnswers.every((ans) => ans === "")) {
@@ -2117,7 +2116,7 @@ var CookieBanner = ({
2117
2116
  href: "https://pts.se/om-oss/om-pts.se/kakor-pa-webbplatsen/kakor-pa-pts-e-tjanster/",
2118
2117
  target: "_blank",
2119
2118
  rel: "noopener noreferrer",
2120
- children: "Kakor (cookies) p\xE5 pts.se (\xF6ppnas i ny flik)"
2119
+ children: "Kakor (cookies) p\xE5 pts.se (\xF6ppnas i nytt f\xF6nster)"
2121
2120
  }
2122
2121
  )
2123
2122
  ] }),
@@ -2229,7 +2228,7 @@ var LanguageIcon = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("svg", {
2229
2228
  fill: "#6E3282"
2230
2229
  }
2231
2230
  ) });
2232
- var Logo_sv = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("svg", { width: "168.8", height: "40", viewBox: "0 0 168.8 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2231
+ var Logo_sv = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("svg", { width: "168.8", height: "46.67", viewBox: "0 0 168.8 46.67", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2233
2232
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2234
2233
  "path",
2235
2234
  {
@@ -2375,7 +2374,7 @@ var Logo_sv = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("svg", { widt
2375
2374
  ),
2376
2375
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M82.2223 18.3335V37.2224", stroke: "currentColor", strokeWidth: "0.8", strokeMiterlimit: "10" })
2377
2376
  ] });
2378
- var Logo_en = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("svg", { width: "189.0", height: "40", viewBox: "0 0 189 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
2377
+ var Logo_en = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("svg", { width: "189.0", height: "46.67", viewBox: "0 0 189 46.67", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
2379
2378
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2380
2379
  "path",
2381
2380
  {