optimized-react-component-library-xyz123 0.18.2 → 0.18.3

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
@@ -932,8 +932,9 @@ var AddFiles = ({
932
932
  const handleRemoveErrors = () => {
933
933
  setErrorMessageAddingFile([]);
934
934
  };
935
+ const questionId = `question-${questionObject.id}`;
935
936
  return /* @__PURE__ */ jsxs9(Fragment11, { children: [
936
- !showPreview && visible && /* @__PURE__ */ jsx11("div", { className: "root-question addFile-question-container", children: /* @__PURE__ */ jsxs9("div", { role: "group", children: [
937
+ !showPreview && visible && /* @__PURE__ */ jsx11("div", { id: questionId, className: "root-question addFile-question-container", children: /* @__PURE__ */ jsxs9("div", { role: "group", children: [
937
938
  questionObject.aboutText && /* @__PURE__ */ jsxs9(
938
939
  "p",
939
940
  {
@@ -3000,7 +3001,7 @@ var ValidationErrorSummaryList_default = ValidationErrorSummaryList;
3000
3001
  import { Fragment as Fragment17, jsx as jsx29, jsxs as jsxs23 } from "react/jsx-runtime";
3001
3002
  var FormStatusMessagesScreenReader = ({ formStatus }) => {
3002
3003
  return /* @__PURE__ */ jsxs23(Fragment17, { children: [
3003
- /* @__PURE__ */ jsx29("p", { "aria-live": "assertive", children: formStatus === "failed" && /* @__PURE__ */ jsx29("span", { className: "mandatoryAsterisk", children: "N\xE5got gick fel, f\xF6rs\xF6k igen senare eller kontakta oss!" }) }),
3004
+ /* @__PURE__ */ jsx29("p", { "aria-live": "assertive", children: formStatus === "failed" && /* @__PURE__ */ jsx29("span", { className: "pts-root-mandatoryAsterisk", children: "N\xE5got gick fel, f\xF6rs\xF6k igen senare eller kontakta oss!" }) }),
3004
3005
  /* @__PURE__ */ jsx29("div", { "aria-live": "polite", className: "visually-hidden", children: formStatus === "loading" ? "Ditt \xE4rende registreras. Uppdatera eller st\xE4ng inte sidan." : "" })
3005
3006
  ] });
3006
3007
  };