optimized-react-component-library-xyz123 0.1.33 → 0.1.35
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 +5 -2
- package/dist/index.mjs +5 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2092,8 +2092,11 @@ var ValidationErrorSummaryList = ({
|
|
|
2092
2092
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("ul", { children: validationErrorsList.map((questionId, i) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2093
2093
|
"a",
|
|
2094
2094
|
{
|
|
2095
|
-
href:
|
|
2096
|
-
onClick: (e) =>
|
|
2095
|
+
href: `#question-${questionId}`,
|
|
2096
|
+
onClick: (e) => {
|
|
2097
|
+
e.preventDefault;
|
|
2098
|
+
scrollToQuestion(questionId);
|
|
2099
|
+
},
|
|
2097
2100
|
className: "errorSummary-text",
|
|
2098
2101
|
children: getQuestionLabelById(questionId)
|
|
2099
2102
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -2028,8 +2028,11 @@ var ValidationErrorSummaryList = ({
|
|
|
2028
2028
|
/* @__PURE__ */ jsx20("ul", { children: validationErrorsList.map((questionId, i) => /* @__PURE__ */ jsx20("li", { children: /* @__PURE__ */ jsx20(
|
|
2029
2029
|
"a",
|
|
2030
2030
|
{
|
|
2031
|
-
href:
|
|
2032
|
-
onClick: (e) =>
|
|
2031
|
+
href: `#question-${questionId}`,
|
|
2032
|
+
onClick: (e) => {
|
|
2033
|
+
e.preventDefault;
|
|
2034
|
+
scrollToQuestion(questionId);
|
|
2035
|
+
},
|
|
2033
2036
|
className: "errorSummary-text",
|
|
2034
2037
|
children: getQuestionLabelById(questionId)
|
|
2035
2038
|
}
|
package/package.json
CHANGED