@zealicsolutions/web-ui 0.3.45 → 0.3.46
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/containers/Container.d.ts +6 -0
- package/dist/cjs/src/containers/OrganismItemWithActiveChildren.d.ts +7 -0
- package/dist/cjs/src/containers/hooks/useOrganismItemWithActiveChildren.d.ts +3 -0
- package/dist/cjs/src/containers/index.d.ts +1 -0
- package/dist/cjs/src/containers/styles.d.ts +2 -0
- package/dist/cjs/src/containers/types/types.d.ts +7 -5
- package/dist/cjs/src/contexts/OrganismContext/OrganismContextProvider.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/containers/Container.d.ts +6 -0
- package/dist/esm/src/containers/OrganismItemWithActiveChildren.d.ts +7 -0
- package/dist/esm/src/containers/hooks/useOrganismItemWithActiveChildren.d.ts +3 -0
- package/dist/esm/src/containers/index.d.ts +1 -0
- package/dist/esm/src/containers/styles.d.ts +2 -0
- package/dist/esm/src/containers/types/types.d.ts +7 -5
- package/dist/esm/src/contexts/OrganismContext/OrganismContextProvider.d.ts +1 -1
- package/dist/index.d.ts +23 -7
- package/package.json +1 -1
@@ -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;
|
@@ -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
|
58
|
-
compact
|
59
|
-
props
|
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
|
}>>;
|