@zealicsolutions/web-ui 0.4.45 → 0.4.46
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/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/Buttons/Buttons.stories.d.ts +1 -1
- package/dist/cjs/src/atoms/Buttons/TextButton.d.ts +1 -1
- package/dist/cjs/src/atoms/Input/helpers.d.ts +1 -1
- package/dist/cjs/src/atoms/RegularImage/RegularImage.d.ts +5 -5
- package/dist/cjs/src/atoms/RegularImage/RegularImage.stories.d.ts +1 -1
- package/dist/cjs/src/containers/Container.d.ts +13 -7
- package/dist/cjs/src/containers/styles.d.ts +4 -2
- package/dist/cjs/src/containers/types/types.d.ts +5 -3
- package/dist/cjs/src/molecules/Columns/Column.d.ts +1 -1
- package/dist/cjs/src/molecules/Columns/styles.d.ts +2 -2
- package/dist/cjs/src/molecules/Image/Image.d.ts +2 -1
- package/dist/cjs/src/organisms/Footer/styles.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/Buttons/Buttons.stories.d.ts +1 -1
- package/dist/esm/src/atoms/Buttons/TextButton.d.ts +1 -1
- package/dist/esm/src/atoms/Input/helpers.d.ts +1 -1
- package/dist/esm/src/atoms/RegularImage/RegularImage.d.ts +5 -5
- package/dist/esm/src/atoms/RegularImage/RegularImage.stories.d.ts +1 -1
- package/dist/esm/src/containers/Container.d.ts +13 -7
- package/dist/esm/src/containers/styles.d.ts +4 -2
- package/dist/esm/src/containers/types/types.d.ts +5 -3
- package/dist/esm/src/molecules/Columns/Column.d.ts +1 -1
- package/dist/esm/src/molecules/Columns/styles.d.ts +2 -2
- package/dist/esm/src/molecules/Image/Image.d.ts +2 -1
- package/dist/esm/src/organisms/Footer/styles.d.ts +1 -1
- package/dist/index.d.ts +26 -16
- package/package.json +1 -1
| @@ -7,7 +7,7 @@ declare const _default: { | |
| 7 7 | 
             
                title: string;
         | 
| 8 8 | 
             
                component: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
         | 
| 9 9 | 
             
                    target: "_blank";
         | 
| 10 | 
            -
                } & Pick<import("../..").BaseButtonProps, "children" | " | 
| 10 | 
            +
                } & Pick<import("../..").BaseButtonProps, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
         | 
| 11 11 | 
             
                    buttonLink: string;
         | 
| 12 12 | 
             
                    elementId: string;
         | 
| 13 13 | 
             
                    $styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
         | 
| @@ -9,7 +9,7 @@ export declare type TextButtonProps = Pick<BaseButtonProps, 'disabled' | 'onClic | |
| 9 9 | 
             
            }>;
         | 
| 10 10 | 
             
            export declare const TextButton: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
         | 
| 11 11 | 
             
                target: "_blank";
         | 
| 12 | 
            -
            } & Pick<BaseButtonProps, "children" | " | 
| 12 | 
            +
            } & Pick<BaseButtonProps, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
         | 
| 13 13 | 
             
                buttonLink: string;
         | 
| 14 14 | 
             
                elementId: string;
         | 
| 15 15 | 
             
                $styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
         | 
| @@ -11,7 +11,7 @@ export declare type MaskConfig = { | |
| 11 11 | 
             
            };
         | 
| 12 12 | 
             
            export declare const getSpecificInputProps: (type: InputFieldTypes) => {
         | 
| 13 13 | 
             
                type?: HTMLInputTypeAttribute | undefined;
         | 
| 14 | 
            -
                inputMode?: " | 
| 14 | 
            +
                inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
         | 
| 15 15 | 
             
            };
         | 
| 16 16 | 
             
            export declare const getMaskInputProps: (type?: InputFieldTypes, config?: MaskConfig) => Pick<MaskedInputProps, 'pipe' | 'mask' | 'placeholder' | 'keepCharPositions'>;
         | 
