@zealicsolutions/web-ui 0.2.42 → 0.2.43
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/RichTextViewer/RichTextViewer.d.ts +2 -1
- package/dist/cjs/src/atoms/TextWrapper/TextWrapper.d.ts +5 -1
- package/dist/cjs/src/atoms/TextWrapper/TextWrapper.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/HeroImage/HeroImage.d.ts +2 -1
- package/dist/cjs/src/molecules/HeroImage/HeroImage.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/SelectableInfoCard/styles.d.ts +1 -1
- package/dist/cjs/src/molecules/Tab/styles.d.ts +1 -1
- package/dist/cjs/src/organisms/Header/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/RichTextViewer/RichTextViewer.d.ts +2 -1
- package/dist/esm/src/atoms/TextWrapper/TextWrapper.d.ts +5 -1
- package/dist/esm/src/atoms/TextWrapper/TextWrapper.stories.d.ts +1 -1
- package/dist/esm/src/molecules/HeroImage/HeroImage.d.ts +2 -1
- package/dist/esm/src/molecules/HeroImage/HeroImage.stories.d.ts +1 -1
- package/dist/esm/src/molecules/SelectableInfoCard/styles.d.ts +1 -1
- package/dist/esm/src/molecules/Tab/styles.d.ts +1 -1
- package/dist/esm/src/organisms/Header/styles.d.ts +1 -1
- package/dist/index.d.ts +11 -7
- package/package.json +1 -1
@@ -11,5 +11,6 @@ export declare type RichTextEditorProps = Partial<{
|
|
11
11
|
font: FontSizesTypes;
|
12
12
|
color: ThemeColors;
|
13
13
|
textStyles: CSSProperties;
|
14
|
+
numberOfLines?: number;
|
14
15
|
}>;
|
15
|
-
export declare const RichTextViewer: ({ value, color, textStyles, font, }: RichTextEditorProps) => JSX.Element | null;
|
16
|
+
export declare const RichTextViewer: ({ value, color, textStyles, font, numberOfLines, }: RichTextEditorProps) => JSX.Element | null;
|
@@ -2,6 +2,7 @@ import { ReactNode } from 'react';
|
|
2
2
|
import { FontSizesTypes, ThemeColors } from 'theme/types';
|
3
3
|
import { StylesType } from 'typescript';
|
4
4
|
export declare type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
|
5
|
+
export declare type TextAlign = 'center' | 'right' | 'left';
|
5
6
|
export declare type TextWrapperProps = {
|
6
7
|
children: ReactNode;
|
7
8
|
variant: FontSizesTypes;
|
@@ -9,5 +10,8 @@ export declare type TextWrapperProps = {
|
|
9
10
|
type?: TextTypes;
|
10
11
|
styles?: StylesType;
|
11
12
|
color?: ThemeColors | string;
|
13
|
+
numberOfLines?: number;
|
14
|
+
textAlign?: TextAlign;
|
15
|
+
behaveAs?: 'text' | 'button';
|
12
16
|
};
|
13
|
-
export declare const TextWrapper: import("styled-components").StyledComponent<
|
17
|
+
export declare const TextWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TextWrapperProps, never>;
|
@@ -3,7 +3,7 @@ import { FC } from 'react';
|
|
3
3
|
import { TextWrapperProps } from './TextWrapper';
|
4
4
|
declare const _default: {
|
5
5
|
title: string;
|
6
|
-
component: import("styled-components").StyledComponent<
|
6
|
+
component: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TextWrapperProps, never>;
|
7
7
|
};
|
8
8
|
export default _default;
|
9
9
|
export declare const Text: ComponentStory<FC<TextWrapperProps>>;
|
@@ -12,5 +12,6 @@ export declare type HeroImageProps = {
|
|
12
12
|
horizontalPaddings?: number;
|
13
13
|
template?: HeroImageTemplate;
|
14
14
|
isMobile?: boolean;
|
15
|
+
height?: number;
|
15
16
|
};
|
16
|
-
export declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, template, isMobile, }: HeroImageProps) => JSX.Element;
|
17
|
+
export declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, template, isMobile, height, }: 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, horizontalPaddings, subHeading, template, isMobile, }: import("./HeroImage").HeroImageProps) => JSX.Element;
|
6
|
+
component: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, template, isMobile, height, }: import("./HeroImage").HeroImageProps) => JSX.Element;
|
7
7
|
};
|
8
8
|
export default _default;
|
9
9
|
export declare const HeroImage: ComponentStory<typeof HeroImageComponent>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { SizesTypes } from '../../theme';
|
2
|
-
export declare const InfoText: import("styled-components").StyledComponent<
|
2
|
+
export declare const InfoText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms").TextWrapperProps & {
|
3
3
|
variant: string;
|
4
4
|
}, "variant">;
|
5
5
|
export declare const SelectableInfoCardStyled: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { TabProps } from './Tab';
|
2
2
|
declare type TabContainerProps = Pick<TabProps, 'isActive' | 'disabled'>;
|
3
|
-
export declare const TabText: import("styled-components").StyledComponent<
|
3
|
+
export declare const TabText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/TextWrapper/TextWrapper").TextWrapperProps & {
|
4
4
|
variant: string;
|
5
5
|
}, "variant">;
|
6
6
|
export declare const TabContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TabContainerProps, never>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export declare const HeaderContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
2
|
-
export declare const ImportantLinkText: import("styled-components").StyledComponent<
|
2
|
+
export declare const ImportantLinkText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("atoms").TextWrapperProps & {
|
3
3
|
variant: string;
|
4
4
|
}, "variant">;
|
5
5
|
export declare const ScrollWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|