optimized-react-component-library-xyz123 0.1.54 → 0.1.55
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 -2
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -79,7 +79,6 @@ var InputRadio = ({ question, isTouched, showPreview = false }) => {
|
|
|
79
79
|
"fieldset",
|
|
80
80
|
{
|
|
81
81
|
"aria-invalid": question.hasValidationError ? question.hasValidationError : void 0,
|
|
82
|
-
"aria-describedby": question.hasValidationError ? errorId : void 0,
|
|
83
82
|
"aria-errormessage": question.hasValidationError ? errorId : void 0,
|
|
84
83
|
children: [
|
|
85
84
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("legend", { id: `label-${groupId}`, children: [
|
|
@@ -357,7 +356,7 @@ var TextFieldStandard = ({
|
|
|
357
356
|
disabled: (_i = question.questionExtraAttribute) == null ? void 0 : _i.disabled,
|
|
358
357
|
required: question.isQuestionMandatory,
|
|
359
358
|
"aria-required": question.isQuestionMandatory,
|
|
360
|
-
"aria-describedby": [question.aboutText ? aboutId : null
|
|
359
|
+
"aria-describedby": [question.aboutText ? aboutId : null].filter(Boolean).join(" ") || void 0,
|
|
361
360
|
"aria-invalid": question.hasValidationError,
|
|
362
361
|
"aria-errormessage": question.hasValidationError ? errorId : void 0,
|
|
363
362
|
spellCheck: (_k = (_j = question.questionExtraAttribute) == null ? void 0 : _j.spellCheck) != null ? _k : void 0,
|
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,6 @@ var InputRadio = ({ question, isTouched, showPreview = false }) => {
|
|
|
14
14
|
"fieldset",
|
|
15
15
|
{
|
|
16
16
|
"aria-invalid": question.hasValidationError ? question.hasValidationError : void 0,
|
|
17
|
-
"aria-describedby": question.hasValidationError ? errorId : void 0,
|
|
18
17
|
"aria-errormessage": question.hasValidationError ? errorId : void 0,
|
|
19
18
|
children: [
|
|
20
19
|
/* @__PURE__ */ jsxs("legend", { id: `label-${groupId}`, children: [
|
|
@@ -292,7 +291,7 @@ var TextFieldStandard = ({
|
|
|
292
291
|
disabled: (_i = question.questionExtraAttribute) == null ? void 0 : _i.disabled,
|
|
293
292
|
required: question.isQuestionMandatory,
|
|
294
293
|
"aria-required": question.isQuestionMandatory,
|
|
295
|
-
"aria-describedby": [question.aboutText ? aboutId : null
|
|
294
|
+
"aria-describedby": [question.aboutText ? aboutId : null].filter(Boolean).join(" ") || void 0,
|
|
296
295
|
"aria-invalid": question.hasValidationError,
|
|
297
296
|
"aria-errormessage": question.hasValidationError ? errorId : void 0,
|
|
298
297
|
spellCheck: (_k = (_j = question.questionExtraAttribute) == null ? void 0 : _j.spellCheck) != null ? _k : void 0,
|
package/package.json
CHANGED