@pronto-tools-and-more/components 9.4.0 → 9.6.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 +12 -2
 - package/dist/parts/CollectionRenderer/CollectionRenderer.d.ts +7 -5
 - package/dist/parts/Components/Components.d.ts +1 -1
 - package/dist/parts/IssueListItemRenderer/IssueListItemRenderer.d.ts +1 -1
 - package/dist/parts/Link/Link.d.ts +3 -1
 - package/package.json +1 -1
 - /package/dist/parts/IIssueListItem/{IIsueListItem.d.ts → IIssueListItem.d.ts} +0 -0
 
    
        package/dist/main.js
    CHANGED
    
    | 
         @@ -360,9 +360,19 @@ var Link = ({ 
     | 
|
| 
       360 
360 
     | 
    
         
             
              to,
         
     | 
| 
       361 
361 
     | 
    
         
             
              message,
         
     | 
| 
       362 
362 
     | 
    
         
             
              className,
         
     | 
| 
       363 
     | 
    
         
            -
              icon
         
     | 
| 
      
 363 
     | 
    
         
            +
              icon,
         
     | 
| 
      
 364 
     | 
    
         
            +
              iconPosition
         
     | 
| 
       364 
365 
     | 
    
         
             
            }) => {
         
     | 
| 
       365 
     | 
    
         
            -
               
     | 
| 
      
 366 
     | 
    
         
            +
              let fullMessage;
         
     | 
| 
      
 367 
     | 
    
         
            +
              if (icon) {
         
     | 
| 
      
 368 
     | 
    
         
            +
                if (iconPosition === "left") {
         
     | 
| 
      
 369 
     | 
    
         
            +
                  fullMessage = `<span class="LinkContent"><div class="MaskIcon MaskIcon${icon}"></div><span>${message}</span></span>`;
         
     | 
| 
      
 370 
     | 
    
         
            +
                } else {
         
     | 
| 
      
 371 
     | 
    
         
            +
                  fullMessage = `<span class="LinkContent"><span>${message}</span><div class="MaskIcon MaskIcon${icon}"></div></span>`;
         
     | 
| 
      
 372 
     | 
    
         
            +
                }
         
     | 
| 
      
 373 
     | 
    
         
            +
              } else {
         
     | 
| 
      
 374 
     | 
    
         
            +
                fullMessage = `<span class="LinkContent">${message}</span>`;
         
     | 
| 
      
 375 
     | 
    
         
            +
              }
         
     | 
| 
       366 
376 
     | 
    
         
             
              const json = {
         
     | 
| 
       367 
377 
     | 
    
         
             
                type: "button",
         
     | 
| 
       368 
378 
     | 
    
         
             
                tap: {
         
     | 
| 
         @@ -1,8 +1,10 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import type React from "react";
         
     | 
| 
      
 2 
     | 
    
         
            +
            export interface ICollectionItem {
         
     | 
| 
      
 3 
     | 
    
         
            +
                readonly name: string;
         
     | 
| 
      
 4 
     | 
    
         
            +
                readonly description: string;
         
     | 
| 
      
 5 
     | 
    
         
            +
                readonly imageSrc: string;
         
     | 
| 
      
 6 
     | 
    
         
            +
                readonly slug: string;
         
     | 
| 
      
 7 
     | 
    
         
            +
            }
         
     | 
| 
       2 
8 
     | 
    
         
             
            export interface CollectionRenderer {
         
     | 
| 
       3 
     | 
    
         
            -
                ( 
     | 
| 
       4 
     | 
    
         
            -
                    name: string;
         
     | 
| 
       5 
     | 
    
         
            -
                    description: string;
         
     | 
| 
       6 
     | 
    
         
            -
                    imageSrc: string;
         
     | 
| 
       7 
     | 
    
         
            -
                }): React.ReactNode;
         
     | 
| 
      
 9 
     | 
    
         
            +
                (item: ICollectionItem): React.ReactNode;
         
     | 
| 
       8 
10 
     | 
    
         
             
            }
         
     | 
| 
         @@ -14,7 +14,7 @@ export * from "../HeaderLogoSection/HeaderLogoSection.tsx"; 
     | 
|
| 
       14 
14 
     | 
    
         
             
            export * from "../HeaderMenuItems/HeaderMenuItems.tsx";
         
     | 
| 
       15 
15 
     | 
    
         
             
            export * from "../Heading/Heading.tsx";
         
     | 
| 
       16 
16 
     | 
    
         
             
            export * from "../IFooterSocialLink/IFooterSocialLink.ts";
         
     | 
| 
       17 
     | 
    
         
            -
            export * from "../IIssueListItem/ 
     | 
| 
      
 17 
     | 
    
         
            +
            export * from "../IIssueListItem/IIssueListItem.ts";
         
     | 
| 
       18 
18 
     | 
    
         
             
            export * from "../ISearchResult/ISearchResult.ts";
         
     | 
| 
       19 
19 
     | 
    
         
             
            export * from "../ISearchResultComponent/ISearchResultComponent.tsx";
         
     | 
| 
       20 
20 
     | 
    
         
             
            export * from "../IssueList/IssueList.tsx";
         
     | 
| 
         @@ -1,5 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import type React from "react";
         
     | 
| 
       2 
     | 
    
         
            -
            import type { IIssueListItem } from "../IIssueListItem/ 
     | 
| 
      
 2 
     | 
    
         
            +
            import type { IIssueListItem } from "../IIssueListItem/IIssueListItem.ts";
         
     | 
| 
       3 
3 
     | 
    
         
             
            export interface IssueListItemRenderer {
         
     | 
| 
       4 
4 
     | 
    
         
             
                ({ name, description, imageSrc, properties, }: IIssueListItem): React.ReactNode;
         
     | 
| 
       5 
5 
     | 
    
         
             
            }
         
     | 
| 
         @@ -1,6 +1,8 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            export  
     | 
| 
      
 1 
     | 
    
         
            +
            export type LinkIconPosition = 'left' | 'right';
         
     | 
| 
      
 2 
     | 
    
         
            +
            export declare const Link: ({ to, message, className, icon, iconPosition, }: {
         
     | 
| 
       2 
3 
     | 
    
         
             
                to: string;
         
     | 
| 
       3 
4 
     | 
    
         
             
                message: string;
         
     | 
| 
       4 
5 
     | 
    
         
             
                className?: string;
         
     | 
| 
       5 
6 
     | 
    
         
             
                icon?: string;
         
     | 
| 
      
 7 
     | 
    
         
            +
                iconPosition?: LinkIconPosition;
         
     | 
| 
       6 
8 
     | 
    
         
             
            }) => import("react").JSX.Element;
         
     | 
    
        package/package.json
    CHANGED
    
    
| 
         
            File without changes
         
     |