@pronto-tools-and-more/components 12.10.0 → 12.11.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
@@ -1021,6 +1021,25 @@ var HighlightedEPaper = ({ ePaperId }) => {
|
|
1021
1021
|
return /* @__PURE__ */ React.createElement("div", { className: "HighlightedEPaper" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
1022
1022
|
};
|
1023
1023
|
|
1024
|
+
// src/parts/HubsportForm/HubSpotForm.tsx
|
1025
|
+
var HubspotForm = ({ hubspotUrl }) => {
|
1026
|
+
const json = {
|
1027
|
+
content: [
|
1028
|
+
{
|
1029
|
+
tag: "button",
|
1030
|
+
type: "html",
|
1031
|
+
class: "scroll-top",
|
1032
|
+
attributes: {
|
1033
|
+
onclick: "window.scroll({ top: 0, left: 0, behavior: 'smooth' });"
|
1034
|
+
},
|
1035
|
+
content: `<iframe src="${hubspotUrl}" title="Hubspot Formular"></iframe>`
|
1036
|
+
}
|
1037
|
+
],
|
1038
|
+
type: "section"
|
1039
|
+
};
|
1040
|
+
return /* @__PURE__ */ React.createElement("div", { className: "HubspotForm" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
1041
|
+
};
|
1042
|
+
|
1024
1043
|
// src/parts/Language/Language.ts
|
1025
1044
|
var Language = {
|
1026
1045
|
De: "de",
|
@@ -1712,6 +1731,7 @@ export {
|
|
1712
1731
|
HeaderMenuItems,
|
1713
1732
|
Heading,
|
1714
1733
|
HighlightedEPaper,
|
1734
|
+
HubspotForm,
|
1715
1735
|
JsonComponent,
|
1716
1736
|
Language,
|
1717
1737
|
LanguageMapping,
|
@@ -33,6 +33,7 @@ export * from "../HeaderMenuItems/HeaderMenuItems.tsx";
|
|
33
33
|
export * from "../Heading/Heading.tsx";
|
34
34
|
export * from "../HighlightedEPaper/HighlightedEpaper.tsx";
|
35
35
|
export * from "../HrefLangAlternate/HrefLangAlternate.ts";
|
36
|
+
export * from "../HubsportForm/HubSpotForm.tsx";
|
36
37
|
export * from "../IArticleListItem/IArticleListItem.ts";
|
37
38
|
export * from "../IBookmarkInfo/IBookmarkInfo.ts";
|
38
39
|
export * from "../ICategoryItem/ICategoryItem.ts";
|