@pronto-tools-and-more/components 15.30.0 → 15.31.0
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/main.js
CHANGED
@@ -1216,13 +1216,16 @@ var getYoutubeUserUrl = (username) => {
|
|
1216
1216
|
};
|
1217
1217
|
|
1218
1218
|
// src/parts/HeaderLogo/HeaderLogo.tsx
|
1219
|
-
var HeaderLogo = ({
|
1219
|
+
var HeaderLogo = ({
|
1220
|
+
logoPath,
|
1221
|
+
url = "/"
|
1222
|
+
}) => {
|
1220
1223
|
const fullMessage = `<img src="${logoPath}" alt="" />`;
|
1221
1224
|
const json = {
|
1222
1225
|
type: "button",
|
1223
1226
|
tap: {
|
1224
1227
|
type: "navigate",
|
1225
|
-
path:
|
1228
|
+
path: url
|
1226
1229
|
},
|
1227
1230
|
message: fullMessage
|
1228
1231
|
};
|
@@ -1230,8 +1233,11 @@ var HeaderLogo = ({ logoPath }) => {
|
|
1230
1233
|
};
|
1231
1234
|
|
1232
1235
|
// src/parts/HeaderLogoSection/HeaderLogoSection.tsx
|
1233
|
-
var HeaderLogoSection = ({
|
1234
|
-
|
1236
|
+
var HeaderLogoSection = ({
|
1237
|
+
logoPath,
|
1238
|
+
url
|
1239
|
+
}) => {
|
1240
|
+
return /* @__PURE__ */ React.createElement("div", { className: "HeaderLogoSection" }, /* @__PURE__ */ React.createElement(HeaderLogo, { logoPath, url }));
|
1235
1241
|
};
|
1236
1242
|
|
1237
1243
|
// src/parts/HeaderMenuItems/HeaderMenuItems.tsx
|