kibana/x-pack/dev-tools
Pierre Gayvallet 1722e28294
[7.x] Remove react references from core Notifications apis (#49573) (#50616)
* Remove react references from core `Notifications` apis (#49573)

* add reactMount util to kibana_react

(kibana-react) properly export reactMount

* add MountPoint types and utility

* adapt toast API to no longer accept react elements

(toast API) properly export new Toast type

* adapt calls by using reactMount

createNotifications: do not wrap if text

* update generated doc

* add custom snapshot serializer for reactMount

* fix unit tests

fix xpack unit tests

* adapt non-ts calls

* do not add __reactMount__ property in production

* remove string check on createNotifications

* fix typo and small fix using obj spread

* improve react mount snapshot serializer

* simplify convertToEui

* rename reactMount to toMountPoint

* adapt newly added calls

* move mount types to proper file

* use new Mount types for OverlayBanner apis

* fixing typo

* adapt new calls

* use destructured imports

* adapt call in 7.x
2019-11-14 10:36:08 +01:00
..
api_debug
jest [7.x] Remove react references from core Notifications apis (#49573) (#50616) 2019-11-14 10:36:08 +01:00
github_relabel.pl
xkb_release_notes.pl