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

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
@@ -1935,22 +1935,20 @@ var QuestionGroup = ({
1935
1935
  "aria-errormessage": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
1936
1936
  "aria-describedby": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
1937
1937
  children: [
1938
- /* @__PURE__ */ jsxs12("div", { className: "pts-root-group-fieldset-legend-container", children: [
1939
- legendLabel && /* @__PURE__ */ jsxs12("legend", { children: [
1940
- /* @__PURE__ */ jsxs12("span", { children: [
1941
- legendLabel,
1942
- groupMandatory && /* @__PURE__ */ jsx14("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
1943
- ] }),
1944
- firstQuestion.hasValidationError && /* @__PURE__ */ jsxs12("span", { className: "sr-only", children: [
1945
- "Valideringsfel. ",
1946
- firstQuestion.validationDefaultMessesege
1947
- ] })
1938
+ legendLabel && /* @__PURE__ */ jsxs12("legend", { children: [
1939
+ /* @__PURE__ */ jsxs12("span", { children: [
1940
+ legendLabel,
1941
+ groupMandatory && /* @__PURE__ */ jsx14("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
1948
1942
  ] }),
1949
- firstQuestion.hasValidationError && /* @__PURE__ */ jsxs12("div", { className: "pts-root-error", id: firstQuestion.id + "-error", children: [
1950
- /* @__PURE__ */ jsx14("span", { "aria-label": "Valideringsfel", className: "errorDot", children: "!" }),
1951
- /* @__PURE__ */ jsx14("span", { className: "errorText", children: firstQuestion.validationDefaultMessesege })
1943
+ firstQuestion.hasValidationError && /* @__PURE__ */ jsxs12("span", { className: "sr-only", children: [
1944
+ "Valideringsfel. ",
1945
+ firstQuestion.validationDefaultMessesege
1952
1946
  ] })
1953
1947
  ] }),
1948
+ firstQuestion.hasValidationError && /* @__PURE__ */ jsxs12("div", { className: "pts-root-error", id: firstQuestion.id + "-error", children: [
1949
+ /* @__PURE__ */ jsx14("span", { "aria-label": "Valideringsfel", className: "errorDot", children: "!" }),
1950
+ /* @__PURE__ */ jsx14("span", { className: "errorText", children: firstQuestion.validationDefaultMessesege })
1951
+ ] }),
1954
1952
  groupQuestions
1955
1953
  ]
1956
1954
  }