optimized-react-component-library-xyz123 0.1.159 → 0.1.160

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
@@ -237,7 +237,7 @@ var CheckboxGroup = ({
237
237
  showPreview = false,
238
238
  activatedLanguage = "sv"
239
239
  }) => {
240
- var _a, _b;
240
+ var _a;
241
241
  const questionId = `question-${question.id}`;
242
242
  const errorId = `error-${question.id}`;
243
243
  const groupId = `checkbox-group-${question.id}`;
@@ -294,7 +294,7 @@ var CheckboxGroup = ({
294
294
  question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "pts-root-error", id: errorId, children: [
295
295
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
296
296
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "sr-only", children: "Valideringsfel" }),
297
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "errorText", children: ((_b = question.validationDefaultMessesege) != null ? _b : activatedLanguage === "sv") ? "V\xE4nligen besvara" : "Please reply" })
297
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "errorText", children: question.validationDefaultMessesege })
298
298
  ] })
299
299
  ]
300
300
  }