@pronto-tools-and-more/components 7.1.0 → 7.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/main.js +10 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -86,7 +86,16 @@ var FooterSocialLinks = ({
86
86
 
87
87
  // src/parts/HeaderLogo/HeaderLogo.tsx
88
88
  var HeaderLogo = ({ logoPath }) => {
89
- return /* @__PURE__ */ React.createElement("a", { href: "/", className: "HeaderLogo" }, /* @__PURE__ */ React.createElement("img", { src: logoPath, alt: "" }));
89
+ const fullMessage = `<img src="${logoPath}" alt="" />`;
90
+ const json = {
91
+ type: "button",
92
+ tap: {
93
+ type: "navigate",
94
+ path: "/"
95
+ },
96
+ message: fullMessage
97
+ };
98
+ return /* @__PURE__ */ React.createElement("div", { className: "HeaderLogo" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
90
99
  };
91
100
 
92
101
  // src/parts/HeaderLogoSection/HeaderLogoSection.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "7.1.0",
3
+ "version": "7.2.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",