@zealicsolutions/web-ui 0.4.86 → 0.4.88

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.
@@ -1,4 +1,4 @@
1
- import { ConfigurationItemInfo } from 'containers';
1
+ import { ConfigurationItemInfo, MetadataType } from 'containers';
2
2
  import { SizesTypes } from 'theme';
3
3
  import { CheckboxInternalConfigProps } from 'atoms/Checkbox/types';
4
4
  import type { Nullable } from 'typescript';
@@ -14,12 +14,13 @@ export declare type ChecklistItem = {
14
14
  };
15
15
  export declare type ChecklistProps = {
16
16
  items: ChecklistItem[];
17
- props: {
18
- gap: SizesTypes;
17
+ props?: {
18
+ gap?: SizesTypes;
19
19
  } & CheckboxInternalConfigProps;
20
20
  configurationItemInfo?: ConfigurationItemInfo;
21
+ metadata: MetadataType;
21
22
  };
22
- export declare const Checklist: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, }: ChecklistProps) => JSX.Element;
23
+ export declare const Checklist: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, metadata, }: ChecklistProps) => JSX.Element;
23
24
  export declare const ChecklistWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
24
25
  $gap: SizesTypes;
25
26
  }, never>;
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
2
2
  import { Checklist as ChecklistComponent } from 'molecules';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, }: import("molecules").ChecklistProps) => JSX.Element;
5
+ component: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, metadata, }: import("molecules").ChecklistProps) => JSX.Element;
6
6
  };
7
7
  export default _default;
8
8
  export declare const Checklist: StoryFn<typeof ChecklistComponent>;
@@ -9,7 +9,7 @@ export declare type ZealUIModalProps = PropsWithChildren<Pick<MUIModalProps, 'op
9
9
  modalStyles?: CSSProperties;
10
10
  size?: string;
11
11
  popupId: string;
12
- onClose: (popupId: string) => void;
12
+ onClose: () => void;
13
13
  withCloseIcon?: boolean;
14
14
  };
15
15
  export declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, size, popupId, withCloseIcon, ...rest }: ZealUIModalProps) => JSX.Element;
package/dist/index.d.ts CHANGED
@@ -2176,7 +2176,7 @@ declare type ZealUIModalProps = PropsWithChildren<Pick<ModalProps, 'open'>> & {
2176
2176
  modalStyles?: CSSProperties;
2177
2177
  size?: string;
2178
2178
  popupId: string;
2179
- onClose: (popupId: string) => void;
2179
+ onClose: () => void;
2180
2180
  withCloseIcon?: boolean;
2181
2181
  };
2182
2182
  declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, size, popupId, withCloseIcon, ...rest }: ZealUIModalProps) => JSX.Element;
@@ -2238,12 +2238,13 @@ declare type ChecklistItem = {
2238
2238
  };
2239
2239
  declare type ChecklistProps = {
2240
2240
  items: ChecklistItem[];
2241
- props: {
2242
- gap: SizesTypes$1;
2241
+ props?: {
2242
+ gap?: SizesTypes$1;
2243
2243
  } & CheckboxInternalConfigProps$1;
2244
2244
  configurationItemInfo?: ConfigurationItemInfo$1;
2245
+ metadata: MetadataType$1;
2245
2246
  };
2246
- declare const Checklist: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, }: ChecklistProps) => JSX.Element;
2247
+ declare const Checklist: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, metadata, }: ChecklistProps) => JSX.Element;
2247
2248
  declare const ChecklistWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
2248
2249
  $gap: SizesTypes$1;
2249
2250
  }, never>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.4.86",
4
- "testVersion": "0.3.229",
3
+ "version": "0.4.88",
4
+ "testVersion": "0.3.248",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"