optimized-react-component-library-xyz123 2.8.16 → 2.8.17
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 +1 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/questions.css +6 -0
package/dist/index.mjs
CHANGED
|
@@ -2134,16 +2134,11 @@ var RadioWithInfo = ({
|
|
|
2134
2134
|
"aria-invalid": question.hasValidationError ? question.hasValidationError : void 0,
|
|
2135
2135
|
"aria-describedby": question.hasValidationError ? errorId : void 0,
|
|
2136
2136
|
children: [
|
|
2137
|
-
/* @__PURE__ */ jsxs17("legend", { id: `label-${groupId}`, children: [
|
|
2138
|
-
question.questionLabel,
|
|
2139
|
-
" ",
|
|
2140
|
-
question.isQuestionMandatory && /* @__PURE__ */ jsx21("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
|
|
2141
|
-
] }),
|
|
2142
2137
|
groupedOptionArray.map((group, g_index) => {
|
|
2143
2138
|
var _a2;
|
|
2144
2139
|
let subId = "subheading-" + g_index;
|
|
2145
2140
|
return /* @__PURE__ */ jsxs17(React7.Fragment, { children: [
|
|
2146
|
-
/* @__PURE__ */ jsx21("
|
|
2141
|
+
/* @__PURE__ */ jsx21("legend", { className: "pts-radioWithInfo-sub-headline", id: subId, children: group.category }),
|
|
2147
2142
|
/* @__PURE__ */ jsx21("div", { role: "group", "aria-labelledby": subId, children: (_a2 = group.items) == null ? void 0 : _a2.map((option, o_index) => {
|
|
2148
2143
|
var _a3, _b2, _c2, _d, _e;
|
|
2149
2144
|
index++;
|