@zealicsolutions/web-ui 0.2.8 → 0.2.10

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.
@@ -27,6 +27,7 @@ declare const availableIcons: {
27
27
  Mail: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
28
28
  Menu: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
29
29
  Search: ({ size, color, ...props }: Omit<IconProps, "name">) => JSX.Element;
30
+ Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
30
31
  };
31
32
  export declare type IconNames = keyof typeof availableIcons;
32
33
  export declare const Icon: ({ name, color, ...props }: IconProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import type { IconProps } from 'atoms/Icon/Icon';
3
- export declare const Bookmark: ({ fill, color, ...props }: Omit<IconProps, 'name'>) => JSX.Element;
3
+ export declare const Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, 'name'>) => JSX.Element;
@@ -10,7 +10,7 @@ export declare type HeroImageProps = {
10
10
  button?: ButtonProps;
11
11
  contentAlignment?: HeroImageAlignment;
12
12
  horizontalPaddings?: number;
13
- template: HeroImageTemplate;
13
+ template?: HeroImageTemplate;
14
14
  isMobile?: boolean;
15
15
  };
16
16
  export declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, template, isMobile, }: HeroImageProps) => JSX.Element;
@@ -2,9 +2,10 @@
2
2
  import { ColumnsProps, EmphasizedTextProps, HeroImageProps } from 'molecules';
3
3
  import { FeedContentContainerProps } from 'organisms/FeedContentContainer/FeedContentContainer';
4
4
  import { CSSProperties } from 'styled-components';
5
+ import { HeroSliderProps } from 'organisms';
5
6
  export declare type BodyProps = {
6
7
  elements: {
7
- data: (HeroImageProps | ColumnsProps | EmphasizedTextProps | FeedContentContainerProps)[];
8
+ data: (HeroImageProps | HeroSliderProps | ColumnsProps | EmphasizedTextProps | FeedContentContainerProps)[];
8
9
  spacer?: number;
9
10
  };
10
11
  horizontalPaddings?: number;
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { HeroImageProps } from 'molecules';
3
3
  export declare type HeroSliderProps = {
4
- heroSlides: HeroImageProps[];
4
+ type: 'hero_slides';
5
+ heroSlides: Omit<HeroImageProps, 'type' | 'template'>[];
5
6
  };
6
7
  export declare const HeroSlider: ({ heroSlides }: HeroSliderProps) => JSX.Element | null;
7
- export default HeroSlider;
8
8
  export declare const HeroSliderWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
package/dist/index.d.ts CHANGED
@@ -19,7 +19,7 @@ import { IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProp
19
19
  import { Control, ControllerProps } from 'react-hook-form/dist/types';
20
20
  import { SelectOption as SelectOption$1 } from 'atoms/Select/types';
21
21
  import { ControllerProps as ControllerProps$1, DeepPartial, FieldValues, FormState } from 'react-hook-form';
22
- import { ProcessTrackerStatus as ProcessTrackerStatus$1, FilteredFeedContentType as FilteredFeedContentType$1, ConsentProps as ConsentProps$1, ProcessTrackerProps as ProcessTrackerProps$1 } from 'organisms';
22
+ import { ProcessTrackerStatus as ProcessTrackerStatus$1, FilteredFeedContentType as FilteredFeedContentType$1, ConsentProps as ConsentProps$1, HeroSliderProps as HeroSliderProps$1, ProcessTrackerProps as ProcessTrackerProps$1 } from 'organisms';
23
23
  import { FieldSectionProps as FieldSectionProps$1, MenuItemsProps as MenuItemsProps$1, InputFieldProps as InputFieldProps$1, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1 } from 'molecules';
24
24
  import { SetPasswordFields, MaxRuleValidation, MinRuleValidation } from 'organisms/SetPasswordForm/types';
25
25
  import { UIFields as UIFields$2 } from 'fieldsConfiguration';
@@ -147,6 +147,7 @@ declare const availableIcons: {
147
147
  Mail: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
148
148
  Menu: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
149
149
  Search: ({ size, color, ...props }: Omit<IconProps, "name">) => JSX.Element;
150
+ Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
150
151
  };
151
152
  declare type IconNames = keyof typeof availableIcons;
152
153
  declare const Icon: ({ name, color, ...props }: IconProps) => JSX.Element;
@@ -495,7 +496,7 @@ declare type HeroImageProps = {
495
496
  button?: ButtonProps$1;
496
497
  contentAlignment?: HeroImageAlignment;
497
498
  horizontalPaddings?: number;
498
- template: HeroImageTemplate;
499
+ template?: HeroImageTemplate;
499
500
  isMobile?: boolean;
500
501
  };
501
502
  declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, template, isMobile, }: HeroImageProps) => JSX.Element;
@@ -812,7 +813,7 @@ declare const ForgotPasswordForm: ({ logoUrl, onBack, onSubmit, isLoading, }: Fo
812
813
 
813
814
  declare type BodyProps = {
814
815
  elements: {
815
- data: (HeroImageProps$1 | ColumnsProps$1 | EmphasizedTextProps$1 | FeedContentContainerProps$1)[];
816
+ data: (HeroImageProps$1 | HeroSliderProps$1 | ColumnsProps$1 | EmphasizedTextProps$1 | FeedContentContainerProps$1)[];
816
817
  spacer?: number;
817
818
  };
818
819
  horizontalPaddings?: number;
@@ -935,10 +936,10 @@ declare type BottomNavBarNavigationProps = {
935
936
  declare const BottomNavBarNavigation: ({ navbarItems }: BottomNavBarNavigationProps) => JSX.Element;
936
937
 
937
938
  declare type HeroSliderProps = {
938
- heroSlides: HeroImageProps$1[];
939
+ type: 'hero_slides';
940
+ heroSlides: Omit<HeroImageProps$1, 'type' | 'template'>[];
939
941
  };
940
942
  declare const HeroSlider: ({ heroSlides }: HeroSliderProps) => JSX.Element | null;
941
-
942
943
  declare const HeroSliderWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
943
944
 
944
945
  declare type DefaultTemplateProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"