optimized-react-component-library-xyz123 0.18.4 → 0.18.5

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
@@ -1027,7 +1027,7 @@ var AddFiles = ({
1027
1027
  ),
1028
1028
  children: [
1029
1029
  questionObject.aboutText,
1030
- questionObject.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "pts-root-mandatoryAsterisk", "aria-hidden": "true", children: [
1030
+ questionObject.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "pts-root-mandatoryAsterisk", "aria-label": "Obligatorisk fr\xE5ga", children: [
1031
1031
  " ",
1032
1032
  "*"
1033
1033
  ] })
@@ -3036,7 +3036,7 @@ var ValidationErrorSummaryList = ({
3036
3036
  if (container) {
3037
3037
  container.scrollIntoView({ behavior: "smooth", block: "center" });
3038
3038
  setTimeout(() => {
3039
- const input = container.querySelector("input, textarea, select");
3039
+ const input = container.querySelector("input, textarea, select, button");
3040
3040
  if (input) {
3041
3041
  input.focus();
3042
3042
  }