Skip to content

Releases: eBay/nice-modal-react

1.2.13

03 Oct 09:23
Compare
Choose a tag to compare
  • Type fix for create #129.

1.2.12

02 Oct 06:16
Compare
Choose a tag to compare
  • Refine types of useModal and show: allows id as prop.

1.2.11

29 Sep 14:58
Compare
Choose a tag to compare
  • Make return value of useModal stable if possible.
  • Added a new ModalHolder component for easy binding props to modal, see example here.
  • Refined type of useModal and show method.
  • Static remove method accepts a modal component.

1.2.10

09 Apr 01:50
Compare
Choose a tag to compare
  • Include src folder to support sourcemap.

1.2.9

03 Mar 02:16
Compare
Choose a tag to compare
  • Improve typing of show function (#102 by @fperaltalitebox)
  • Allow setting ResolveType to pass to show method (#103 by @fandridis )
  • Included sourcemap.

1.2.8

21 Oct 12:02
Compare
Choose a tag to compare

1.2.7

22 Sep 12:17
Compare
Choose a tag to compare
  • Added antdModalV5 and antdDrawerV5 helpers to support antd v5. (Thanks to @shoota )
  • Name default export for type intelligence (Thanks to @SevenOutman )
  • Improve modal.show type inferring. (Thanks to @alexandredev3 )
  • Added muiDialogV5 helper to support MUI v5

1.2.6

30 May 12:54
Compare
Choose a tag to compare

Expose NiceModalContext.