optimized-react-component-library-xyz123 0.1.27 → 0.1.28

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
@@ -162,7 +162,11 @@ var MultipleCheckboxes = ({
162
162
  question.questionLabel,
163
163
  " ",
164
164
  question.isQuestionMandatory && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" }),
165
- " "
165
+ " ",
166
+ question.hasValidationError && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { "aria-hidden": true, className: "sr-only", children: [
167
+ "Felmeddelande. ",
168
+ question.validationDefaultMessesege
169
+ ] })
166
170
  ] }),
167
171
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("ul", { children: (_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
168
172
  " ",
package/dist/index.mjs CHANGED
@@ -98,7 +98,11 @@ var MultipleCheckboxes = ({
98
98
  question.questionLabel,
99
99
  " ",
100
100
  question.isQuestionMandatory && /* @__PURE__ */ jsx2("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" }),
101
- " "
101
+ " ",
102
+ question.hasValidationError && /* @__PURE__ */ jsxs2("span", { "aria-hidden": true, className: "sr-only", children: [
103
+ "Felmeddelande. ",
104
+ question.validationDefaultMessesege
105
+ ] })
102
106
  ] }),
103
107
  /* @__PURE__ */ jsx2("ul", { children: (_a = question.options) == null ? void 0 : _a.map((option, index) => /* @__PURE__ */ jsx2("li", { children: /* @__PURE__ */ jsxs2(Fragment2, { children: [
104
108
  " ",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optimized-react-component-library-xyz123",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "A modern React component library using TypeScript with React 19 support.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",