@zealicsolutions/web-ui 0.2.72 → 0.2.73
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/containers/MoleculeItem.d.ts +2 -0
- package/dist/cjs/src/containers/types/moleculeTypes.d.ts +3 -2
- package/dist/cjs/src/molecules/index.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/containers/MoleculeItem.d.ts +2 -0
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +3 -2
- package/dist/esm/src/molecules/index.d.ts +1 -0
- package/dist/index.d.ts +18 -3
- package/package.json +1 -1
@@ -1,3 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { Molecule } from 'containers/types/moleculeTypes';
|
3
|
+
export declare const getFullLink: (url: string) => string;
|
4
|
+
export declare const navigateToPage: (url: string) => void;
|
3
5
|
export declare const MoleculeItem: ({ type, config, attributes }: Molecule) => JSX.Element;
|
@@ -10,6 +10,7 @@ export declare type ImageAttributes = {
|
|
10
10
|
};
|
11
11
|
export interface TextAttributes {
|
12
12
|
attributeType: 'text';
|
13
|
+
isRichText: boolean;
|
13
14
|
text: string;
|
14
15
|
}
|
15
16
|
export interface VideoAttributes {
|
@@ -43,7 +44,7 @@ export interface ImageMolecule extends BaseMolecule {
|
|
43
44
|
type: 'image';
|
44
45
|
attributes: {
|
45
46
|
image: ImageAttributes;
|
46
|
-
altText: TextAttributes
|
47
|
+
altText: Omit<TextAttributes, 'isRichText'>;
|
47
48
|
link: LinkAttributes;
|
48
49
|
};
|
49
50
|
config: {
|
@@ -82,7 +83,7 @@ export interface VideoMolecule extends BaseMolecule {
|
|
82
83
|
type: 'video';
|
83
84
|
attributes: {
|
84
85
|
video: VideoAttributes;
|
85
|
-
altText: TextAttributes
|
86
|
+
altText: Omit<TextAttributes, 'isRichText'>;
|
86
87
|
autoPlayVideo: BooleanAttributes;
|
87
88
|
enableCoverImage: BooleanAttributes;
|
88
89
|
coverImage: ImageAttributes;
|
package/dist/index.d.ts
CHANGED
@@ -765,6 +765,20 @@ declare const ArrowIconWrapper: styled_components.StyledComponent<"div", styled_
|
|
765
765
|
}, never>;
|
766
766
|
declare const NavigationDotsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
767
767
|
|
768
|
+
declare type TextMoleculeProps = Partial<{
|
769
|
+
text: string;
|
770
|
+
variant: 'base' | 'custom';
|
771
|
+
fontVariant: FontSizesTypes$1;
|
772
|
+
textSize: number;
|
773
|
+
textColor: ThemeColors$1 | string;
|
774
|
+
letterSpacing: number;
|
775
|
+
lineHeight: number;
|
776
|
+
fontWeight: number;
|
777
|
+
isRichText: boolean;
|
778
|
+
styles: StylesType;
|
779
|
+
textAlign: 'center' | 'right' | 'left';
|
780
|
+
}> & Pick<TextProps$1, 'seoTag'>;
|
781
|
+
|
768
782
|
declare type SetPasswordRuleValidation = {
|
769
783
|
label: string;
|
770
784
|
rule: MaxRuleValidation | MinRuleValidation;
|
@@ -1150,6 +1164,7 @@ declare type ImageAttributes = {
|
|
1150
1164
|
};
|
1151
1165
|
interface TextAttributes {
|
1152
1166
|
attributeType: 'text';
|
1167
|
+
isRichText: boolean;
|
1153
1168
|
text: string;
|
1154
1169
|
}
|
1155
1170
|
interface VideoAttributes {
|
@@ -1183,7 +1198,7 @@ interface ImageMolecule extends BaseMolecule {
|
|
1183
1198
|
type: 'image';
|
1184
1199
|
attributes: {
|
1185
1200
|
image: ImageAttributes;
|
1186
|
-
altText: TextAttributes
|
1201
|
+
altText: Omit<TextAttributes, 'isRichText'>;
|
1187
1202
|
link: LinkAttributes;
|
1188
1203
|
};
|
1189
1204
|
config: {
|
@@ -1222,7 +1237,7 @@ interface VideoMolecule extends BaseMolecule {
|
|
1222
1237
|
type: 'video';
|
1223
1238
|
attributes: {
|
1224
1239
|
video: VideoAttributes;
|
1225
|
-
altText: TextAttributes
|
1240
|
+
altText: Omit<TextAttributes, 'isRichText'>;
|
1226
1241
|
autoPlayVideo: BooleanAttributes;
|
1227
1242
|
enableCoverImage: BooleanAttributes;
|
1228
1243
|
coverImage: ImageAttributes;
|
@@ -1290,4 +1305,4 @@ declare const OrganismItem: ({ item }: {
|
|
1290
1305
|
item: ContainerComponentProps$1 | Molecule$1;
|
1291
1306
|
}) => JSX.Element | null;
|
1292
1307
|
|
1293
|
-
export { AcquisitionForm, AcquisitionFormProps, AdditionalContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonMolecule, ButtonProps, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, Circle, CircleBoxProps, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, Container, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerType, ContainerWrapper, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, LinkAttributes, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismItem, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldProps, RadioButtonType, RadioButtons, RadioButtonsProps, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, Select, SelectAttributes, SelectField, SelectFieldProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Slide, SlidesWrapper, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps,
|
1308
|
+
export { AcquisitionForm, AcquisitionFormProps, AdditionalContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonMolecule, ButtonProps, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, Circle, CircleBoxProps, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, Container, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerType, ContainerWrapper, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, LinkAttributes, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismItem, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldProps, RadioButtonType, RadioButtons, RadioButtonsProps, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, Select, SelectAttributes, SelectField, SelectFieldProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Slide, SlidesWrapper, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextMoleculeProps, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, Wrapper, ZealTheme, ZealThemeProvider, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|