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.js +11 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2014,22 +2014,20 @@ var QuestionGroup = ({
|
|
|
2014
2014
|
"aria-errormessage": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
|
|
2015
2015
|
"aria-describedby": firstQuestion.hasValidationError ? `${firstQuestion.id}-error` : void 0,
|
|
2016
2016
|
children: [
|
|
2017
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
groupMandatory && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
2022
|
-
] }),
|
|
2023
|
-
firstQuestion.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "sr-only", children: [
|
|
2024
|
-
"Valideringsfel. ",
|
|
2025
|
-
firstQuestion.validationDefaultMessesege
|
|
2026
|
-
] })
|
|
2017
|
+
legendLabel && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("legend", { children: [
|
|
2018
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { children: [
|
|
2019
|
+
legendLabel,
|
|
2020
|
+
groupMandatory && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
2027
2021
|
] }),
|
|
2028
|
-
firstQuestion.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("
|
|
2029
|
-
|
|
2030
|
-
|
|
2022
|
+
firstQuestion.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "sr-only", children: [
|
|
2023
|
+
"Valideringsfel. ",
|
|
2024
|
+
firstQuestion.validationDefaultMessesege
|
|
2031
2025
|
] })
|
|
2032
2026
|
] }),
|
|
2027
|
+
firstQuestion.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "pts-root-error", id: firstQuestion.id + "-error", children: [
|
|
2028
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { "aria-label": "Valideringsfel", className: "errorDot", children: "!" }),
|
|
2029
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "errorText", children: firstQuestion.validationDefaultMessesege })
|
|
2030
|
+
] }),
|
|
2033
2031
|
groupQuestions
|
|
2034
2032
|
]
|
|
2035
2033
|
}
|