@zealicsolutions/web-ui 0.4.35 → 0.4.36

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,7 @@ export declare type PopupPropsType = {
6
6
  config: {
7
7
  styles?: AnyObject;
8
8
  size?: 'large' | 'medium';
9
+ withCloseIcon?: boolean;
9
10
  };
10
11
  content: {
11
12
  embedded?: (ContainerComponentProps | Molecule)[];
@@ -10,8 +10,9 @@ export declare type ZealUIModalProps = PropsWithChildren<Pick<MUIModalProps, 'op
10
10
  size?: string;
11
11
  popupId: string;
12
12
  onClose: (popupId: string) => void;
13
+ withCloseIcon?: boolean;
13
14
  };
14
- export declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, size, popupId, ...rest }: ZealUIModalProps) => JSX.Element;
15
+ export declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, size, popupId, withCloseIcon, ...rest }: ZealUIModalProps) => JSX.Element;
15
16
  export declare const ModalWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, OverrideStyles, never>;
16
17
  export declare const IconWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
17
18
  activeOpacity?: number | undefined;
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
2
2
  import { ZealUIModal as ZealUIModalComponent } from './ZealUIModal';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, size, popupId, ...rest }: import("./ZealUIModal").ZealUIModalProps) => JSX.Element;
5
+ component: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, size, popupId, withCloseIcon, ...rest }: import("./ZealUIModal").ZealUIModalProps) => JSX.Element;
6
6
  };
7
7
  export default _default;
8
8
  export declare const ZealUIModal: StoryFn<typeof ZealUIModalComponent>;
package/dist/index.d.ts CHANGED
@@ -1404,6 +1404,7 @@ declare type PopupPropsType = {
1404
1404
  config: {
1405
1405
  styles?: AnyObject$1;
1406
1406
  size?: 'large' | 'medium';
1407
+ withCloseIcon?: boolean;
1407
1408
  };
1408
1409
  content: {
1409
1410
  embedded?: (ContainerComponentProps$1 | Molecule$1)[];
@@ -2020,8 +2021,9 @@ declare type ZealUIModalProps = PropsWithChildren<Pick<ModalProps, 'open'>> & {
2020
2021
  size?: string;
2021
2022
  popupId: string;
2022
2023
  onClose: (popupId: string) => void;
2024
+ withCloseIcon?: boolean;
2023
2025
  };
2024
- declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, size, popupId, ...rest }: ZealUIModalProps) => JSX.Element;
2026
+ declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, size, popupId, withCloseIcon, ...rest }: ZealUIModalProps) => JSX.Element;
2025
2027
  declare const ModalWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, OverrideStyles, never>;
2026
2028
  declare const IconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
2027
2029
  activeOpacity?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.4.35",
3
+ "version": "0.4.36",
4
4
  "testVersion": "0.3.165",
5
5
  "repository": {
6
6
  "type": "git",