optimized-react-component-library-xyz123 2.8.15 → 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 CHANGED
@@ -2220,16 +2220,11 @@ var RadioWithInfo = ({
2220
2220
  "aria-invalid": question.hasValidationError ? question.hasValidationError : void 0,
2221
2221
  "aria-describedby": question.hasValidationError ? errorId : void 0,
2222
2222
  children: [
2223
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("legend", { id: `label-${groupId}`, children: [
2224
- question.questionLabel,
2225
- " ",
2226
- question.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" })
2227
- ] }),
2228
2223
  groupedOptionArray.map((group, g_index) => {
2229
2224
  var _a2;
2230
2225
  let subId = "subheading-" + g_index;
2231
2226
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_react11.default.Fragment, { children: [
2232
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "pts-radioWithInfo-sub-headline", id: subId, children: group.category }),
2227
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("legend", { className: "pts-radioWithInfo-sub-headline", id: subId, children: group.category }),
2233
2228
  /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { role: "group", "aria-labelledby": subId, children: (_a2 = group.items) == null ? void 0 : _a2.map((option, o_index) => {
2234
2229
  var _a3, _b2, _c2, _d, _e;
2235
2230
  index++;