optimized-react-component-library-xyz123 0.1.59 → 0.1.61
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 +14 -14
- package/dist/index.mjs +14 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -899,26 +899,26 @@ var ExploreFiles = ({
|
|
|
899
899
|
showErrors && questionObject.error ? "filePickButton error" : ""
|
|
900
900
|
),
|
|
901
901
|
"aria-describedby": `${aboutId} ${questionObject.hasValidationError ? errorId : ""}`.trim(),
|
|
902
|
-
"aria-label": `${activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"} ${addFilesInfoText}`,
|
|
902
|
+
"aria-label": `${activatedLanguage === "sv" ? "Knap aria-label V\xE4lj fil" : "Choose file"} ${addFilesInfoText}`,
|
|
903
903
|
children: activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"
|
|
904
904
|
}
|
|
905
905
|
),
|
|
906
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
907
|
-
"input",
|
|
908
|
-
{
|
|
909
|
-
ref: fileInputRef,
|
|
910
|
-
type: "file",
|
|
911
|
-
className: "invisible",
|
|
912
|
-
multiple: true,
|
|
913
|
-
onChange: handleFiles,
|
|
914
|
-
tabIndex: -1,
|
|
915
|
-
id: inputId
|
|
916
|
-
}
|
|
917
|
-
),
|
|
918
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { "aria-hidden": true, className: "filePickText", children: addFilesInfoText })
|
|
906
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { "aria-hidden": true, className: "filePickText", children: addFilesInfoText + "span aria-hidden=true" })
|
|
919
907
|
]
|
|
920
908
|
}
|
|
921
909
|
),
|
|
910
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
911
|
+
"input",
|
|
912
|
+
{
|
|
913
|
+
ref: fileInputRef,
|
|
914
|
+
type: "file",
|
|
915
|
+
className: "invisible",
|
|
916
|
+
multiple: true,
|
|
917
|
+
onChange: handleFiles,
|
|
918
|
+
tabIndex: -1,
|
|
919
|
+
id: inputId
|
|
920
|
+
}
|
|
921
|
+
),
|
|
922
922
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
923
923
|
ScreenReaderErrors_default,
|
|
924
924
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -834,26 +834,26 @@ var ExploreFiles = ({
|
|
|
834
834
|
showErrors && questionObject.error ? "filePickButton error" : ""
|
|
835
835
|
),
|
|
836
836
|
"aria-describedby": `${aboutId} ${questionObject.hasValidationError ? errorId : ""}`.trim(),
|
|
837
|
-
"aria-label": `${activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"} ${addFilesInfoText}`,
|
|
837
|
+
"aria-label": `${activatedLanguage === "sv" ? "Knap aria-label V\xE4lj fil" : "Choose file"} ${addFilesInfoText}`,
|
|
838
838
|
children: activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"
|
|
839
839
|
}
|
|
840
840
|
),
|
|
841
|
-
/* @__PURE__ */ jsx8(
|
|
842
|
-
"input",
|
|
843
|
-
{
|
|
844
|
-
ref: fileInputRef,
|
|
845
|
-
type: "file",
|
|
846
|
-
className: "invisible",
|
|
847
|
-
multiple: true,
|
|
848
|
-
onChange: handleFiles,
|
|
849
|
-
tabIndex: -1,
|
|
850
|
-
id: inputId
|
|
851
|
-
}
|
|
852
|
-
),
|
|
853
|
-
/* @__PURE__ */ jsx8("span", { "aria-hidden": true, className: "filePickText", children: addFilesInfoText })
|
|
841
|
+
/* @__PURE__ */ jsx8("span", { "aria-hidden": true, className: "filePickText", children: addFilesInfoText + "span aria-hidden=true" })
|
|
854
842
|
]
|
|
855
843
|
}
|
|
856
844
|
),
|
|
845
|
+
/* @__PURE__ */ jsx8(
|
|
846
|
+
"input",
|
|
847
|
+
{
|
|
848
|
+
ref: fileInputRef,
|
|
849
|
+
type: "file",
|
|
850
|
+
className: "invisible",
|
|
851
|
+
multiple: true,
|
|
852
|
+
onChange: handleFiles,
|
|
853
|
+
tabIndex: -1,
|
|
854
|
+
id: inputId
|
|
855
|
+
}
|
|
856
|
+
),
|
|
857
857
|
/* @__PURE__ */ jsx8(
|
|
858
858
|
ScreenReaderErrors_default,
|
|
859
859
|
{
|
package/package.json
CHANGED