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.mjs CHANGED
@@ -945,7 +945,7 @@ var AddFiles = ({
945
945
  ),
946
946
  children: [
947
947
  questionObject.aboutText,
948
- questionObject.isQuestionMandatory && /* @__PURE__ */ jsxs9("span", { className: "pts-root-mandatoryAsterisk", "aria-hidden": "true", children: [
948
+ questionObject.isQuestionMandatory && /* @__PURE__ */ jsxs9("span", { className: "pts-root-mandatoryAsterisk", "aria-label": "Obligatorisk fr\xE5ga", children: [
949
949
  " ",
950
950
  "*"
951
951
  ] })
@@ -2957,7 +2957,7 @@ var ValidationErrorSummaryList = ({
2957
2957
  if (container) {
2958
2958
  container.scrollIntoView({ behavior: "smooth", block: "center" });
2959
2959
  setTimeout(() => {
2960
- const input = container.querySelector("input, textarea, select");
2960
+ const input = container.querySelector("input, textarea, select, button");
2961
2961
  if (input) {
2962
2962
  input.focus();
2963
2963
  }