optimized-react-component-library-xyz123 0.17.1 → 0.18.1
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.js
CHANGED
|
@@ -2014,20 +2014,22 @@ 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
|
-
|
|
2018
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("
|
|
2019
|
-
|
|
2020
|
-
|
|
2017
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "pts-root-group-fieldset-legend-container", children: [
|
|
2018
|
+
legendLabel && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("legend", { children: [
|
|
2019
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { children: [
|
|
2020
|
+
legendLabel,
|
|
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
|
+
] })
|
|
2021
2027
|
] }),
|
|
2022
|
-
firstQuestion.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("
|
|
2023
|
-
"Valideringsfel
|
|
2024
|
-
firstQuestion.validationDefaultMessesege
|
|
2028
|
+
firstQuestion.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "pts-root-error", id: firstQuestion.id + "-error", children: [
|
|
2029
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { "aria-label": "Valideringsfel", className: "errorDot", children: "!" }),
|
|
2030
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "errorText", children: firstQuestion.validationDefaultMessesege })
|
|
2025
2031
|
] })
|
|
2026
2032
|
] }),
|
|
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
|
-
] }),
|
|
2031
2033
|
groupQuestions
|
|
2032
2034
|
]
|
|
2033
2035
|
}
|