@zealicsolutions/web-ui 0.4.56 → 0.4.58
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 +20 -20
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/containers/Container.d.ts +3 -2
- package/dist/cjs/src/containers/types/moleculeTypes.d.ts +3 -3
- package/dist/cjs/src/containers/types/types.d.ts +3 -2
- package/dist/cjs/src/contexts/OrganismContext/OrganismContextProvider.d.ts +3 -1
- package/dist/cjs/src/molecules/Drawer/Drawer.d.ts +1 -1
- package/dist/cjs/src/molecules/Drawer/Drawer.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Drawer/styles.d.ts +4 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/containers/Container.d.ts +3 -2
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +3 -3
- package/dist/esm/src/containers/types/types.d.ts +3 -2
- package/dist/esm/src/contexts/OrganismContext/OrganismContextProvider.d.ts +3 -1
- package/dist/esm/src/molecules/Drawer/Drawer.d.ts +1 -1
- package/dist/esm/src/molecules/Drawer/Drawer.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Drawer/styles.d.ts +4 -2
- package/dist/index.d.ts +15 -10
- package/package.json +2 -2
@@ -1,8 +1,10 @@
|
|
1
1
|
import { ContainerComponentProps, ContainerProps } from 'containers';
|
2
2
|
import { Dispatch, ReactNode, SetStateAction } from 'react';
|
3
3
|
import type { AnyObject } from 'typescript';
|
4
|
-
export declare const Container: ({ id, type, wide, props, compact, children, metadata, isMobile, }:
|
4
|
+
export declare const Container: ({ id, type, wide, props, compact, children, metadata, isMobile, }: {
|
5
5
|
type: import("containers").ContainerType;
|
6
|
+
metadata: import("containers").MetadataType;
|
7
|
+
} & Partial<{
|
6
8
|
containerTemplateType: "row_content_container";
|
7
9
|
wide: Partial<{
|
8
10
|
containerStyle: import("styled-components").CSSProperties;
|
@@ -70,7 +72,6 @@ export declare const Container: ({ id, type, wide, props, compact, children, met
|
|
70
72
|
activeOrganismIds: string[];
|
71
73
|
padding: import("containers").Padding;
|
72
74
|
}>;
|
73
|
-
metadata: import("containers").MetadataType;
|
74
75
|
isMobile: boolean;
|
75
76
|
}> & {
|
76
77
|
children?: ReactNode;
|
@@ -129,10 +129,10 @@ export interface ProcessStepsAttributes {
|
|
129
129
|
export declare type MoleculeTypes = 'image' | 'text' | 'button' | 'video' | 'header_tab_group' | 'input_field' | 'select_field' | 'radio_button_field' | 'checkbox_field' | 'consent' | 'link' | 'password_setup_field' | 'account_button' | 'process_steps';
|
130
130
|
export interface BaseMolecule {
|
131
131
|
id: string;
|
132
|
-
moleculeLibraryId: string;
|
133
|
-
instance: 'molecule';
|
134
132
|
type: MoleculeTypes;
|
135
|
-
|
133
|
+
instance: 'molecule';
|
134
|
+
metadata: MetadataType;
|
135
|
+
moleculeLibraryId: string;
|
136
136
|
}
|
137
137
|
export interface ImageMolecule extends BaseMolecule {
|
138
138
|
type: 'image';
|
@@ -75,13 +75,14 @@ export declare type AdditionalContainerProps = Partial<{
|
|
75
75
|
containerStyle: CSSProperties;
|
76
76
|
containerProps: ContainerPropsType;
|
77
77
|
}>;
|
78
|
-
export declare type ContainerProps = PropsWithChildren<
|
78
|
+
export declare type ContainerProps = PropsWithChildren<{
|
79
79
|
type: ContainerType;
|
80
|
+
metadata: MetadataType;
|
81
|
+
} & Partial<{
|
80
82
|
containerTemplateType: ContainerTemplateType;
|
81
83
|
wide: AdditionalContainerProps;
|
82
84
|
compact: AdditionalContainerProps;
|
83
85
|
props: ContainerPropsType;
|
84
|
-
metadata: MetadataType;
|
85
86
|
isMobile: boolean;
|
86
87
|
}>>;
|
87
88
|
export declare type ContainerComponentProps = {
|
@@ -1,11 +1,13 @@
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
2
|
-
import { ContainerComponentProps, Molecule } from 'containers';
|
2
|
+
import { ContainerComponentProps, ContainerType, MetadataType, Molecule, MoleculeTypes } from 'containers';
|
3
3
|
import type { AnyObject } from 'typescript';
|
4
4
|
import { PasswordRuleValidation } from 'molecules/PasswordSetup/PasswordSetup';
|
5
5
|
export declare type ConfigurationItem = {
|
6
6
|
entity: 'container' | 'molecule';
|
7
7
|
entityId: string;
|
8
8
|
organismId: string;
|
9
|
+
entityType: MoleculeTypes | ContainerType;
|
10
|
+
entityMetadata: MetadataType;
|
9
11
|
};
|
10
12
|
export declare type OrganismContextProviderProps = PropsWithChildren<{
|
11
13
|
organismId: string;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
2
2
|
import { DrawerProps } from './styles';
|
3
|
-
export declare const Drawer: ({ children, closeIconColor, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
|
3
|
+
export declare const Drawer: ({ children, closeIconColor, withCloseIcon, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
3
3
|
import { Drawer as DrawerComponent } from './Drawer';
|
4
4
|
declare const _default: {
|
5
5
|
title: string;
|
6
|
-
component: ({ children, closeIconColor, ...props }: React.PropsWithChildren<import("./styles").DrawerProps>) => JSX.Element;
|
6
|
+
component: ({ children, closeIconColor, withCloseIcon, ...props }: React.PropsWithChildren<import("./styles").DrawerProps>) => JSX.Element;
|
7
7
|
};
|
8
8
|
export default _default;
|
9
9
|
export declare const Drawer: StoryFn<typeof DrawerComponent>;
|
@@ -4,16 +4,18 @@ import { Drawer as DrawerComponent, DrawerProps as DrawerComponentProps } from '
|
|
4
4
|
export declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
|
5
5
|
export declare type DrawerProps = DrawerComponentProps & {
|
6
6
|
anchor: Anchor;
|
7
|
-
padding?: SizesTypes | number;
|
7
|
+
padding?: SizesTypes | number | string;
|
8
8
|
height?: number | string;
|
9
9
|
width?: number | string;
|
10
|
+
withCloseIcon?: boolean;
|
10
11
|
closeIconColor?: ThemeColors | string;
|
11
12
|
};
|
12
13
|
export declare const BaseDrawer: import("styled-components").StyledComponent<typeof DrawerComponent, import("styled-components").DefaultTheme, DrawerComponentProps & {
|
13
14
|
anchor: Anchor;
|
14
|
-
padding?:
|
15
|
+
padding?: string | number | undefined;
|
15
16
|
height?: string | number | undefined;
|
16
17
|
width?: string | number | undefined;
|
18
|
+
withCloseIcon?: boolean | undefined;
|
17
19
|
closeIconColor?: string | undefined;
|
18
20
|
}, never>;
|
19
21
|
export declare const IconWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|