@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
  }>>;