optimized-react-component-library-xyz123 0.1.47 → 0.1.48

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
@@ -1851,30 +1851,40 @@ var EditPreviewLink = ({
1851
1851
  changeStepHandler,
1852
1852
  activatedLanguage = "sv"
1853
1853
  }) => {
1854
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "pts-editPreviewLink-container", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("a", { onClick: () => changeStepHandler(step), children: [
1855
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1856
- "svg",
1857
- {
1858
- "aria-hidden": "true",
1859
- focusable: "false",
1860
- xmlns: "http://www.w3.org/2000/svg",
1861
- width: "16",
1862
- height: "16",
1863
- viewBox: "0 0 16 16",
1864
- fill: "none",
1865
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1866
- "path",
1854
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "pts-editPreviewLink-container", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1855
+ "a",
1856
+ {
1857
+ href: "#",
1858
+ onClick: (e) => {
1859
+ e.preventDefault();
1860
+ changeStepHandler(step);
1861
+ },
1862
+ children: [
1863
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1864
+ "svg",
1867
1865
  {
1868
- d: "M10.0001 3.99996L12.0001 5.99996M8.66675 13.3333H14.0001M3.33341 10.6666L2.66675 13.3333L5.33341 12.6666L13.0574 4.94263C13.3074 4.69259 13.4478 4.35351 13.4478 3.99996C13.4478 3.64641 13.3074 3.30733 13.0574 3.05729L12.9427 2.94263C12.6927 2.69267 12.3536 2.55225 12.0001 2.55225C11.6465 2.55225 11.3075 2.69267 11.0574 2.94263L3.33341 10.6666Z",
1869
- stroke: "#6E3282",
1870
- strokeLinecap: "round",
1871
- strokeLinejoin: "round"
1866
+ "aria-hidden": "true",
1867
+ focusable: "false",
1868
+ xmlns: "http://www.w3.org/2000/svg",
1869
+ width: "16",
1870
+ height: "16",
1871
+ viewBox: "0 0 16 16",
1872
+ fill: "none",
1873
+ children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1874
+ "path",
1875
+ {
1876
+ d: "M10.0001 3.99996L12.0001 5.99996M8.66675 13.3333H14.0001M3.33341 10.6666L2.66675 13.3333L5.33341 12.6666L13.0574 4.94263C13.3074 4.69259 13.4478 4.35351 13.4478 3.99996C13.4478 3.64641 13.3074 3.30733 13.0574 3.05729L12.9427 2.94263C12.6927 2.69267 12.3536 2.55225 12.0001 2.55225C11.6465 2.55225 11.3075 2.69267 11.0574 2.94263L3.33341 10.6666Z",
1877
+ stroke: "#6E3282",
1878
+ strokeLinecap: "round",
1879
+ strokeLinejoin: "round"
1880
+ }
1881
+ )
1872
1882
  }
1873
- )
1874
- }
1875
- ),
1876
- activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}`
1877
- ] }) });
1883
+ ),
1884
+ activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}`
1885
+ ]
1886
+ }
1887
+ ) });
1878
1888
  };
1879
1889
  var EditPreviewLinkStandard_default = EditPreviewLink;
1880
1890
 
package/dist/index.mjs CHANGED
@@ -1786,30 +1786,40 @@ var EditPreviewLink = ({
1786
1786
  changeStepHandler,
1787
1787
  activatedLanguage = "sv"
1788
1788
  }) => {
1789
- return /* @__PURE__ */ jsx14("div", { className: "pts-editPreviewLink-container", children: /* @__PURE__ */ jsxs13("a", { onClick: () => changeStepHandler(step), children: [
1790
- /* @__PURE__ */ jsx14(
1791
- "svg",
1792
- {
1793
- "aria-hidden": "true",
1794
- focusable: "false",
1795
- xmlns: "http://www.w3.org/2000/svg",
1796
- width: "16",
1797
- height: "16",
1798
- viewBox: "0 0 16 16",
1799
- fill: "none",
1800
- children: /* @__PURE__ */ jsx14(
1801
- "path",
1789
+ return /* @__PURE__ */ jsx14("div", { className: "pts-editPreviewLink-container", children: /* @__PURE__ */ jsxs13(
1790
+ "a",
1791
+ {
1792
+ href: "#",
1793
+ onClick: (e) => {
1794
+ e.preventDefault();
1795
+ changeStepHandler(step);
1796
+ },
1797
+ children: [
1798
+ /* @__PURE__ */ jsx14(
1799
+ "svg",
1802
1800
  {
1803
- d: "M10.0001 3.99996L12.0001 5.99996M8.66675 13.3333H14.0001M3.33341 10.6666L2.66675 13.3333L5.33341 12.6666L13.0574 4.94263C13.3074 4.69259 13.4478 4.35351 13.4478 3.99996C13.4478 3.64641 13.3074 3.30733 13.0574 3.05729L12.9427 2.94263C12.6927 2.69267 12.3536 2.55225 12.0001 2.55225C11.6465 2.55225 11.3075 2.69267 11.0574 2.94263L3.33341 10.6666Z",
1804
- stroke: "#6E3282",
1805
- strokeLinecap: "round",
1806
- strokeLinejoin: "round"
1801
+ "aria-hidden": "true",
1802
+ focusable: "false",
1803
+ xmlns: "http://www.w3.org/2000/svg",
1804
+ width: "16",
1805
+ height: "16",
1806
+ viewBox: "0 0 16 16",
1807
+ fill: "none",
1808
+ children: /* @__PURE__ */ jsx14(
1809
+ "path",
1810
+ {
1811
+ d: "M10.0001 3.99996L12.0001 5.99996M8.66675 13.3333H14.0001M3.33341 10.6666L2.66675 13.3333L5.33341 12.6666L13.0574 4.94263C13.3074 4.69259 13.4478 4.35351 13.4478 3.99996C13.4478 3.64641 13.3074 3.30733 13.0574 3.05729L12.9427 2.94263C12.6927 2.69267 12.3536 2.55225 12.0001 2.55225C11.6465 2.55225 11.3075 2.69267 11.0574 2.94263L3.33341 10.6666Z",
1812
+ stroke: "#6E3282",
1813
+ strokeLinecap: "round",
1814
+ strokeLinejoin: "round"
1815
+ }
1816
+ )
1807
1817
  }
1808
- )
1809
- }
1810
- ),
1811
- activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}`
1812
- ] }) });
1818
+ ),
1819
+ activatedLanguage === "en" ? `Edit step ${step.step}` : `Redigera steg ${step.step}`
1820
+ ]
1821
+ }
1822
+ ) });
1813
1823
  };
1814
1824
  var EditPreviewLinkStandard_default = EditPreviewLink;
1815
1825
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optimized-react-component-library-xyz123",
3
- "version": "0.1.47",
3
+ "version": "0.1.48",
4
4
  "description": "A modern React component library using TypeScript with React 19 support.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",