@zealicsolutions/web-ui 0.1.12 → 0.1.14

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.
@@ -3,6 +3,6 @@ import { CSSProperties } from 'styled-components';
3
3
  export declare type ImageProps = {
4
4
  src: string;
5
5
  alt?: string;
6
- styles?: CSSProperties;
6
+ style?: CSSProperties;
7
7
  };
8
8
  export declare const Image: (props: ImageProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
1
  /// <reference types="react" />
2
+ import { RenderElementProps } from 'slate-react/dist/components/editable';
2
3
  export declare const EditorElement: ({ element, children, attributes }: RenderElementProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
1
  /// <reference types="react" />
2
+ import { RenderLeafProps } from 'slate-react';
2
3
  export declare const Leaf: ({ leaf, children, attributes }: RenderLeafProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
1
  /// <reference types="react" />
2
+ import { RenderElementProps } from 'slate-react';
2
3
  export declare const LinkElement: ({ attributes, element, children }: RenderElementProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  export declare type AppDateFormats = "'Last Updated' MMMM dd, yyyy";
2
2
  export declare const getDateFromString: <T = Date>(date: unknown, defaultDate?: T) => Date | T;
3
- export declare const dateFormatter: <T>(value: string | Date | undefined, formatType: AppDateFormats, defaultValue?: T) => any;
3
+ export declare const dateFormatter: <T>(value: string | Date | undefined, formatType: AppDateFormats, defaultValue?: T) => string | T;
@@ -8,5 +8,6 @@ export declare type HeroImageProps = {
8
8
  subHeading?: string;
9
9
  button?: ButtonProps;
10
10
  contentAlignment?: HeroImageAlignment;
11
+ horizontalPaddings?: number;
11
12
  };
12
- export declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, subHeading, }: HeroImageProps) => JSX.Element;
13
+ export declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, }: HeroImageProps) => JSX.Element;
@@ -3,7 +3,7 @@ import type { ComponentStory } from '@storybook/react';
3
3
  import { HeroImage as HeroImageComponent } from './HeroImage';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ backgroundImage, button, contentAlignment, mainHeading, subHeading, }: import("./HeroImage").HeroImageProps) => JSX.Element;
6
+ component: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, }: import("./HeroImage").HeroImageProps) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
9
  export declare const HeroImage: ComponentStory<typeof HeroImageComponent>;
@@ -6,6 +6,7 @@ export declare type BodyProps = {
6
6
  data: (HeroImageProps | ColumnsProps | EmphasizedTextProps)[];
7
7
  spacer?: number;
8
8
  };
9
+ horizontalPaddings?: number;
9
10
  containerStyles?: CSSProperties;
10
11
  };
11
- export declare const Body: ({ elements, containerStyles }: BodyProps) => JSX.Element;
12
+ export declare const Body: ({ elements, horizontalPaddings, containerStyles }: BodyProps) => JSX.Element;
@@ -3,7 +3,7 @@ import { ComponentStory } from '@storybook/react';
3
3
  import { Body as BodyComponent } from './Body';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ elements, containerStyles }: import("./Body").BodyProps) => JSX.Element;
6
+ component: ({ elements, horizontalPaddings, containerStyles }: import("./Body").BodyProps) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
9
  export declare const Body: ComponentStory<typeof BodyComponent>;
@@ -1,6 +1,8 @@
1
+ /// <reference types="react" />
1
2
  export declare const Wrapper: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {
2
3
  isMobile?: boolean | undefined;
3
4
  }, never>;
5
+ export declare const FooterImage: import("styled-components").StyledComponent<(props: import("atoms").ImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
4
6
  export declare const ContactInfoWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
7
  export declare const FooterContentWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
6
8
  isMobile?: boolean | undefined;