optimized-react-component-library-xyz123 0.17.1 → 0.17.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.js +13 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/questions.css +8 -0
package/dist/index.mjs
CHANGED
|
@@ -1935,20 +1935,22 @@ 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
|
-
|
|
1939
|
-
/* @__PURE__ */ jsxs12("
|
|
1940
|
-
|
|
1941
|
-
|
|
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
|
+
] })
|
|
1942
1948
|
] }),
|
|
1943
|
-
firstQuestion.hasValidationError && /* @__PURE__ */ jsxs12("
|
|
1944
|
-
"Valideringsfel
|
|
1945
|
-
firstQuestion.validationDefaultMessesege
|
|
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 })
|
|
1946
1952
|
] })
|
|
1947
1953
|
] }),
|
|
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
|
-
] }),
|
|
1952
1954
|
groupQuestions
|
|
1953
1955
|
]
|
|
1954
1956
|
}
|