optimized-react-component-library-xyz123 0.1.9 → 0.1.10

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 CHANGED
@@ -1193,7 +1193,7 @@ var EditPreviewLinkStandard_default = EditPreviewLink;
1193
1193
  // src/NewTextComponentStandard/FooterStandard/FooterStandard.tsx
1194
1194
  var import_jsx_runtime9 = require("react/jsx-runtime");
1195
1195
  var Footer = ({ activatedLanguage = "sv" }) => {
1196
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "pts-footer-container", children: [
1196
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("footer", { className: "pts-footer-container", children: [
1197
1197
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1198
1198
  "svg",
1199
1199
  {
@@ -1229,14 +1229,22 @@ var Footer = ({ activatedLanguage = "sv" }) => {
1229
1229
  className: "pts-footer-linkList",
1230
1230
  "aria-label": activatedLanguage === "en" ? "Footer navigation" : "Sidfotsnavigering",
1231
1231
  children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("ul", { children: [
1232
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("a", { href: "https://www.pts.se/kontakt/", target: "_blank", rel: "noopener noreferrer", children: [
1233
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Contact (opens in new tab)" : "PTS Kontakt (\xF6ppnas i ny flik)" }),
1234
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Contact" : "Kontakt" })
1235
- ] }) }),
1236
1232
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1237
1233
  "a",
1238
1234
  {
1239
- href: "https://www.pts.se/om-oss/behandling-av-personuppgifter/",
1235
+ href: activatedLanguage === "en" ? "https://pts.se/en/contact/" : "https://www.pts.se/kontakt/",
1236
+ target: "_blank",
1237
+ rel: "noopener noreferrer",
1238
+ children: [
1239
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Contact (opens in new tab)" : "PTS Kontakt (\xF6ppnas i ny flik)" }),
1240
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Contact" : "Kontakt" })
1241
+ ]
1242
+ }
1243
+ ) }),
1244
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1245
+ "a",
1246
+ {
1247
+ href: activatedLanguage === "en" ? "https://pts.se/en/gdpr" : "https://www.pts.se/gdpr/",
1240
1248
  target: "_blank",
1241
1249
  rel: "noopener noreferrer",
1242
1250
  children: [
@@ -1248,7 +1256,7 @@ var Footer = ({ activatedLanguage = "sv" }) => {
1248
1256
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1249
1257
  "a",
1250
1258
  {
1251
- href: "https://www.pts.se/om-oss/om-pts.se/tillganglighetsredogorelse-for-pts-digitala-tjanster/",
1259
+ href: activatedLanguage === "en" ? "https://pts.se/en/accessibility-eservices" : "https://www.pts.se/tillganglighet-etjanster",
1252
1260
  target: "_blank",
1253
1261
  rel: "noopener noreferrer",
1254
1262
  children: [
@@ -1260,7 +1268,7 @@ var Footer = ({ activatedLanguage = "sv" }) => {
1260
1268
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1261
1269
  "a",
1262
1270
  {
1263
- href: "https://www.pts.se/om-oss/om-pts.se/kakor-pa-webbplatsen/kakor-pa-pts-e-tjanster/",
1271
+ href: activatedLanguage === "en" ? "https://pts.se/en/cookies-eservices" : "https://www.pts.se/kakor-etjanster",
1264
1272
  target: "_blank",
1265
1273
  rel: "noopener noreferrer",
1266
1274
  children: [
@@ -1655,8 +1663,12 @@ var Logo_en = () => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("svg", { widt
1655
1663
 
1656
1664
  // src/NewTextComponentStandard/HeaderStandard/HeaderStandard.tsx
1657
1665
  var import_jsx_runtime11 = require("react/jsx-runtime");
1658
- var Header = ({ activatedLanguage = "sv", useLanguage = true, SetActivatedLanguage = () => {
1659
- } }) => {
1666
+ var Header = ({
1667
+ activatedLanguage = "sv",
1668
+ useLanguage = true,
1669
+ SetActivatedLanguage = () => {
1670
+ }
1671
+ }) => {
1660
1672
  const logoLink = activatedLanguage === "en" ? "https://pts.se/en" : "https://pts.se/";
1661
1673
  const handleLanguageClick = () => {
1662
1674
  if (activatedLanguage === "sv") {
@@ -1669,7 +1681,7 @@ var Header = ({ activatedLanguage = "sv", useLanguage = true, SetActivatedLangua
1669
1681
  if (activatedLanguage === "sv") return "English";
1670
1682
  else return "Svenska";
1671
1683
  };
1672
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "pts-header-container", children: [
1684
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("header", { className: "pts-header-container", children: [
1673
1685
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1674
1686
  "a",
1675
1687
  {
package/dist/index.mjs CHANGED
@@ -1130,7 +1130,7 @@ var EditPreviewLinkStandard_default = EditPreviewLink;
1130
1130
  // src/NewTextComponentStandard/FooterStandard/FooterStandard.tsx
1131
1131
  import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
1132
1132
  var Footer = ({ activatedLanguage = "sv" }) => {
1133
- return /* @__PURE__ */ jsxs9("div", { className: "pts-footer-container", children: [
1133
+ return /* @__PURE__ */ jsxs9("footer", { className: "pts-footer-container", children: [
1134
1134
  /* @__PURE__ */ jsxs9(
1135
1135
  "svg",
1136
1136
  {
@@ -1166,14 +1166,22 @@ var Footer = ({ activatedLanguage = "sv" }) => {
1166
1166
  className: "pts-footer-linkList",
1167
1167
  "aria-label": activatedLanguage === "en" ? "Footer navigation" : "Sidfotsnavigering",
1168
1168
  children: /* @__PURE__ */ jsxs9("ul", { children: [
1169
- /* @__PURE__ */ jsx9("li", { children: /* @__PURE__ */ jsxs9("a", { href: "https://www.pts.se/kontakt/", target: "_blank", rel: "noopener noreferrer", children: [
1170
- /* @__PURE__ */ jsx9("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Contact (opens in new tab)" : "PTS Kontakt (\xF6ppnas i ny flik)" }),
1171
- /* @__PURE__ */ jsx9("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Contact" : "Kontakt" })
1172
- ] }) }),
1173
1169
  /* @__PURE__ */ jsx9("li", { children: /* @__PURE__ */ jsxs9(
1174
1170
  "a",
1175
1171
  {
1176
- href: "https://www.pts.se/om-oss/behandling-av-personuppgifter/",
1172
+ href: activatedLanguage === "en" ? "https://pts.se/en/contact/" : "https://www.pts.se/kontakt/",
1173
+ target: "_blank",
1174
+ rel: "noopener noreferrer",
1175
+ children: [
1176
+ /* @__PURE__ */ jsx9("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Contact (opens in new tab)" : "PTS Kontakt (\xF6ppnas i ny flik)" }),
1177
+ /* @__PURE__ */ jsx9("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Contact" : "Kontakt" })
1178
+ ]
1179
+ }
1180
+ ) }),
1181
+ /* @__PURE__ */ jsx9("li", { children: /* @__PURE__ */ jsxs9(
1182
+ "a",
1183
+ {
1184
+ href: activatedLanguage === "en" ? "https://pts.se/en/gdpr" : "https://www.pts.se/gdpr/",
1177
1185
  target: "_blank",
1178
1186
  rel: "noopener noreferrer",
1179
1187
  children: [
@@ -1185,7 +1193,7 @@ var Footer = ({ activatedLanguage = "sv" }) => {
1185
1193
  /* @__PURE__ */ jsx9("li", { children: /* @__PURE__ */ jsxs9(
1186
1194
  "a",
1187
1195
  {
1188
- href: "https://www.pts.se/om-oss/om-pts.se/tillganglighetsredogorelse-for-pts-digitala-tjanster/",
1196
+ href: activatedLanguage === "en" ? "https://pts.se/en/accessibility-eservices" : "https://www.pts.se/tillganglighet-etjanster",
1189
1197
  target: "_blank",
1190
1198
  rel: "noopener noreferrer",
1191
1199
  children: [
@@ -1197,7 +1205,7 @@ var Footer = ({ activatedLanguage = "sv" }) => {
1197
1205
  /* @__PURE__ */ jsx9("li", { children: /* @__PURE__ */ jsxs9(
1198
1206
  "a",
1199
1207
  {
1200
- href: "https://www.pts.se/om-oss/om-pts.se/kakor-pa-webbplatsen/kakor-pa-pts-e-tjanster/",
1208
+ href: activatedLanguage === "en" ? "https://pts.se/en/cookies-eservices" : "https://www.pts.se/kakor-etjanster",
1201
1209
  target: "_blank",
1202
1210
  rel: "noopener noreferrer",
1203
1211
  children: [
@@ -1592,8 +1600,12 @@ var Logo_en = () => /* @__PURE__ */ jsxs10("svg", { width: "189.0", height: "46.
1592
1600
 
1593
1601
  // src/NewTextComponentStandard/HeaderStandard/HeaderStandard.tsx
1594
1602
  import { jsx as jsx11, jsxs as jsxs11 } from "react/jsx-runtime";
1595
- var Header = ({ activatedLanguage = "sv", useLanguage = true, SetActivatedLanguage = () => {
1596
- } }) => {
1603
+ var Header = ({
1604
+ activatedLanguage = "sv",
1605
+ useLanguage = true,
1606
+ SetActivatedLanguage = () => {
1607
+ }
1608
+ }) => {
1597
1609
  const logoLink = activatedLanguage === "en" ? "https://pts.se/en" : "https://pts.se/";
1598
1610
  const handleLanguageClick = () => {
1599
1611
  if (activatedLanguage === "sv") {
@@ -1606,7 +1618,7 @@ var Header = ({ activatedLanguage = "sv", useLanguage = true, SetActivatedLangua
1606
1618
  if (activatedLanguage === "sv") return "English";
1607
1619
  else return "Svenska";
1608
1620
  };
1609
- return /* @__PURE__ */ jsxs11("div", { className: "pts-header-container", children: [
1621
+ return /* @__PURE__ */ jsxs11("header", { className: "pts-header-container", children: [
1610
1622
  /* @__PURE__ */ jsx11(
1611
1623
  "a",
1612
1624
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optimized-react-component-library-xyz123",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "A modern React component library using TypeScript.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",