@zealicsolutions/web-ui 0.2.6 → 0.2.8

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.
@@ -3,6 +3,7 @@ import { FC } from 'react';
3
3
  import { Button as ButtonComponent } from './Button';
4
4
  import { LinkButtonProps } from './LinkButton';
5
5
  import { TouchableOpacityProps } from './TouchableOpacity';
6
+ import { IconButton as IconButtonComponent } from './IconButton';
6
7
  declare const _default: {
7
8
  title: string;
8
9
  component: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, }: import("./Button").ButtonProps) => JSX.Element | null;
@@ -11,3 +12,4 @@ export default _default;
11
12
  export declare const Button: ComponentStory<typeof ButtonComponent>;
12
13
  export declare const TouchableOpacity: ComponentStory<FC<TouchableOpacityProps>>;
13
14
  export declare const LinkButton: ComponentStory<FC<LinkButtonProps>>;
15
+ export declare const IconButton: ComponentStory<typeof IconButtonComponent>;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { ThemeColors } from 'theme';
3
+ import { IconNames, TouchableOpacityProps } from 'atoms';
4
+ import { Callback } from 'typescript';
5
+ export declare type IconButtonProps = {
6
+ name: IconNames;
7
+ size?: number;
8
+ onClick: Callback;
9
+ color?: ThemeColors | string;
10
+ fill?: ThemeColors | string;
11
+ pointerEvents?: 'auto' | 'none';
12
+ };
13
+ export declare const IconButton: ({ name, color, onClick, disabled, activeOpacity, withoutOpacityEffect, ...props }: IconButtonProps & TouchableOpacityProps) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { ThemeColors } from 'theme';
3
+ export declare type CircularIndicatorProps = {
4
+ active: boolean;
5
+ activeColor?: ThemeColors | string;
6
+ inactiveColor?: ThemeColors | string;
7
+ };
8
+ export declare const CircularIndicator: ({ activeColor, inactiveColor, ...props }: CircularIndicatorProps) => JSX.Element;
9
+ export declare const CircularIndicatorStyledComponent: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, CircularIndicatorProps, never>;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import type { ComponentStory } from '@storybook/react';
3
+ import { CircularIndicator as CircularIndicatorComponent } from './CircularIndicator';
4
+ declare const _default: {
5
+ title: string;
6
+ component: ({ activeColor, inactiveColor, ...props }: import("./CircularIndicator").CircularIndicatorProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const CircularIndicator: ComponentStory<typeof CircularIndicatorComponent>;
@@ -21,3 +21,5 @@ export * from './GoogleMap/GoogleMap';
21
21
  export * from './RichTextViewer/RichTextViewer';
22
22
  export * from './RadioButtons/RadioButtons';
23
23
  export * from './Circle/Circle';
24
+ export * from './CircularIndicator/CircularIndicator';
25
+ export * from './Buttons/IconButton';
@@ -0,0 +1,12 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export declare type CarouselProps = {
3
+ children: JSX.Element[];
4
+ };
5
+ export declare const Carousel: ({ children }: PropsWithChildren<CarouselProps>) => JSX.Element;
6
+ export declare const Wrapper: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const SlidesWrapper: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {
8
+ translateX: number;
9
+ }, never>;
10
+ export declare const Slide: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
11
+ export declare const ButtonsWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
12
+ export declare const NavigationDotsWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { HeroImageProps } from 'molecules';
3
+ export declare type HeroSliderProps = {
4
+ heroSlides: HeroImageProps[];
5
+ };
6
+ export declare const HeroSlider: ({ heroSlides }: HeroSliderProps) => JSX.Element | null;
7
+ export default HeroSlider;
8
+ export declare const HeroSliderWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { ComponentStory } from '@storybook/react';
3
+ import { HeroSlider as HeroSliderComponent } from './HeroSlider';
4
+ declare const _default: {
5
+ title: string;
6
+ component: ({ heroSlides }: import("./HeroSlider").HeroSliderProps) => JSX.Element | null;
7
+ };
8
+ export default _default;
9
+ export declare const HeroSlider: ComponentStory<typeof HeroSliderComponent>;
@@ -15,3 +15,4 @@ export * from './ProcessTracker/ProcessTracker';
15
15
  export * from './FeedContentContainer/FeedContentContainer';
16
16
  export * from './DynamicContentZone/DynamicContentZone';
17
17
  export * from './BottomNavBarNavigation/BottomNavBarNavigation';
18
+ export * from './HeroSlider/HeroSlider';
package/dist/index.d.ts CHANGED
@@ -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 { 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, 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 } from 'react-hook-form';
@@ -315,6 +315,24 @@ declare type CircleBoxProps = {
315
315
  };
316
316
  declare const Circle: ({ index, type }: CircleBoxProps) => JSX.Element;
317
317
 
318
+ declare type CircularIndicatorProps = {
319
+ active: boolean;
320
+ activeColor?: ThemeColors$2 | string;
321
+ inactiveColor?: ThemeColors$2 | string;
322
+ };
323
+ declare const CircularIndicator: ({ activeColor, inactiveColor, ...props }: CircularIndicatorProps) => JSX.Element;
324
+ declare const CircularIndicatorStyledComponent: styled_components.StyledComponent<"span", styled_components.DefaultTheme, CircularIndicatorProps, never>;
325
+
326
+ declare type IconButtonProps = {
327
+ name: IconNames$2;
328
+ size?: number;
329
+ onClick: Callback$1;
330
+ color?: ThemeColors$2 | string;
331
+ fill?: ThemeColors$2 | string;
332
+ pointerEvents?: 'auto' | 'none';
333
+ };
334
+ declare const IconButton: ({ name, color, onClick, disabled, activeOpacity, withoutOpacityEffect, ...props }: IconButtonProps & TouchableOpacityProps$1) => JSX.Element;
335
+
318
336
  declare type FieldRuleLabelTypes = 'OPTIONAL' | 'REQUIRED';
319
337
  declare type FieldLabelsProps = {
320
338
  label: string;
@@ -916,6 +934,13 @@ declare type BottomNavBarNavigationProps = {
916
934
  };
917
935
  declare const BottomNavBarNavigation: ({ navbarItems }: BottomNavBarNavigationProps) => JSX.Element;
918
936
 
937
+ declare type HeroSliderProps = {
938
+ heroSlides: HeroImageProps$1[];
939
+ };
940
+ declare const HeroSlider: ({ heroSlides }: HeroSliderProps) => JSX.Element | null;
941
+
942
+ declare const HeroSliderWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
943
+
919
944
  declare type DefaultTemplateProps = {
920
945
  alerts?: AlertProps$2[];
921
946
  processTracker?: ProcessTrackerProps$1;
@@ -966,4 +991,4 @@ declare type AnnotationsList = {
966
991
 
967
992
  declare const useMlrRichTextViewerContext: () => contexts_MlrRichTextViewerContext_MlrRichTextViewerContext.MlrRichTextViewerContextType;
968
993
 
969
- 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, 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, FooterContentInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, 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, 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 };
994
+ 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, FooterContentInfo, 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, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"