optimized-react-component-library-xyz123 0.9.3 → 0.10.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
@@ -2544,7 +2544,7 @@ var Header = ({
2544
2544
  onClick: handleLanguageClick,
2545
2545
  children: [
2546
2546
  /* @__PURE__ */ jsx18("div", { className: "languageIcon", children: /* @__PURE__ */ jsx18("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx18(LanguageIcon, {}) }) }),
2547
- /* @__PURE__ */ jsx18("span", { "aria-hidden": "true", className: "pts-languageButton", children: getLanguageLabel() }),
2547
+ /* @__PURE__ */ jsx18("span", { "aria-hidden": "true", className: "pts-languageButton-text", children: getLanguageLabel() }),
2548
2548
  activatedLanguage === "en" && /* @__PURE__ */ jsx18("span", { className: "sr-only", children: "\xC4ndra spr\xE5k till svenska" }),
2549
2549
  activatedLanguage === "sv" && /* @__PURE__ */ jsx18("span", { className: "sr-only", children: "Change language to English" })
2550
2550
  ]
@@ -2849,8 +2849,8 @@ var EditPreviewLinkStandard_default = EditPreviewLink;
2849
2849
  // src/components/stepper/StartApplicationButton/StartApplicationButton.tsx
2850
2850
  import { jsx as jsx25 } from "react/jsx-runtime";
2851
2851
  var StartApplicationButton = ({
2852
- globalLanguageState,
2853
2852
  onClick,
2853
+ label = "Starta e-tj\xE4nsten",
2854
2854
  className = ""
2855
2855
  }) => {
2856
2856
  return /* @__PURE__ */ jsx25(
@@ -2859,7 +2859,7 @@ var StartApplicationButton = ({
2859
2859
  type: "button",
2860
2860
  className: `pts-forwardButton pts-start-applicationButton ${className}`,
2861
2861
  onClick,
2862
- children: globalLanguageState && globalLanguageState.startButton ? globalLanguageState.startButton : ">>"
2862
+ children: label
2863
2863
  }
2864
2864
  );
2865
2865
  };