optimized-react-component-library-xyz123 0.1.137 → 0.1.139
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 +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +8 -4
- package/src/css/mobileView.css +149 -14
- package/src/css/styles.css +103 -87
package/dist/index.js
CHANGED
|
@@ -676,7 +676,7 @@ var SelectedFiles = ({
|
|
|
676
676
|
removeError();
|
|
677
677
|
},
|
|
678
678
|
"aria-label": activatedLanguage === "sv" ? `St\xE4ng felmeddelandet` : `Close error message`,
|
|
679
|
-
children:
|
|
679
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M0.75 12.75L12.75 0.75M0.75 0.75L12.75 12.75", stroke: "#8E0039", "stroke-width": "1.5", "stroke-linecap": "round" }) })
|
|
680
680
|
}
|
|
681
681
|
) })
|
|
682
682
|
] }) }),
|
|
@@ -733,7 +733,7 @@ var SelectedFiles = ({
|
|
|
733
733
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_bootstrap.Row, { style: { marginTop: "12px", marginBottom: "12px" }, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_bootstrap.Col, { className: "makeSpace" }) })
|
|
734
734
|
] }, index) }) }) }, `file-${file.FileName}-${index}`) });
|
|
735
735
|
}) }),
|
|
736
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { ref: theDiv,
|
|
736
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { ref: theDiv, className: "pts-clipboard-container" })
|
|
737
737
|
] });
|
|
738
738
|
};
|
|
739
739
|
var SelectedFilesStandard_default = SelectedFiles;
|
|
@@ -1896,7 +1896,7 @@ var CookieBanner_default = CookieBanner;
|
|
|
1896
1896
|
// src/components/layout/FooterStandard/FooterStandard.tsx
|
|
1897
1897
|
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
1898
1898
|
var Footer = ({ activatedLanguage = "sv" }) => {
|
|
1899
|
-
return /* @__PURE__ */ (0, import_jsx_runtime14.
|
|
1899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("footer", { className: "pts-footer-container", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "pts-footer-content", children: [
|
|
1900
1900
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
1901
1901
|
"svg",
|
|
1902
1902
|
{
|
|
@@ -1975,7 +1975,7 @@ var Footer = ({ activatedLanguage = "sv" }) => {
|
|
|
1975
1975
|
}
|
|
1976
1976
|
) })
|
|
1977
1977
|
] }) })
|
|
1978
|
-
] });
|
|
1978
|
+
] }) });
|
|
1979
1979
|
};
|
|
1980
1980
|
var FooterStandard_default = Footer;
|
|
1981
1981
|
|
|
@@ -2377,7 +2377,7 @@ var Header = ({
|
|
|
2377
2377
|
else return "Svenska";
|
|
2378
2378
|
};
|
|
2379
2379
|
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("header", { className: "pts-header-container", children: [
|
|
2380
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
2380
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "pts-header-logo-container", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
2381
2381
|
"a",
|
|
2382
2382
|
{
|
|
2383
2383
|
className: "pts-header-logo",
|
|
@@ -2386,7 +2386,7 @@ var Header = ({
|
|
|
2386
2386
|
"aria-label": activatedLanguage === "en" ? "PTS logotype (to the homepage on pts.se, opens in new tab)" : "PTS logotyp (till startsidan p\xE5 pts.se, \xF6ppnas i ny flik)",
|
|
2387
2387
|
children: activatedLanguage === "en" ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Logo_en, {}) }) : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Logo_sv, {}) })
|
|
2388
2388
|
}
|
|
2389
|
-
),
|
|
2389
|
+
) }),
|
|
2390
2390
|
useLanguage && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
2391
2391
|
"button",
|
|
2392
2392
|
{
|
|
@@ -2394,7 +2394,7 @@ var Header = ({
|
|
|
2394
2394
|
className: "pts-languageButton",
|
|
2395
2395
|
onClick: handleLanguageClick,
|
|
2396
2396
|
children: [
|
|
2397
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(LanguageIcon, {}) }),
|
|
2397
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "languageIcon", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(LanguageIcon, {}) }) }),
|
|
2398
2398
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", className: "pts-languageButton", children: getLanguageLabel() }),
|
|
2399
2399
|
activatedLanguage === "en" && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "sr-only", children: "\xC4ndra spr\xE5k till svenska" }),
|
|
2400
2400
|
activatedLanguage === "sv" && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "sr-only", children: "Change language to English" })
|