Version 5.0.0
The component has been completely re-implemented from scratch to make it as modular and configurable as possible.
Breaking changes
- Now each target has its own web component that must be added as a child of the main
share-menu
component to be displayed. In this way, you can import only the targets that you need and exclude the rest from the bundle; - The design of the menu has been updated and now matches the one from Android 14 on Pixel devices;
- Together with the design changes, there were a lot of markup changes too. For this reason, many properties were added or changed;
- Each custom property has now been prefixed with
--sm-
to avoid accidental conflicts when declaring CSS variables globally; - Many many other changes. Please, check the updated readme for more information on how to use this new version of the menu.