optimized-react-component-library-xyz123 0.14.1 → 0.15.2
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 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +12 -0
- package/src/css/mobileView.css +9 -0
- package/src/css/questions.css +8 -4
- package/src/css/styles.css +36 -11
package/dist/index.js
CHANGED
|
@@ -2607,7 +2607,7 @@ var Header = ({
|
|
|
2607
2607
|
if (activatedLanguage === "sv") return "English";
|
|
2608
2608
|
else return "Svenska";
|
|
2609
2609
|
};
|
|
2610
|
-
return /* @__PURE__ */ (0, import_jsx_runtime18.
|
|
2610
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("header", { className: "pts-header-container", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "pts-header-content", children: [
|
|
2611
2611
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "pts-header-logo-container", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2612
2612
|
"a",
|
|
2613
2613
|
{
|
|
@@ -2618,7 +2618,7 @@ var Header = ({
|
|
|
2618
2618
|
children: activatedLanguage === "en" ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Logo_en, {}) }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Logo_sv, {}) })
|
|
2619
2619
|
}
|
|
2620
2620
|
) }),
|
|
2621
|
-
useLanguage && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
2621
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "pts-header-navigation-container", children: useLanguage && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
2622
2622
|
"button",
|
|
2623
2623
|
{
|
|
2624
2624
|
lang: activatedLanguage === "en" ? "en" : "sv",
|
|
@@ -2631,8 +2631,8 @@ var Header = ({
|
|
|
2631
2631
|
activatedLanguage === "sv" && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "sr-only", children: "Change language to English" })
|
|
2632
2632
|
]
|
|
2633
2633
|
}
|
|
2634
|
-
)
|
|
2635
|
-
] });
|
|
2634
|
+
) })
|
|
2635
|
+
] }) });
|
|
2636
2636
|
};
|
|
2637
2637
|
var HeaderStandard_default = Header;
|
|
2638
2638
|
|
|
@@ -3102,7 +3102,7 @@ var ValidationErrorSummaryList_default = ValidationErrorSummaryList;
|
|
|
3102
3102
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
3103
3103
|
var FormStatusMessagesScreenReader = ({ formStatus }) => {
|
|
3104
3104
|
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
|
|
3105
|
-
/* @__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!" }) }),
|
|
3105
|
+
/* @__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!" }) }),
|
|
3106
3106
|
/* @__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." : "" })
|
|
3107
3107
|
] });
|
|
3108
3108
|
};
|