@zealicsolutions/web-ui 0.2.50 → 0.2.52
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.css +0 -316
- package/dist/cjs/index.js +27 -48
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/assets/index.d.ts +5 -5
- package/dist/cjs/src/atoms/Icon/Icon.d.ts +2 -0
- package/dist/cjs/src/atoms/Image/Image.d.ts +1 -0
- package/dist/cjs/src/icons/ArrowRight.d.ts +3 -0
- package/dist/cjs/src/icons/index.d.ts +1 -0
- package/dist/cjs/src/molecules/Columns/ColumnImage.d.ts +8 -0
- package/dist/cjs/src/molecules/Columns/styles.d.ts +10 -2
- package/dist/cjs/src/molecules/Columns/types.d.ts +1 -1
- package/dist/cjs/src/organisms/FeedContentContainer/mocks.d.ts +3 -3
- package/dist/esm/index.css +0 -316
- package/dist/esm/index.js +27 -48
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/assets/index.d.ts +5 -5
- package/dist/esm/src/atoms/Icon/Icon.d.ts +2 -0
- package/dist/esm/src/atoms/Image/Image.d.ts +1 -0
- package/dist/esm/src/icons/ArrowRight.d.ts +3 -0
- package/dist/esm/src/icons/index.d.ts +1 -0
- package/dist/esm/src/molecules/Columns/ColumnImage.d.ts +8 -0
- package/dist/esm/src/molecules/Columns/styles.d.ts +10 -2
- package/dist/esm/src/molecules/Columns/types.d.ts +1 -1
- package/dist/esm/src/organisms/FeedContentContainer/mocks.d.ts +3 -3
- package/dist/index.d.ts +5 -2
- package/package.json +17 -13
@@ -1,5 +1,5 @@
|
|
1
|
-
export declare const AppLogo:
|
2
|
-
export declare const HomeHeroImage:
|
3
|
-
export declare const ProfileGraphic:
|
4
|
-
export declare const PulseEmblem:
|
5
|
-
export declare const Logo:
|
1
|
+
export declare const AppLogo: any;
|
2
|
+
export declare const HomeHeroImage: any;
|
3
|
+
export declare const ProfileGraphic: any;
|
4
|
+
export declare const PulseEmblem: any;
|
5
|
+
export declare const Logo: any;
|
@@ -6,6 +6,7 @@ export declare type IconProps = {
|
|
6
6
|
color?: ThemeColors | string;
|
7
7
|
fill?: ThemeColors | string;
|
8
8
|
pointerEvents?: 'auto' | 'none';
|
9
|
+
style?: React.CSSProperties;
|
9
10
|
};
|
10
11
|
declare const availableIcons: {
|
11
12
|
CaretDown: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
@@ -28,6 +29,7 @@ declare const availableIcons: {
|
|
28
29
|
Menu: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
29
30
|
Search: ({ size, color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
30
31
|
Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
32
|
+
ArrowRight: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
31
33
|
};
|
32
34
|
export declare type IconNames = keyof typeof availableIcons;
|
33
35
|
export declare const Icon: ({ name, color, ...props }: IconProps) => JSX.Element;
|
@@ -5,3 +5,4 @@ export declare type ImageProps = {
|
|
5
5
|
style?: CSSProperties;
|
6
6
|
};
|
7
7
|
export declare const Image: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, ImageProps, never>;
|
8
|
+
export declare const BackgroundImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, ImageProps, never>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { BaseColumnProps } from './types';
|
3
|
+
export declare type ColumnImageProps = BaseColumnProps & {
|
4
|
+
isMobile: boolean;
|
5
|
+
};
|
6
|
+
export declare const ColumnImage: ({ item, isMobile }: BaseColumnProps & {
|
7
|
+
isMobile: boolean;
|
8
|
+
}) => JSX.Element;
|
@@ -1,5 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export declare const ColumnWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
2
|
+
export declare const ColumnWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
3
|
+
isMobile: boolean;
|
4
|
+
}, never>;
|
3
5
|
export declare const InfoWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
4
6
|
export declare const Link: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
5
7
|
activeOpacity?: number | undefined;
|
@@ -15,4 +17,10 @@ export declare const Link: import("styled-components").StyledComponent<"div", im
|
|
15
17
|
buttonLink?: string | undefined;
|
16
18
|
elementId?: string | undefined;
|
17
19
|
}, never>;
|
18
|
-
export declare const ColumnCardWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
20
|
+
export declare const ColumnCardWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
21
|
+
isMobile: boolean;
|
22
|
+
}, never>;
|
23
|
+
export declare const ColumnImageWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
24
|
+
isMobile: boolean;
|
25
|
+
}, never>;
|
26
|
+
export declare const ColumnBackgroundImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, import("atoms").ImageProps, never>;
|
@@ -7,7 +7,7 @@ export declare const feedContentContainerMockProps: {
|
|
7
7
|
buttonConfig: {
|
8
8
|
disabled: boolean;
|
9
9
|
};
|
10
|
-
image:
|
10
|
+
image: any;
|
11
11
|
feedContentTemplate: FeedContentTemplateTypes;
|
12
12
|
lastUpdated: string;
|
13
13
|
isFavorite: boolean;
|
@@ -21,7 +21,7 @@ export declare const feedContentContainerMockProps: {
|
|
21
21
|
buttonConfig: {
|
22
22
|
disabled: boolean;
|
23
23
|
};
|
24
|
-
image:
|
24
|
+
image: any;
|
25
25
|
feedContentTemplate: FeedContentTemplateTypes;
|
26
26
|
lastUpdated: string;
|
27
27
|
isFavorite: boolean;
|
@@ -31,7 +31,7 @@ export declare const feedContentContainerMockProps: {
|
|
31
31
|
document?: undefined;
|
32
32
|
} | {
|
33
33
|
id: string;
|
34
|
-
image:
|
34
|
+
image: any;
|
35
35
|
buttonConfig: {
|
36
36
|
disabled: boolean;
|
37
37
|
};
|
package/dist/index.d.ts
CHANGED
@@ -133,6 +133,7 @@ declare type IconProps = {
|
|
133
133
|
color?: ThemeColors$2 | string;
|
134
134
|
fill?: ThemeColors$2 | string;
|
135
135
|
pointerEvents?: 'auto' | 'none';
|
136
|
+
style?: React.CSSProperties;
|
136
137
|
};
|
137
138
|
declare const availableIcons: {
|
138
139
|
CaretDown: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
@@ -155,6 +156,7 @@ declare const availableIcons: {
|
|
155
156
|
Menu: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
156
157
|
Search: ({ size, color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
157
158
|
Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
159
|
+
ArrowRight: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
158
160
|
};
|
159
161
|
declare type IconNames = keyof typeof availableIcons;
|
160
162
|
declare const Icon: ({ name, color, ...props }: IconProps) => JSX.Element;
|
@@ -177,6 +179,7 @@ declare type ImageProps = {
|
|
177
179
|
style?: CSSProperties;
|
178
180
|
};
|
179
181
|
declare const Image: styled_components.StyledComponent<"img", styled_components.DefaultTheme, ImageProps, never>;
|
182
|
+
declare const BackgroundImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, ImageProps, never>;
|
180
183
|
|
181
184
|
declare type LinkButtonProps = PropsWithChildren<{
|
182
185
|
activeOpacity?: number;
|
@@ -523,7 +526,7 @@ declare type DrawerProps = DrawerProps$1 & {
|
|
523
526
|
|
524
527
|
declare const Drawer: ({ children, closeIconColor, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
|
525
528
|
|
526
|
-
declare type ColumnsTemplateKeys = 'horizontal' | 'card';
|
529
|
+
declare type ColumnsTemplateKeys = 'horizontal' | 'card' | 'with_image';
|
527
530
|
|
528
531
|
declare type ColumnsProps = {
|
529
532
|
type: 'columns';
|
@@ -1034,4 +1037,4 @@ declare type AnnotationsList = {
|
|
1034
1037
|
|
1035
1038
|
declare const useMlrRichTextViewerContext: () => contexts_MlrRichTextViewerContext_MlrRichTextViewerContext.MlrRichTextViewerContextType;
|
1036
1039
|
|
1037
|
-
export { AcquisitionForm, AcquisitionFormProps, Alert, AlertProps, AnnotationsList, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BaseButtonProps, Body, BodyProps, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonProps, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, Circle, CircleBoxProps, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, 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, 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, ImageProps, Input, InputField, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, LinkButton, LinkButtonProps, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldProps, RadioButtonType, RadioButtons, RadioButtonsProps, RichTextEditorProps, RichTextViewer, Select, SelectField, SelectFieldProps, SelectableCardGroup, SelectableCardGroupProps, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, TabGroup, TabGroupProps, TextAlign, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoProps, ZealTheme, ZealThemeProvider, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|
1040
|
+
export { AcquisitionForm, AcquisitionFormProps, Alert, AlertProps, AnnotationsList, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, Body, BodyProps, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonProps, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, Circle, CircleBoxProps, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, 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, 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, ImageProps, Input, InputField, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, LinkButton, LinkButtonProps, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldProps, RadioButtonType, RadioButtons, RadioButtonsProps, RichTextEditorProps, RichTextViewer, Select, SelectField, SelectFieldProps, SelectableCardGroup, SelectableCardGroupProps, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, TabGroup, TabGroupProps, TextAlign, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoProps, ZealTheme, ZealThemeProvider, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zealicsolutions/web-ui",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.52",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"
|
@@ -23,8 +23,8 @@
|
|
23
23
|
"scripts": {
|
24
24
|
"build": "npm run clean && rollup -c",
|
25
25
|
"test": "jest",
|
26
|
-
"storybook": "
|
27
|
-
"build-storybook": "build
|
26
|
+
"storybook": "storybook dev -p 6006",
|
27
|
+
"build-storybook": "storybook build",
|
28
28
|
"clean": "rimraf dist",
|
29
29
|
"lint:fix": "eslint --fix ./src/**/*.ts",
|
30
30
|
"format:fix": "prettier --write ./src",
|
@@ -33,19 +33,21 @@
|
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
35
|
"@babel/core": "^7.19.0",
|
36
|
+
"@babel/preset-env": "^7.22.4",
|
37
|
+
"@babel/preset-react": "^7.22.3",
|
38
|
+
"@babel/preset-typescript": "^7.21.5",
|
36
39
|
"@commitlint/cli": "^17.1.2",
|
37
40
|
"@commitlint/config-conventional": "^17.1.0",
|
38
41
|
"@rollup/plugin-commonjs": "^22.0.2",
|
39
42
|
"@rollup/plugin-node-resolve": "^14.0.0",
|
40
43
|
"@rollup/plugin-typescript": "^8.5.0",
|
41
|
-
"@storybook/addon-actions": "^
|
42
|
-
"@storybook/addon-essentials": "^
|
43
|
-
"@storybook/addon-interactions": "^
|
44
|
-
"@storybook/addon-links": "^
|
45
|
-
"@storybook/
|
46
|
-
"@storybook/
|
47
|
-
"@storybook/
|
48
|
-
"@storybook/testing-library": "^0.0.13",
|
44
|
+
"@storybook/addon-actions": "^7.0.18",
|
45
|
+
"@storybook/addon-essentials": "^7.0.18",
|
46
|
+
"@storybook/addon-interactions": "^7.0.18",
|
47
|
+
"@storybook/addon-links": "^7.0.18",
|
48
|
+
"@storybook/react": "^7.0.18",
|
49
|
+
"@storybook/react-webpack5": "^7.0.18",
|
50
|
+
"@storybook/testing-library": "^0.1.0",
|
49
51
|
"@swc/core": "^1.2.248",
|
50
52
|
"@swc/jest": "^0.2.22",
|
51
53
|
"@testing-library/jest-dom": "^5.16.5",
|
@@ -74,6 +76,7 @@
|
|
74
76
|
"rollup-plugin-import-css": "^3.0.3",
|
75
77
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
76
78
|
"rollup-plugin-terser": "^7.0.2",
|
79
|
+
"storybook": "^7.0.18",
|
77
80
|
"styled-system": "^5.1.5",
|
78
81
|
"ts-node": "^10.9.1",
|
79
82
|
"typescript": "^4.8.2"
|
@@ -81,7 +84,8 @@
|
|
81
84
|
"peerDependencies": {
|
82
85
|
"react": "^18.2.0",
|
83
86
|
"react-dom": "^18.2.0",
|
84
|
-
"styled-components": "^5.3.5"
|
87
|
+
"styled-components": "^5.3.5",
|
88
|
+
"react-pdf": "6.2.2"
|
85
89
|
},
|
86
90
|
"dependencies": {
|
87
91
|
"@mui/material": "^5.10.4",
|
@@ -95,7 +99,7 @@
|
|
95
99
|
"react-dom": "^18.2.0",
|
96
100
|
"react-google-maps": "^9.4.5",
|
97
101
|
"react-hook-form": "^7.34.2",
|
98
|
-
"react-pdf": "
|
102
|
+
"react-pdf": "6.2.2",
|
99
103
|
"slate": "^0.85.0",
|
100
104
|
"slate-react": "^0.83.2",
|
101
105
|
"styled-components": "^5.3.5"
|