@zealicsolutions/web-ui 0.1.94 → 0.1.96
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/atoms/RichTextViewer/types.d.ts +6 -1
- package/dist/cjs/src/molecules/BottomNavBarItem/BottomNavBarItem.d.ts +11 -0
- package/dist/cjs/src/molecules/BottomNavBarItem/BottomNavBarItem.stories.d.ts +9 -0
- package/dist/cjs/src/molecules/index.d.ts +1 -0
- package/dist/cjs/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +1 -1
- package/dist/cjs/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.d.ts +6 -0
- package/dist/cjs/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.stories.d.ts +9 -0
- package/dist/cjs/src/organisms/FeedContent/constants.d.ts +2 -2
- package/dist/cjs/src/organisms/FeedContent/styles.d.ts +10 -0
- package/dist/cjs/src/organisms/FeedContent/types.d.ts +3 -0
- package/dist/cjs/src/organisms/index.d.ts +1 -0
- package/dist/cjs/src/theme/types.d.ts +1 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/RichTextViewer/types.d.ts +6 -1
- package/dist/esm/src/molecules/BottomNavBarItem/BottomNavBarItem.d.ts +11 -0
- package/dist/esm/src/molecules/BottomNavBarItem/BottomNavBarItem.stories.d.ts +9 -0
- package/dist/esm/src/molecules/index.d.ts +1 -0
- package/dist/esm/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +1 -1
- package/dist/esm/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.d.ts +6 -0
- package/dist/esm/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.stories.d.ts +9 -0
- package/dist/esm/src/organisms/FeedContent/constants.d.ts +2 -2
- package/dist/esm/src/organisms/FeedContent/styles.d.ts +10 -0
- package/dist/esm/src/organisms/FeedContent/types.d.ts +3 -0
- package/dist/esm/src/organisms/index.d.ts +1 -0
- package/dist/esm/src/theme/types.d.ts +1 -1
- package/dist/index.d.ts +47 -27
- package/package.json +1 -1
@@ -1,10 +1,11 @@
|
|
1
|
-
export declare type Format = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'numbered-list' | 'bulleted-list' | 'communicationLink' | 'tag';
|
1
|
+
export declare type Format = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'numbered-list' | 'bulleted-list' | 'communicationLink' | 'tag' | 'variable';
|
2
2
|
export declare type TextFormat = Partial<{
|
3
3
|
bold: boolean;
|
4
4
|
italic: boolean;
|
5
5
|
underline: boolean;
|
6
6
|
strikethrough: boolean;
|
7
7
|
communicationLink: CommunicationLinkPayload;
|
8
|
+
variable: VariablePayload;
|
8
9
|
tag: {
|
9
10
|
id: string;
|
10
11
|
};
|
@@ -27,4 +28,8 @@ export declare type CommunicationLinkPayload = {
|
|
27
28
|
type: LinkType;
|
28
29
|
url: string;
|
29
30
|
};
|
31
|
+
export declare type VariablePayload = {
|
32
|
+
id: string;
|
33
|
+
text: string;
|
34
|
+
};
|
30
35
|
export declare type CustomDescendant = CustomText | CustomElement;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { ComponentType } from 'react';
|
2
|
+
import { IconProps } from 'atoms';
|
3
|
+
import { Callback } from '../../typescript';
|
4
|
+
export declare type BottomNaVBarItemProps = {
|
5
|
+
name: string;
|
6
|
+
icon: ComponentType<Omit<IconProps, 'name'>>;
|
7
|
+
active: boolean;
|
8
|
+
activeColor: string;
|
9
|
+
onNavigate: Callback;
|
10
|
+
};
|
11
|
+
export declare const BottomNavBarItem: ({ name, icon: IconComponent, active, activeColor, onNavigate, }: BottomNaVBarItemProps) => JSX.Element;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { ComponentStory } from '@storybook/react';
|
3
|
+
import { BottomNavBarItem as BottomNavBarItemComponent } from './BottomNavBarItem';
|
4
|
+
declare const _default: {
|
5
|
+
title: string;
|
6
|
+
component: ({ name, icon: IconComponent, active, activeColor, onNavigate, }: import("./BottomNavBarItem").BottomNaVBarItemProps) => JSX.Element;
|
7
|
+
};
|
8
|
+
export default _default;
|
9
|
+
export declare const BottomNavBarItem: ComponentStory<typeof BottomNavBarItemComponent>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
+
import { UIFields } from 'fieldsConfiguration';
|
2
3
|
import { ConsentProps } from 'organisms';
|
3
4
|
import type { Callback } from 'typescript';
|
4
|
-
import { UIFields } from '../../fieldsConfiguration';
|
5
5
|
export declare const showAcceptToastMessage: () => void | undefined;
|
6
6
|
export declare type AcquisitionFormProps<T extends object> = {
|
7
7
|
fields: UIFields<T>;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { BottomNaVBarItemProps } from 'molecules';
|
3
|
+
export declare type BottomNavBarNavigationProps = {
|
4
|
+
navbarItems: BottomNaVBarItemProps[];
|
5
|
+
};
|
6
|
+
export declare const BottomNavBarNavigation: ({ navbarItems }: BottomNavBarNavigationProps) => JSX.Element;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory } from '@storybook/react';
|
3
|
+
import { BottomNavBarNavigation as BottomNavBarComponent } from './BottomNavBarNavigation';
|
4
|
+
declare const _default: {
|
5
|
+
title: string;
|
6
|
+
component: ({ navbarItems }: import("./BottomNavBarNavigation").BottomNavBarNavigationProps) => JSX.Element;
|
7
|
+
};
|
8
|
+
export default _default;
|
9
|
+
export declare const BottomNavBarNavigation: ComponentStory<typeof BottomNavBarComponent>;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const defaultTitle = "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"
|
2
|
-
export declare const defaultDescription = "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"
|
1
|
+
export declare const defaultTitle = "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"\"}]}]";
|
2
|
+
export declare const defaultDescription = "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"\"}]}]";
|
@@ -1,3 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { FeedContentProps } from 'organisms/FeedContent/types';
|
1
3
|
export declare const ExpandedWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
2
4
|
isMobile?: boolean | undefined;
|
3
5
|
}, never>;
|
@@ -5,5 +7,13 @@ export declare const TitleWrapper: import("styled-components").StyledComponent<"
|
|
5
7
|
export declare const CollapsedWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
6
8
|
src?: string | undefined;
|
7
9
|
isMobile?: boolean | undefined;
|
10
|
+
isPreview?: boolean | undefined;
|
8
11
|
}, never>;
|
9
12
|
export declare const TruncatedText: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").BoxTypeMap<{}, "div">>, import("styled-components").DefaultTheme, import("atoms").TextWrapperProps, never>;
|
13
|
+
export declare const CloseButton: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
14
|
+
activeOpacity?: number | undefined;
|
15
|
+
withoutOpacityEffect?: boolean | undefined;
|
16
|
+
disabled?: boolean | undefined;
|
17
|
+
} & {
|
18
|
+
children?: import("react").ReactNode;
|
19
|
+
} & Pick<FeedContentProps, "withCloseIcon" | "feedContentTemplate">, never>;
|
@@ -14,3 +14,4 @@ export * from './Consent/Consent';
|
|
14
14
|
export * from './ProcessTracker/ProcessTracker';
|
15
15
|
export * from './FeedContentContainer/FeedContentContainer';
|
16
16
|
export * from './DynamicContentZone/DynamicContentZone';
|
17
|
+
export * from './BottomNavBarNavigation/BottomNavBarNavigation';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare type ThemeColors = 'primary' | 'secondary' | 'background' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'indigo' | 'blue' | 'white' | 'black' | 'indigoTint' | 'indigoTint2' | 'success' | 'error' | 'warning' | 'green';
|
1
|
+
export declare type ThemeColors = 'primary' | 'secondary' | 'background' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'indigo' | 'blue' | 'white' | 'black' | 'indigoTint' | 'indigoTint2' | 'success' | 'error' | 'warning' | 'green' | 'greenTint';
|
2
2
|
export declare type SizesTypes = '2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
|
3
3
|
export declare type FontSizesTypes = SizesTypes | 'H2';
|
4
4
|
export declare type BreakpointSizesTypes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|