@zealicsolutions/web-ui 0.2.39 → 0.2.41
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 +5 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/assets/index.d.ts +1 -1
- package/dist/cjs/src/molecules/Columns/Column.d.ts +3 -0
- package/dist/cjs/src/molecules/Columns/Columns.d.ts +4 -10
- package/dist/cjs/src/molecules/Columns/Columns.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Columns/styles.d.ts +18 -0
- package/dist/cjs/src/molecules/Columns/types.d.ts +11 -0
- package/dist/cjs/src/molecules/Columns/useAnnotationCircle.d.ts +5 -0
- package/dist/cjs/src/theme/types.d.ts +2 -2
- package/dist/esm/index.js +8 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/assets/index.d.ts +1 -1
- package/dist/esm/src/molecules/Columns/Column.d.ts +3 -0
- package/dist/esm/src/molecules/Columns/Columns.d.ts +4 -10
- package/dist/esm/src/molecules/Columns/Columns.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Columns/styles.d.ts +18 -0
- package/dist/esm/src/molecules/Columns/types.d.ts +11 -0
- package/dist/esm/src/molecules/Columns/useAnnotationCircle.d.ts +5 -0
- package/dist/esm/src/theme/types.d.ts +2 -2
- package/dist/index.d.ts +11 -8
- package/package.json +1 -1
@@ -1,15 +1,9 @@
|
|
1
|
-
|
2
|
-
import {
|
3
|
-
import { LinkButtonProps } from '../../atoms';
|
4
|
-
export declare type ColumnItem = {
|
5
|
-
title?: string;
|
6
|
-
mainContent?: string;
|
7
|
-
button?: LinkButtonProps;
|
8
|
-
icon: string;
|
9
|
-
};
|
1
|
+
import { CSSProperties } from 'react';
|
2
|
+
import { ColumnItem, ColumnsTemplateKeys } from './types';
|
10
3
|
export declare type ColumnsProps = {
|
11
4
|
type: 'columns';
|
12
5
|
columns: ColumnItem[];
|
13
6
|
containerStyles?: CSSProperties;
|
7
|
+
template?: ColumnsTemplateKeys;
|
14
8
|
};
|
15
|
-
export declare const Columns: ({ columns, containerStyles }: ColumnsProps) => JSX.Element;
|
9
|
+
export declare const Columns: ({ columns, containerStyles, template }: ColumnsProps) => JSX.Element;
|
@@ -3,7 +3,7 @@ import type { ComponentStory } from '@storybook/react';
|
|
3
3
|
import { Columns as ColumnsComponent } from './Columns';
|
4
4
|
declare const _default: {
|
5
5
|
title: string;
|
6
|
-
component: ({ columns, containerStyles }: import("./Columns").ColumnsProps) => JSX.Element;
|
6
|
+
component: ({ columns, containerStyles, template }: import("./Columns").ColumnsProps) => JSX.Element;
|
7
7
|
};
|
8
8
|
export default _default;
|
9
9
|
export declare const Columns: ComponentStory<typeof ColumnsComponent>;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const ColumnWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
3
|
+
export declare const InfoWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
4
|
+
export declare const Link: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
5
|
+
activeOpacity?: number | undefined;
|
6
|
+
withoutOpacityEffect?: boolean | undefined;
|
7
|
+
disabled?: boolean | undefined;
|
8
|
+
} & {
|
9
|
+
children?: import("react").ReactNode;
|
10
|
+
} & {
|
11
|
+
activeOpacity?: number | undefined;
|
12
|
+
withoutOpacityEffect?: boolean | undefined;
|
13
|
+
disabled?: boolean | undefined;
|
14
|
+
onClick?: import("../../typescript").Callback | undefined;
|
15
|
+
buttonLink?: string | undefined;
|
16
|
+
elementId?: string | undefined;
|
17
|
+
}, never>;
|
18
|
+
export declare const ColumnCardWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { LinkButtonProps } from 'atoms';
|
2
|
+
export declare type ColumnsTemplateKeys = 'horizontal' | 'card';
|
3
|
+
export declare type BaseColumnProps = {
|
4
|
+
item: ColumnItem;
|
5
|
+
};
|
6
|
+
export declare type ColumnItem = {
|
7
|
+
title?: string;
|
8
|
+
mainContent?: string;
|
9
|
+
button?: LinkButtonProps;
|
10
|
+
icon: string;
|
11
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
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
|
-
export declare type SizesTypes = '3XL' | '2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
|
3
|
-
export declare type FontSizesTypes = SizesTypes | 'H2' | 'H1';
|
2
|
+
export declare type SizesTypes = '3XL' | '2XL' | 'XL-2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
|
3
|
+
export declare type FontSizesTypes = Exclude<SizesTypes, 'XL-2XL'> | 'H2' | 'H1';
|
4
4
|
export declare type BreakpointSizesTypes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
5
5
|
export declare type ThemeColorsType = Record<ThemeColors, string>;
|
6
6
|
export declare type ThemeTextType = Record<FontSizesTypes, {
|
package/dist/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { Callback as Callback$1, StylesType, Nullable } from 'typescript';
|
3
3
|
import * as React$1 from 'react';
|
4
|
-
import React__default, { PropsWithChildren, ReactNode, ComponentType, Dispatch, SetStateAction } from 'react';
|
4
|
+
import React__default, { PropsWithChildren, ReactNode, CSSProperties as CSSProperties$1, ComponentType, Dispatch, SetStateAction } from 'react';
|
5
5
|
import * as styled_components from 'styled-components';
|
6
6
|
import { CSSProperties, DefaultTheme } from 'styled-components';
|
7
7
|
import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
|
@@ -15,7 +15,7 @@ import { FeedContentTemplateTypes as FeedContentTemplateTypes$1, FeedContentProp
|
|
15
15
|
import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
|
16
16
|
import { WithGoogleMapProps } from 'react-google-maps/lib/withGoogleMap';
|
17
17
|
import { WithScriptjsProps } from 'react-google-maps/lib/withScriptjs';
|
18
|
-
import { IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, InputProps as InputProps$1, ImageProps as ImageProps$1, ButtonProps as ButtonProps$1, RadioButtonsProps as RadioButtonsProps$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1 } from 'atoms';
|
18
|
+
import { IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, InputProps as InputProps$1, ImageProps as ImageProps$1, ButtonProps as ButtonProps$1, LinkButtonProps as LinkButtonProps$1, RadioButtonsProps as RadioButtonsProps$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1 } from 'atoms';
|
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, Control as Control$1 } from 'react-hook-form';
|
@@ -453,8 +453,8 @@ declare const ZealThemeProvider: (props: PropsWithChildren<{
|
|
453
453
|
}>) => JSX.Element;
|
454
454
|
|
455
455
|
declare type ThemeColors = 'primary' | 'secondary' | 'background' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'indigo' | 'blue' | 'white' | 'black' | 'indigoTint' | 'indigoTint2' | 'success' | 'error' | 'warning' | 'green' | 'greenTint';
|
456
|
-
declare type SizesTypes = '3XL' | '2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
|
457
|
-
declare type FontSizesTypes = SizesTypes | 'H2' | 'H1';
|
456
|
+
declare type SizesTypes = '3XL' | '2XL' | 'XL-2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
|
457
|
+
declare type FontSizesTypes = Exclude<SizesTypes, 'XL-2XL'> | 'H2' | 'H1';
|
458
458
|
declare type BreakpointSizesTypes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
459
459
|
declare type ThemeColorsType = Record<ThemeColors, string>;
|
460
460
|
declare type ThemeTextType = Record<FontSizesTypes, {
|
@@ -517,18 +517,21 @@ declare type DrawerProps = DrawerProps$1 & {
|
|
517
517
|
|
518
518
|
declare const Drawer: ({ children, closeIconColor, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
|
519
519
|
|
520
|
+
declare type ColumnsTemplateKeys = 'horizontal' | 'card';
|
520
521
|
declare type ColumnItem = {
|
521
522
|
title?: string;
|
522
523
|
mainContent?: string;
|
523
|
-
button?: LinkButtonProps;
|
524
|
+
button?: LinkButtonProps$1;
|
524
525
|
icon: string;
|
525
526
|
};
|
527
|
+
|
526
528
|
declare type ColumnsProps = {
|
527
529
|
type: 'columns';
|
528
530
|
columns: ColumnItem[];
|
529
|
-
containerStyles?: CSSProperties;
|
531
|
+
containerStyles?: CSSProperties$1;
|
532
|
+
template?: ColumnsTemplateKeys;
|
530
533
|
};
|
531
|
-
declare const Columns: ({ columns, containerStyles }: ColumnsProps) => JSX.Element;
|
534
|
+
declare const Columns: ({ columns, containerStyles, template }: ColumnsProps) => JSX.Element;
|
532
535
|
|
533
536
|
declare type MenuItem<T> = {
|
534
537
|
id: T;
|
@@ -1025,4 +1028,4 @@ declare type AnnotationsList = {
|
|
1025
1028
|
|
1026
1029
|
declare const useMlrRichTextViewerContext: () => contexts_MlrRichTextViewerContext_MlrRichTextViewerContext.MlrRichTextViewerContextType;
|
1027
1030
|
|
1028
|
-
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,
|
1031
|
+
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, 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, 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 };
|