Skip to content

Releases: Dabolus/share-menu

Version 5.1.0

08 Mar 07:54
3a8539e
Compare
Choose a tag to compare
  • Added Bluesky
  • Renamed Twitter to X (old Twitter share target is still exposed for backward compatibility, but it just re-exports the X share target)
  • Documentation improvements and demo dependencies update

Version 5.0.1

15 Aug 18:58
43e873c
Compare
Choose a tag to compare

Tiny hotfix on a code example in the readme. If you have already installed the 5.0.0, don't worry about updating right away. There are no code changes between the two versions.

Version 5.0.0

15 Aug 18:56
b16667c
Compare
Choose a tag to compare

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.

Lot of code and bundle size improvements

07 Nov 08:19
Compare
Choose a tag to compare

BREAKING CHANGES:

  • social-click event renamed to share
  • Social icons package now only contains the SVG paths data, not the entire SVG
  • browser field on package.json now points to the ESM version of the share menu, so that you can be sure that using a bare import specifier (i.e. import 'share-menu') you're going to get the module version instead of the IIFE version. To use the IIFE version, you will now need to import it explicitly (i.e. share-menu/share-menu.iife.js)

Other changes:

  • Now the automatic setting of title, text, and url properties can be avoided by assigning them an empty string (e.g. <share-menu text=""></share-menu> will avoid using the description meta tag content as text default value)
  • Added two new events: close and error
  • TypeScript typings improvements
  • Styling support via CSS shadow parts
  • Huge socials SVGs optimizations
  • Bundle size reduction thanks to some code refactoring and bundler configuration tweaks
  • Various bug fixes and code style and performance improvements
  • Finally added a decent test suite to (possibly) avoid bugs and regressions

4.0.0-rc.5

07 Nov 08:01
Compare
Choose a tag to compare
4.0.0-rc.5 Pre-release
Pre-release
4.0.0-rc.5

4.0.0-rc.4

14 May 19:09
Compare
Choose a tag to compare
4.0.0-rc.4 Pre-release
Pre-release
4.0.0-rc.4

4.0.0-rc.3

21 Mar 14:50
Compare
Choose a tag to compare
4.0.0-rc.3 Pre-release
Pre-release
4.0.0-rc.3

4.0.0-rc.2

21 Mar 14:50
Compare
Choose a tag to compare
4.0.0-rc.2 Pre-release
Pre-release
4.0.0-rc.2

4.0.0-rc.1

27 Dec 22:16
Compare
Choose a tag to compare
4.0.0-rc.1 Pre-release
Pre-release
4.0.0-rc.1

Minified builds

21 Dec 20:47
Compare
Choose a tag to compare

This release provides a minified version for both module and IIFE version of the element to make it more easily usable in a non-bundler environment.