@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 = ({ logoPath }) => {
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 = ({ logoPath }) => {
1234
- return /* @__PURE__ */ React.createElement("div", { className: "HeaderLogoSection" }, /* @__PURE__ */ React.createElement(HeaderLogo, { logoPath }));
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
@@ -1,3 +1,4 @@
1
- export declare const HeaderLogo: ({ logoPath }: {
1
+ export declare const HeaderLogo: ({ logoPath, url, }: {
2
2
  logoPath: string;
3
+ url?: string;
3
4
  }) => import("react").JSX.Element;
@@ -1,3 +1,4 @@
1
- export declare const HeaderLogoSection: ({ logoPath }: {
1
+ export declare const HeaderLogoSection: ({ logoPath, url, }: {
2
2
  logoPath: string;
3
+ url?: string;
3
4
  }) => import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "15.30.0",
3
+ "version": "15.31.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",