@pronto-tools-and-more/components 10.23.0 → 10.24.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
    
    | @@ -668,6 +668,29 @@ var PublicationToggle = () => { | |
| 668 668 | 
             
              return /* @__PURE__ */ React.createElement("div", { className: "PublicationToggle" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
         | 
| 669 669 | 
             
            };
         | 
| 670 670 |  | 
| 671 | 
            +
            // src/parts/ScrollToTop/ScrollToTop.tsx
         | 
| 672 | 
            +
            function ScrollToTop() {
         | 
| 673 | 
            +
              return /* @__PURE__ */ React.createElement("div", { className: "ScrollToTop" }, /* @__PURE__ */ React.createElement(
         | 
| 674 | 
            +
                JsonComponent,
         | 
| 675 | 
            +
                {
         | 
| 676 | 
            +
                  json: {
         | 
| 677 | 
            +
                    content: [
         | 
| 678 | 
            +
                      {
         | 
| 679 | 
            +
                        tag: "button",
         | 
| 680 | 
            +
                        type: "html",
         | 
| 681 | 
            +
                        class: "scroll-top",
         | 
| 682 | 
            +
                        attributes: {
         | 
| 683 | 
            +
                          onclick: "window.scroll({ top: 0, left: 0, behavior: 'smooth' });"
         | 
| 684 | 
            +
                        },
         | 
| 685 | 
            +
                        content: "<div class='MaskIcon MaskIconCaretUp' />"
         | 
| 686 | 
            +
                      }
         | 
| 687 | 
            +
                    ],
         | 
| 688 | 
            +
                    type: "section"
         | 
| 689 | 
            +
                  }
         | 
| 690 | 
            +
                }
         | 
| 691 | 
            +
              ));
         | 
| 692 | 
            +
            }
         | 
| 693 | 
            +
             | 
| 671 694 | 
             
            // src/parts/SearchField/SearchField.tsx
         | 
| 672 695 | 
             
            var SearchField = ({
         | 
| 673 696 | 
             
              placeholder
         | 
| @@ -971,6 +994,7 @@ export { | |
| 971 994 | 
             
              MenuItems,
         | 
| 972 995 | 
             
              PostContentBody,
         | 
| 973 996 | 
             
              PublicationToggle,
         | 
| 997 | 
            +
              ScrollToTop,
         | 
| 974 998 | 
             
              SearchField,
         | 
| 975 999 | 
             
              SearchHeaderSelect,
         | 
| 976 1000 | 
             
              SearchHeaderToggle,
         | 
| @@ -32,6 +32,7 @@ export * from "../MaskIcon/MaskIcon.tsx"; | |
| 32 32 | 
             
            export * from "../MenuItems/MenuItems.tsx";
         | 
| 33 33 | 
             
            export * from "../PostContentBody/PostContentBody.tsx";
         | 
| 34 34 | 
             
            export * from "../PublicationToggle/PublicationToggle.tsx";
         | 
| 35 | 
            +
            export * from "../ScrollToTop/ScrollToTop.tsx";
         | 
| 35 36 | 
             
            export * from "../SearchField/SearchField.tsx";
         | 
| 36 37 | 
             
            export * from "../SearchHeaderSelect/SearchHeaderSelect.tsx";
         | 
| 37 38 | 
             
            export * from "../SearchHeaderToggle/SearchHeaderToggle.tsx";
         | 
| @@ -0,0 +1 @@ | |
| 1 | 
            +
            export declare function ScrollToTop(): import("react").JSX.Element;
         |