optimized-react-component-library-xyz123 0.24.1 → 0.26.1

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
@@ -2054,7 +2054,7 @@ var CookieBanner = ({
2054
2054
  href: "https://pts.se/om-oss/om-pts.se/kakor-pa-webbplatsen/kakor-pa-pts-e-tjanster/",
2055
2055
  target: "_blank",
2056
2056
  rel: "noopener noreferrer",
2057
- children: activatedLanguage === "en" ? "Cookies on pts.se (opens in new tab)" : "Kakor (cookies) p\xE5 pts.se (\xF6ppnas i ny flik"
2057
+ children: activatedLanguage === "en" ? "Cookies on pts.se (opens in new tab)" : "Kakor (cookies) p\xE5 pts.se (\xF6ppnas i ny flik)"
2058
2058
  }
2059
2059
  )
2060
2060
  ] }),
@@ -2856,16 +2856,18 @@ var EditPreviewLinkStandard_default = EditPreviewLink;
2856
2856
  import { jsx as jsx25 } from "react/jsx-runtime";
2857
2857
  var StartApplicationButton = ({
2858
2858
  onClick,
2859
- label = "Starta e-tj\xE4nsten",
2860
- className = ""
2859
+ label,
2860
+ className = "",
2861
+ activatedLanguage = "sv"
2861
2862
  }) => {
2863
+ const defaultLabel = activatedLanguage === "en" ? "Start e-service" : "Starta e-tj\xE4nsten";
2862
2864
  return /* @__PURE__ */ jsx25(
2863
2865
  "button",
2864
2866
  {
2865
2867
  type: "button",
2866
2868
  className: `pts-forwardButton pts-start-applicationButton ${className}`,
2867
2869
  onClick,
2868
- children: label
2870
+ children: label || defaultLabel
2869
2871
  }
2870
2872
  );
2871
2873
  };