| 17 17 | 
             
            export declare const getInputIconColor: ({ isEditMode, isFocused, isError, disabled, }: Pick<Partial<{
         | 
| @@ -1,5 +1,5 @@ | |
| 1 | 
            -
            import type { Callback } from 'typescript';
         | 
| 2 | 
            -
            import {  | 
| 1 | 
            +
            import type { Callback, OverrideStyles } from 'typescript';
         | 
| 2 | 
            +
            import { SizesTypes } from 'theme';
         | 
| 3 3 | 
             
            export declare type RegularImageProps = {
         | 
| 4 4 | 
             
                src: string;
         | 
| 5 5 | 
             
            } & Partial<{
         | 
| @@ -7,7 +7,7 @@ export declare type RegularImageProps = { | |
| 7 7 | 
             
                width: number | string;
         | 
| 8 8 | 
             
                height: number | string;
         | 
| 9 9 | 
             
                onClick: Callback;
         | 
| 10 | 
            -
                cornerRadius: number;
         | 
| 10 | 
            +
                cornerRadius: SizesTypes | number;
         | 
| 11 11 | 
             
            }> & OverrideStyles;
         | 
| 12 12 | 
             
            export declare const RegularImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
         | 
| 13 13 | 
             
                src: string;
         | 
| @@ -16,7 +16,7 @@ export declare const RegularImage: import("styled-components").StyledComponent<" | |
| 16 16 | 
             
                width: number | string;
         | 
| 17 17 | 
             
                height: number | string;
         | 
| 18 18 | 
             
                onClick: Callback;
         | 
| 19 | 
            -
                cornerRadius: number;
         | 
| 19 | 
            +
                cornerRadius: SizesTypes | number;
         | 
| 20 20 | 
             
            }> & OverrideStyles, never>;
         | 
| 21 21 | 
             
            export declare const BackgroundImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
         | 
| 22 22 | 
             
                src: string;
         | 
| @@ -25,5 +25,5 @@ export declare const BackgroundImage: import("styled-components").StyledComponen | |
| 25 25 | 
             
                width: number | string;
         | 
| 26 26 | 
             
                height: number | string;
         | 
| 27 27 | 
             
                onClick: Callback;
         | 
| 28 | 
            -
                cornerRadius: number;
         | 
| 28 | 
            +
                cornerRadius: SizesTypes | number;
         | 
| 29 29 | 
             
            }> & OverrideStyles, never>;
         | 
| @@ -9,7 +9,7 @@ declare const _default: { | |
| 9 9 | 
             
                    width: string | number;
         | 
| 10 10 | 
             
                    height: string | number;
         | 
| 11 11 | 
             
                    onClick: import("../../typescript").Callback;
         | 
| 12 | 
            -
                    cornerRadius: number;
         | 
| 12 | 
            +
                    cornerRadius: number | import("../..").SizesTypes;
         | 
| 13 13 | 
             
                }> & import("../../typescript").OverrideStyles, never>;
         | 
| 14 14 | 
             
            };
         | 
| 15 15 | 
             
            export default _default;
         | 
| @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            import { ContainerComponentProps, ContainerProps } from 'containers';
         | 
| 2 2 | 
             
            import { Dispatch, ReactNode, SetStateAction } from 'react';
         | 
| 3 | 
            -
            import { AnyObject } from 'typescript';
         | 
| 3 | 
            +
            import type { AnyObject } from 'typescript';
         | 
| 4 4 | 
             
            export declare const Container: ({ children, wide, compact, type, props, id, metadata, isMobile, }: Partial<{
         | 
| 5 5 | 
             
                type: import("containers").ContainerType;
         | 
| 6 6 | 
             
                containerTemplateType: "row_content_container";
         | 
| @@ -13,8 +13,10 @@ export declare const Container: ({ children, wide, compact, type, props, id, met | |
| 13 13 | 
             
                        cornerRadius: number | import("theme").SizesTypes;
         | 
| 14 14 | 
             
                        gap: import("theme").SizesTypes;
         | 
| 15 15 | 
             
                        styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
         | 
| 16 | 
            -
                         | 
| 17 | 
            -
                         | 
| 16 | 
            +
                        paddingTop: import("theme").SizesTypes;
         | 
| 17 | 
            +
                        paddingBottom: import("theme").SizesTypes;
         | 
| 18 | 
            +
                        paddingLeft: import("theme").SizesTypes;
         | 
| 19 | 
            +
                        paddingRight: import("theme").SizesTypes;
         | 
| 18 20 | 
             
                        autoplay: boolean;
         | 
| 19 21 | 
             
                        autoplayDuration: number;
         | 
| 20 22 | 
             
                        formProps: import("containers").FormContainerProps;
         | 
| @@ -34,8 +36,10 @@ export declare const Container: ({ children, wide, compact, type, props, id, met | |
| 34 36 | 
             
                        cornerRadius: number | import("theme").SizesTypes;
         | 
| 35 37 | 
             
                        gap: import("theme").SizesTypes;
         | 
| 36 38 | 
             
                        styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
         | 
| 37 | 
            -
                         | 
| 38 | 
            -
                         | 
| 39 | 
            +
                        paddingTop: import("theme").SizesTypes;
         | 
| 40 | 
            +
                        paddingBottom: import("theme").SizesTypes;
         | 
| 41 | 
            +
                        paddingLeft: import("theme").SizesTypes;
         | 
| 42 | 
            +
                        paddingRight: import("theme").SizesTypes;
         | 
| 39 43 | 
             
                        autoplay: boolean;
         | 
| 40 44 | 
             
                        autoplayDuration: number;
         | 
| 41 45 | 
             
                        formProps: import("containers").FormContainerProps;
         | 
| @@ -53,8 +57,10 @@ export declare const Container: ({ children, wide, compact, type, props, id, met | |
| 53 57 | 
             
                    cornerRadius: number | import("theme").SizesTypes;
         | 
| 54 58 | 
             
                    gap: import("theme").SizesTypes;
         | 
| 55 59 | 
             
                    styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
         | 
| 56 | 
            -
                     | 
| 57 | 
            -
                     | 
| 60 | 
            +
                    paddingTop: import("theme").SizesTypes;
         | 
| 61 | 
            +
                    paddingBottom: import("theme").SizesTypes;
         | 
| 62 | 
            +
                    paddingLeft: import("theme").SizesTypes;
         | 
| 63 | 
            +
                    paddingRight: import("theme").SizesTypes;
         | 
| 58 64 | 
             
                    autoplay: boolean;
         | 
| 59 65 | 
             
                    autoplayDuration: number;
         | 
| 60 66 | 
             
                    formProps: import("containers").FormContainerProps;
         | 
| @@ -9,8 +9,10 @@ export declare const ContainerWrapper: import("styled-components").StyledCompone | |
| 9 9 | 
             
                    cornerRadius: number | SizesTypes;
         | 
| 10 10 | 
             
                    gap: SizesTypes;
         | 
| 11 11 | 
             
                    styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
         | 
| 12 | 
            -
                     | 
| 13 | 
            -
                     | 
| 12 | 
            +
                    paddingTop: SizesTypes;
         | 
| 13 | 
            +
                    paddingBottom: SizesTypes;
         | 
| 14 | 
            +
                    paddingLeft: SizesTypes;
         | 
| 15 | 
            +
                    paddingRight: SizesTypes;
         | 
| 14 16 | 
             
                    autoplay: boolean;
         | 
| 15 17 | 
             
                    autoplayDuration: number;
         | 
| 16 18 | 
             
                    formProps: import("containers/types/types").FormContainerProps;
         | 
| @@ -49,7 +49,7 @@ export declare type FormContainerProps = { | |
| 49 49 | 
             
                mode: keyof ValidationMode;
         | 
| 50 50 | 
             
            };
         | 
| 51 51 | 
             
            export declare type PaddingVariants = 'top' | 'right' | 'bottom' | 'left';
         | 
| 52 | 
            -
            export declare type Padding = Record<PaddingVariants, SizesTypes |  | 
| 52 | 
            +
            export declare type Padding = Record<PaddingVariants, SizesTypes | number> | SizesTypes | string;
         | 
| 53 53 | 
             
            export declare type ContainerPropsType = Partial<{
         | 
| 54 54 | 
             
                position: ContainerPositionType;
         | 
| 55 55 | 
             
                alignItems: ContainerAlignItemsType;
         | 
| @@ -57,8 +57,10 @@ export declare type ContainerPropsType = Partial<{ | |
| 57 57 | 
             
                cornerRadius: SizesTypes | number;
         | 
| 58 58 | 
             
                gap: SizesTypes;
         | 
| 59 59 | 
             
                styles: StylesType;
         | 
| 60 | 
            -
                 | 
| 61 | 
            -
                 | 
| 60 | 
            +
                paddingTop: SizesTypes;
         | 
| 61 | 
            +
                paddingBottom: SizesTypes;
         | 
| 62 | 
            +
                paddingLeft: SizesTypes;
         | 
| 63 | 
            +
                paddingRight: SizesTypes;
         | 
| 62 64 | 
             
                autoplay: boolean;
         | 
| 63 65 | 
             
                autoplayDuration: number;
         | 
| 64 66 | 
             
                formProps: FormContainerProps;
         | 
| @@ -8,5 +8,5 @@ export declare const ColumnImage: import("styled-components").StyledComponent<"i | |
| 8 8 | 
             
                width: string | number;
         | 
| 9 9 | 
             
                height: string | number;
         | 
| 10 10 | 
             
                onClick: import("../../typescript").Callback;
         | 
| 11 | 
            -
                cornerRadius: number;
         | 
| 11 | 
            +
                cornerRadius: number | import("../..").SizesTypes;
         | 
| 12 12 | 
             
            }> & import("../../typescript").OverrideStyles, never>;
         | 
| @@ -4,7 +4,7 @@ export declare const ColumnWrapper: import("styled-components").StyledComponent< | |
| 4 4 | 
             
            export declare const InfoWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
         | 
| 5 5 | 
             
            export declare const Link: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
         | 
| 6 6 | 
             
                target: "_blank";
         | 
| 7 | 
            -
            } & Pick<import("..").BaseButtonProps, "children" | " | 
| 7 | 
            +
            } & Pick<import("..").BaseButtonProps, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
         | 
| 8 8 | 
             
                buttonLink: string;
         | 
| 9 9 | 
             
                elementId: string;
         | 
| 10 10 | 
             
                $styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
         | 
| @@ -23,6 +23,6 @@ export declare const ColumnBackgroundImage: import("styled-components").StyledCo | |
| 23 23 | 
             
                width: string | number;
         | 
| 24 24 | 
             
                height: string | number;
         | 
| 25 25 | 
             
                onClick: import("../../typescript").Callback;
         | 
| 26 | 
            -
                cornerRadius: number;
         | 
| 26 | 
            +
                cornerRadius: number | import("../..").SizesTypes;
         | 
| 27 27 | 
             
            }> & import("../../typescript").OverrideStyles, never>;
         | 
| 28 28 | 
             
            export declare const ColumnBackgroundImageOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
         | 
| @@ -1,5 +1,6 @@ | |
| 1 1 | 
             
            import { MetadataType } from 'containers';
         | 
| 2 2 | 
             
            import { Callback, StylesType } from 'typescript';
         | 
| 3 | 
            +
            import { SizesTypes } from 'theme';
         | 
| 3 4 | 
             
            export declare type ImageProps = {
         | 
| 4 5 | 
             
                src: string;
         | 
| 5 6 | 
             
            } & Partial<{
         | 
| @@ -9,7 +10,7 @@ export declare type ImageProps = { | |
| 9 10 | 
             
                onClick: Callback;
         | 
| 10 11 | 
             
                width: number;
         | 
| 11 12 | 
             
                height: number;
         | 
| 12 | 
            -
                cornerRadius: number;
         | 
| 13 | 
            +
                cornerRadius: SizesTypes | number;
         | 
| 13 14 | 
             
                behaveAs: 'background' | 'regular';
         | 
| 14 15 | 
             
                styles: StylesType;
         | 
| 15 16 | 
             
                metadata: MetadataType;
         | 
| @@ -8,7 +8,7 @@ export declare const FooterImage: import("styled-components").StyledComponent<"i | |
| 8 8 | 
             
                width: string | number;
         | 
| 9 9 | 
             
                height: string | number;
         | 
| 10 10 | 
             
                onClick: import("../../typescript").Callback;
         | 
| 11 | 
            -
                cornerRadius: number;
         | 
| 11 | 
            +
                cornerRadius: number | import("../..").SizesTypes;
         | 
| 12 12 | 
             
            }> & import("../../typescript").OverrideStyles, never>;
         | 
| 13 13 | 
             
            export declare const ContactInfoWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
         | 
| 14 14 | 
             
            export declare const FooterContentWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
         |