@zealicsolutions/web-ui 0.2.8 → 0.2.9
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 +11 -11
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/molecules/HeroImage/HeroImage.d.ts +1 -1
- package/dist/cjs/src/organisms/Body/Body.d.ts +2 -1
- package/dist/cjs/src/organisms/HeroSlider/HeroSlider.d.ts +2 -2
- package/dist/esm/index.js +11 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/molecules/HeroImage/HeroImage.d.ts +1 -1
- package/dist/esm/src/organisms/Body/Body.d.ts +2 -1
- package/dist/esm/src/organisms/HeroSlider/HeroSlider.d.ts +2 -2
- package/dist/index.d.ts +5 -5
- package/package.json +1 -1
@@ -10,7 +10,7 @@ export declare type HeroImageProps = {
|
|
10
10
|
button?: ButtonProps;
|
11
11
|
contentAlignment?: HeroImageAlignment;
|
12
12
|
horizontalPaddings?: number;
|
13
|
-
template
|
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
|
-
|
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';
|
@@ -495,7 +495,7 @@ declare type HeroImageProps = {
|
|
495
495
|
button?: ButtonProps$1;
|
496
496
|
contentAlignment?: HeroImageAlignment;
|
497
497
|
horizontalPaddings?: number;
|
498
|
-
template
|
498
|
+
template?: HeroImageTemplate;
|
499
499
|
isMobile?: boolean;
|
500
500
|
};
|
501
501
|
declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, template, isMobile, }: HeroImageProps) => JSX.Element;
|
@@ -812,7 +812,7 @@ declare const ForgotPasswordForm: ({ logoUrl, onBack, onSubmit, isLoading, }: Fo
|
|
812
812
|
|
813
813
|
declare type BodyProps = {
|
814
814
|
elements: {
|
815
|
-
data: (HeroImageProps$1 | ColumnsProps$1 | EmphasizedTextProps$1 | FeedContentContainerProps$1)[];
|
815
|
+
data: (HeroImageProps$1 | HeroSliderProps$1 | ColumnsProps$1 | EmphasizedTextProps$1 | FeedContentContainerProps$1)[];
|
816
816
|
spacer?: number;
|
817
817
|
};
|
818
818
|
horizontalPaddings?: number;
|
@@ -935,10 +935,10 @@ declare type BottomNavBarNavigationProps = {
|
|
935
935
|
declare const BottomNavBarNavigation: ({ navbarItems }: BottomNavBarNavigationProps) => JSX.Element;
|
936
936
|
|
937
937
|
declare type HeroSliderProps = {
|
938
|
-
|
938
|
+
type: 'hero_slides';
|
939
|
+
heroSlides: Omit<HeroImageProps$1, 'type' | 'template'>[];
|
939
940
|
};
|
940
941
|
declare const HeroSlider: ({ heroSlides }: HeroSliderProps) => JSX.Element | null;
|
941
|
-
|
942
942
|
declare const HeroSliderWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
943
943
|
|
944
944
|
declare type DefaultTemplateProps = {
|