optimized-react-component-library-xyz123 0.1.138 → 0.1.140

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
@@ -2394,7 +2394,7 @@ var Header = ({
2394
2394
  className: "pts-languageButton",
2395
2395
  onClick: handleLanguageClick,
2396
2396
  children: [
2397
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(LanguageIcon, {}) }) }),
2397
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "languageIcon", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(LanguageIcon, {}) }) }),
2398
2398
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", className: "pts-languageButton", children: getLanguageLabel() }),
2399
2399
  activatedLanguage === "en" && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "sr-only", children: "\xC4ndra spr\xE5k till svenska" }),
2400
2400
  activatedLanguage === "sv" && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "sr-only", children: "Change language to English" })
@@ -2759,7 +2759,7 @@ var StepperButtonsStandard_default = StepperButtons;
2759
2759
  var import_react12 = __toESM(require("react"));
2760
2760
  var import_jsx_runtime25 = require("react/jsx-runtime");
2761
2761
  var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
2762
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("section", { className: "pts-stepper-container", "aria-hidden": "true", children: arraySteps.map((step, index) => {
2762
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "pts-stepper-container", "aria-hidden": "true", children: arraySteps.map((step, index) => {
2763
2763
  const isActive = step.step === activeStep;
2764
2764
  const lastElement = arraySteps.length;
2765
2765
  const isDone = step.step < activeStep;
@@ -2848,7 +2848,7 @@ var ValidationErrorSummaryList = ({
2848
2848
  const found = questions.find((item) => item.id === id);
2849
2849
  return (_a = found == null ? void 0 : found.validationSummaryLabel) != null ? _a : found == null ? void 0 : found.questionLabel;
2850
2850
  }
2851
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "pts-errorSummary-container pts-root-error", children: [
2851
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: `pts-errorSummary-container pts-root-error ${validationErrorsList.length === 0 ? "cleanPadding" : ""}`, children: [
2852
2852
  /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { "aria-hidden": "true", className: "errorDot", children: "!" }),
2853
2853
  /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "errorSummary-content", id: "pts-errorSummary-content", children: [
2854
2854
  /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("h2", { id: "errorSummary-headline", children: title }),