@zealicsolutions/web-ui 0.3.45 → 0.3.46

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.
@@ -16,6 +16,8 @@ export declare const Container: ({ children, wide, compact, type, props, id, met
16
16
  formStepProps: import("containers").FormStepContainerProps;
17
17
  padding: import("containers").Padding;
18
18
  border: string;
19
+ activeChildrenIds: string[];
20
+ activeOrganismIds: string[];
19
21
  }>;
20
22
  }>;
21
23
  compact: Partial<{
@@ -31,6 +33,8 @@ export declare const Container: ({ children, wide, compact, type, props, id, met
31
33
  formStepProps: import("containers").FormStepContainerProps;
32
34
  padding: import("containers").Padding;
33
35
  border: string;
36
+ activeChildrenIds: string[];
37
+ activeOrganismIds: string[];
34
38
  }>;
35
39
  }>;
36
40
  props: Partial<{
@@ -44,6 +48,8 @@ export declare const Container: ({ children, wide, compact, type, props, id, met
44
48
  formStepProps: import("containers").FormStepContainerProps;
45
49
  padding: import("containers").Padding;
46
50
  border: string;
51
+ activeChildrenIds: string[];
52
+ activeOrganismIds: string[];
47
53
  }>;
48
54
  metadata: import("../typescript").AnyObject;
49
55
  }> & {
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { ContainerComponentProps } from 'containers/types/types';
3
+ export declare type OrganismItemWithActiveChildrenProps = {
4
+ item: ContainerComponentProps;
5
+ activeChildrenIds: string[];
6
+ };
7
+ export declare const OrganismItemWithActiveChildren: (props: OrganismItemWithActiveChildrenProps) => JSX.Element | null;
@@ -0,0 +1,3 @@
1
+ import { OrganismItemWithActiveChildrenProps } from 'containers/OrganismItemWithActiveChildren';
2
+ import { ContainerComponentProps } from 'containers/types/types';
3
+ export declare const useOrganismItemWithActiveChildren: ({ item, activeChildrenIds, }: OrganismItemWithActiveChildrenProps) => ContainerComponentProps | undefined;
@@ -3,3 +3,4 @@ export * from './types/types';
3
3
  export * from './types/moleculeTypes';
4
4
  export * from './styles';
5
5
  export * from './OrganismItem';
6
+ export { OrganismItemWithActiveChildren } from './OrganismItemWithActiveChildren';
@@ -13,6 +13,8 @@ export declare const ContainerWrapper: import("styled-components").StyledCompone
13
13
  formStepProps: import("containers/types/types").FormStepContainerProps;
14
14
  padding: import("containers/types/types").Padding;
15
15
  border: string;
16
+ activeChildrenIds: string[];
17
+ activeOrganismIds: string[];
16
18
  }> | undefined;
17
19
  metadata?: AnyObject | undefined;
18
20
  }, never>;
@@ -35,6 +35,8 @@ export declare type ContainerPropsType = Partial<{
35
35
  formStepProps: FormStepContainerProps;
36
36
  padding: Padding;
37
37
  border: string;
38
+ activeChildrenIds: string[];
39
+ activeOrganismIds: string[];
38
40
  }>;
39
41
  export declare type AdditionalContainerProps = Partial<{
40
42
  containerStyle: CSSProperties;
@@ -53,11 +55,11 @@ export declare type ContainerComponentProps = {
53
55
  instance: 'container';
54
56
  type: ContainerType;
55
57
  items: (ContainerComponentProps | Molecule)[];
56
- config: {
57
- wide?: AdditionalContainerProps;
58
- compact?: AdditionalContainerProps;
59
- props?: ContainerPropsType;
60
- };
58
+ config: Partial<{
59
+ wide: AdditionalContainerProps;
60
+ compact: AdditionalContainerProps;
61
+ props: ContainerPropsType;
62
+ }>;
61
63
  tabsProps?: Pick<TabGroupProps, 'tabs' | 'activeTabKey' | 'onTabChange'>;
62
64
  metadata?: AnyObject;
63
65
  attributes?: AnyObject;
@@ -1,5 +1,5 @@
1
- import { PropsWithChildren } from 'react';
2
1
  import { ContainerComponentProps, Molecule } from 'containers';
2
+ import { PropsWithChildren } from 'react';
3
3
  export declare type FormStepContextProviderProps = PropsWithChildren<Partial<{
4
4
  initItems: (ContainerComponentProps | Molecule)[];
5
5
  }>>;
package/dist/index.d.ts CHANGED
@@ -45,7 +45,7 @@ import { CheckboxInternalConfigProps as CheckboxInternalConfigProps$1 } from 'at
45
45
  import { CustomDescendant } from 'atoms/RichTextViewer/types';
46
46
  import { ConsentCaptureProps } from 'molecules/Consent/ConsentCapture';
47
47
  import * as containers_types_types from 'containers/types/types';
48
- import { ContainerProps as ContainerProps$1 } from 'containers/types/types';
48
+ import { ContainerProps as ContainerProps$1, ContainerComponentProps as ContainerComponentProps$2 } from 'containers/types/types';
49
49
 
50
50
  declare type TouchableOpacityProps = PropsWithChildren<{
51
51
  activeOpacity?: number;
@@ -1478,6 +1478,8 @@ declare const Container: ({ children, wide, compact, type, props, id, metadata,
1478
1478
  formStepProps: containers.FormStepContainerProps;
1479
1479
  padding: containers.Padding;
1480
1480
  border: string;
1481
+ activeChildrenIds: string[];
1482
+ activeOrganismIds: string[];
1481
1483
  }>;
1482
1484
  }>;
1483
1485
  compact: Partial<{
@@ -1493,6 +1495,8 @@ declare const Container: ({ children, wide, compact, type, props, id, metadata,
1493
1495
  formStepProps: containers.FormStepContainerProps;
1494
1496
  padding: containers.Padding;
1495
1497
  border: string;
1498
+ activeChildrenIds: string[];
1499
+ activeOrganismIds: string[];
1496
1500
  }>;
1497
1501
  }>;
1498
1502
  props: Partial<{
@@ -1506,6 +1510,8 @@ declare const Container: ({ children, wide, compact, type, props, id, metadata,
1506
1510
  formStepProps: containers.FormStepContainerProps;
1507
1511
  padding: containers.Padding;
1508
1512
  border: string;
1513
+ activeChildrenIds: string[];
1514
+ activeOrganismIds: string[];
1509
1515
  }>;
1510
1516
  metadata: AnyObject;
1511
1517
  }> & {
@@ -1771,6 +1777,8 @@ declare type ContainerPropsType = Partial<{
1771
1777
  formStepProps: FormStepContainerProps;
1772
1778
  padding: Padding;
1773
1779
  border: string;
1780
+ activeChildrenIds: string[];
1781
+ activeOrganismIds: string[];
1774
1782
  }>;
1775
1783
  declare type AdditionalContainerProps = Partial<{
1776
1784
  containerStyle: CSSProperties;
@@ -1789,11 +1797,11 @@ declare type ContainerComponentProps = {
1789
1797
  instance: 'container';
1790
1798
  type: ContainerType;
1791
1799
  items: (ContainerComponentProps | Molecule)[];
1792
- config: {
1793
- wide?: AdditionalContainerProps;
1794
- compact?: AdditionalContainerProps;
1795
- props?: ContainerPropsType;
1796
- };
1800
+ config: Partial<{
1801
+ wide: AdditionalContainerProps;
1802
+ compact: AdditionalContainerProps;
1803
+ props: ContainerPropsType;
1804
+ }>;
1797
1805
  tabsProps?: Pick<TabGroupProps$1, 'tabs' | 'activeTabKey' | 'onTabChange'>;
1798
1806
  metadata?: AnyObject$1;
1799
1807
  attributes?: AnyObject$1;
@@ -1828,6 +1836,8 @@ declare const ContainerWrapper: styled_components.StyledComponent<"div", styled_
1828
1836
  formStepProps: containers_types_types.FormStepContainerProps;
1829
1837
  padding: containers_types_types.Padding;
1830
1838
  border: string;
1839
+ activeChildrenIds: string[];
1840
+ activeOrganismIds: string[];
1831
1841
  }> | undefined;
1832
1842
  metadata?: AnyObject | undefined;
1833
1843
  }, never>;
@@ -1838,4 +1848,10 @@ declare type OrganismItemProps = {
1838
1848
  };
1839
1849
  declare const OrganismItem: ({ item, tabsProps }: OrganismItemProps) => JSX.Element | null;
1840
1850
 
1841
- export { AcquisitionForm, AcquisitionFormProps, ActionAttributes, ActionTypes, AdditionalContainerProps, AdditionalTabContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMolecule, ButtonProps, ButtonType, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, Checkbox, CheckboxField, CheckboxFieldMolecule, CheckboxFieldProps, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CheckboxesProps, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorAttributes, ColumnItem, Columns, ColumnsProps, ConditionConfig, ConditionConfigAttributes, ConditionCriteria, Consent, ConsentCaptureMethod, ConsentFieldMolecule, ConsentProps, Container, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CriteriaType, CustomValidation, CustomValidationProps, CustomValidationRule, DataConnectionAttributes, DefaultSelectionType, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, DownloadFile, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, ErrorText, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, FormContainerProps, FormStateType, FormStepContainerProps, FormStepContextProviderProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconWrapper, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, IterableAttributes, LabelInternalConfig, Link, LinkAttributes, LinkMolecule, LinkProps, LinkVariant, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismContext, OrganismContextProvider, OrganismContextType, OrganismItem, OrganismItemProps, OrientationType, Padding, PaddingVariants, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldMolecule, RadioButtonFieldProps, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, SegmentationType, Select, SelectAttributes, SelectField, SelectFieldMolecule, SelectFieldProps, SelectInternalConfigurationOptions, SelectOption, SelectProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Slide, SliderProps, SlidesWrapper, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextInputMolecule, TextMolecule, TextMoleculeProps, TextMoleculeType, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipInternalConfig, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, WrappedContainerType, Wrapper, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, getMockValueForSuccessAndFormatError, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useButtonActionsContext, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
1851
+ declare type OrganismItemWithActiveChildrenProps = {
1852
+ item: ContainerComponentProps$2;
1853
+ activeChildrenIds: string[];
1854
+ };
1855
+ declare const OrganismItemWithActiveChildren: (props: OrganismItemWithActiveChildrenProps) => JSX.Element | null;
1856
+
1857
+ export { AcquisitionForm, AcquisitionFormProps, ActionAttributes, ActionTypes, AdditionalContainerProps, AdditionalTabContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMolecule, ButtonProps, ButtonType, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, Checkbox, CheckboxField, CheckboxFieldMolecule, CheckboxFieldProps, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CheckboxesProps, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorAttributes, ColumnItem, Columns, ColumnsProps, ConditionConfig, ConditionConfigAttributes, ConditionCriteria, Consent, ConsentCaptureMethod, ConsentFieldMolecule, ConsentProps, Container, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CriteriaType, CustomValidation, CustomValidationProps, CustomValidationRule, DataConnectionAttributes, DefaultSelectionType, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, DownloadFile, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, ErrorText, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, FormContainerProps, FormStateType, FormStepContainerProps, FormStepContextProviderProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconWrapper, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, IterableAttributes, LabelInternalConfig, Link, LinkAttributes, LinkMolecule, LinkProps, LinkVariant, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismContext, OrganismContextProvider, OrganismContextType, OrganismItem, OrganismItemProps, OrganismItemWithActiveChildren, OrientationType, Padding, PaddingVariants, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldMolecule, RadioButtonFieldProps, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, SegmentationType, Select, SelectAttributes, SelectField, SelectFieldMolecule, SelectFieldProps, SelectInternalConfigurationOptions, SelectOption, SelectProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Slide, SliderProps, SlidesWrapper, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextInputMolecule, TextMolecule, TextMoleculeProps, TextMoleculeType, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipInternalConfig, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, WrappedContainerType, Wrapper, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, getMockValueForSuccessAndFormatError, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useButtonActionsContext, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.3.45",
3
+ "version": "0.3.46",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"