optimized-react-component-library-xyz123 0.1.121 → 0.1.123

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.mjs CHANGED
@@ -1263,7 +1263,7 @@ var PreviewAddFiles = ({
1263
1263
  const previewId = `preview-${questionObject.Id}`;
1264
1264
  return /* @__PURE__ */ jsxs9(Fragment11, { children: [
1265
1265
  /* @__PURE__ */ jsx11("dt", { id: `question-${previewId}`, children: questionObject.questionLabel ? questionObject.questionLabel : activatedLanguage === "en" ? "Attached files" : "Bifogade filer" }),
1266
- questionObject.files && questionObject.files.length > 0 ? /* @__PURE__ */ jsx11("dd", { className: "pts-root-answer pts-addFiles-answer", children: /* @__PURE__ */ jsx11("ul", { "aria-labelledby": previewId, className: "pts-preview-answer-list", children: questionObject.files.map((file, index) => {
1266
+ questionObject.files && questionObject.files.length > 0 ? /* @__PURE__ */ jsx11("dd", { className: "pts-addFiles-answer", children: /* @__PURE__ */ jsx11("ul", { "aria-labelledby": previewId, className: "pts-preview-answer-list", children: questionObject.files.map((file, index) => {
1267
1267
  return /* @__PURE__ */ jsx11("li", { children: file.FileName }, `file-${index}-${file.FileName}`);
1268
1268
  }) }) }) : /* @__PURE__ */ jsx11("dd", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No attached files" : "Inga bifogade filer" })
1269
1269
  ] });
@@ -2244,7 +2244,7 @@ var EditPreviewLinkStandard_default = EditPreviewLink;
2244
2244
  // src/NewTextComponentStandard/FooterStandard/FooterStandard.tsx
2245
2245
  import { jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
2246
2246
  var Footer = ({ activatedLanguage = "sv" }) => {
2247
- return /* @__PURE__ */ jsxs14("footer", { className: "pts-footer-container", children: [
2247
+ return /* @__PURE__ */ jsx17("footer", { className: "pts-footer-container", children: /* @__PURE__ */ jsxs14("div", { className: "pts-footer-content", children: [
2248
2248
  /* @__PURE__ */ jsxs14(
2249
2249
  "svg",
2250
2250
  {
@@ -2323,7 +2323,7 @@ var Footer = ({ activatedLanguage = "sv" }) => {
2323
2323
  }
2324
2324
  ) })
2325
2325
  ] }) })
2326
- ] });
2326
+ ] }) });
2327
2327
  };
2328
2328
  var FooterStandard_default = Footer;
2329
2329
 
@@ -2725,7 +2725,7 @@ var Header = ({
2725
2725
  else return "Svenska";
2726
2726
  };
2727
2727
  return /* @__PURE__ */ jsxs16("header", { className: "pts-header-container", children: [
2728
- /* @__PURE__ */ jsx19(
2728
+ /* @__PURE__ */ jsx19("div", { className: "pts-header-logo-container", children: /* @__PURE__ */ jsx19(
2729
2729
  "a",
2730
2730
  {
2731
2731
  className: "pts-header-logo",
@@ -2734,7 +2734,7 @@ var Header = ({
2734
2734
  "aria-label": activatedLanguage === "en" ? "PTS logotype (to the homepage on pts.se, opens in new tab)" : "PTS logotyp (till startsidan p\xE5 pts.se, \xF6ppnas i ny flik)",
2735
2735
  children: activatedLanguage === "en" ? /* @__PURE__ */ jsx19("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx19(Logo_en, {}) }) : /* @__PURE__ */ jsx19("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx19(Logo_sv, {}) })
2736
2736
  }
2737
- ),
2737
+ ) }),
2738
2738
  useLanguage && /* @__PURE__ */ jsxs16(
2739
2739
  "button",
2740
2740
  {