optimized-react-component-library-xyz123 0.18.2 → 0.18.3
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +11 -0
- package/src/css/questions.css +2 -0
package/dist/index.js
CHANGED
|
@@ -1014,8 +1014,9 @@ var AddFiles = ({
|
|
|
1014
1014
|
const handleRemoveErrors = () => {
|
|
1015
1015
|
setErrorMessageAddingFile([]);
|
|
1016
1016
|
};
|
|
1017
|
+
const questionId = `question-${questionObject.id}`;
|
|
1017
1018
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
1018
|
-
!showPreview && visible && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "root-question addFile-question-container", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { role: "group", children: [
|
|
1019
|
+
!showPreview && visible && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { id: questionId, className: "root-question addFile-question-container", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { role: "group", children: [
|
|
1019
1020
|
questionObject.aboutText && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
1020
1021
|
"p",
|
|
1021
1022
|
{
|
|
@@ -3079,7 +3080,7 @@ var ValidationErrorSummaryList_default = ValidationErrorSummaryList;
|
|
|
3079
3080
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
3080
3081
|
var FormStatusMessagesScreenReader = ({ formStatus }) => {
|
|
3081
3082
|
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
|
|
3082
|
-
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { "aria-live": "assertive", children: formStatus === "failed" && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "mandatoryAsterisk", children: "N\xE5got gick fel, f\xF6rs\xF6k igen senare eller kontakta oss!" }) }),
|
|
3083
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { "aria-live": "assertive", children: formStatus === "failed" && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "pts-root-mandatoryAsterisk", children: "N\xE5got gick fel, f\xF6rs\xF6k igen senare eller kontakta oss!" }) }),
|
|
3083
3084
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { "aria-live": "polite", className: "visually-hidden", children: formStatus === "loading" ? "Ditt \xE4rende registreras. Uppdatera eller st\xE4ng inte sidan." : "" })
|
|
3084
3085
|
] });
|
|
3085
3086
|
};
|