Releases: mhsdesign/MhsDesign.LiveInspectorJsEvents
2.0.3
What's Changed
- Fix: Use esbuild and bump to Neos.Neos.Ui ^8.0 by @gradinarufelix in #6
New Contributors
- @gradinarufelix made their first contribution in #6
Full Changelog: 2.0.2...2.0.3
2.0.2
2.0.1
✨ Feature: Support also for Neos.Ui 5.3 - 7.2
make this package available also for 'older' NeosUi versions, which dont have the 'NeosUiGuestFrameDom' api neos/neos-ui#2945
by the use of this polyfill: https://github.com/mhsdesign/MhsDesign.PolyfillNeosUiGuestFrameApi
2.0.0
✨ Feature:
-
Use the in the Neos UI build in cache for current changes and send old prop value:
lastTransientValues = selectors.UI.Inspector.transientValues(state);
now one can easily not only get the new prop value but also the previous value - helpfully for classlist.remove and add. -
neos.guestFrame.findElementByNode(node)
the globalwindow.neos
object is extended by this package and exposes underguestFrame
this function, which makes it possible to get the dom element by node object.
💥 Breaking:
This one is really breaking since we work on putting the functionality into core and so the api was improved.
Since this version could potentially land in the core the naming of the events was also changed so once this is in the core one doesnt need a big migration.
-
Use the consumer api: neos/neos-ui#2945 - that leads to only being Neos ^7.2.0 compatible
-
Rename and split up events: 'Neos.NodeCommit' 'Neos.NodeDiscard'
The naming matches existing events: https://docs.neos.io/cms/manual/extending-the-user-interface/interacting-with-the-neos-backend -
Send on discard only the props who were resetted.
-
Send event only when value truly changed.
-
Event
event.detail
changed. see https://github.com/mhsdesign/MhsDesign.LiveInspectorJsEvents/blob/1761d848a9716a9eb81310a6c17ebeb2139775e8/README.md -
Event
event.message
has an actual message.
1.0.1 Minify
Update: Minimize files on build (#1) * Update: Minimize files on build * Build files