@pronto-tools-and-more/components 6.36.0 → 6.37.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 +2 -2
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -63,7 +63,7 @@ var FooterItemsList = ({
63
63
 
64
64
  // src/parts/HeaderLogo/HeaderLogo.tsx
65
65
  var HeaderLogo = ({ logoPath }) => {
66
- return /* @__PURE__ */ React.createElement("div", { className: "HeaderLogo" }, /* @__PURE__ */ React.createElement("img", { src: logoPath, alt: "" }));
66
+ return /* @__PURE__ */ React.createElement("a", { href: "/", className: "HeaderLogo" }, /* @__PURE__ */ React.createElement("img", { src: logoPath, alt: "" }));
67
67
  };
68
68
 
69
69
  // src/parts/HeaderLogoSection/HeaderLogoSection.tsx
@@ -106,7 +106,7 @@ var Link = ({
106
106
  className,
107
107
  icon
108
108
  }) => {
109
- const fullMessage = icon ? `<span>${message}</span><img src="${icon}" alt=""/>` : message;
109
+ const fullMessage = icon ? `<span class="LinkContent"><span>${message}</span><div class="MaskIcon MaskIcon${icon}"></div>` : `<span class="LinkContent">${message}</span>`;
110
110
  const json = {
111
111
  type: "button",
112
112
  tap: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "6.36.0",
3
+ "version": "6.37.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",