9.1.0 (2022-09-04)
- improve support for
vite
9.0.0 (2022-07-30)
- share to DSCVR
- per default, open share link in new window (*)
- new option
openWindowTarget
to set another target to open the url than_blank
(*)
(*) except "email" and "copy" targets
8.1.0 (2022-07-29)
- share to OpenChat
- improve mobile detection to share Twitter or Whatsapp accordingly
- move
utils
toproviders
- bump dev dependencies
- remove
pretty-quick
andhusky
- format code (max 100 chars instead of 140)
8.0.1 (2021-12-21)
- add manual support for ESM in NodeJS (#55)
8.0.0 (2021-12-06)
- custom element entry modified (Stencil
dist-custom-elements
instead of deprecateddist-custom-elements-bundle
| #48)
import 'web-social-share/dist/components/web-social-share';
7.3.1 (2021-12-05)
- undefined Reddit title if
socialShareText
not provided
7.3.0 (2021-12-05)
- improve user feedback on click with a ripple effect
module
entry point (#48)
- bump dev dependencies
package-lock
version v2 - npm v7
7.2.0 (2021-06-06)
- output custom elements as a single bundle (
dist-custom-elements-bundle
) - bump dependencies
7.1.0 (2021-02-21)
- share to Telegram
7.0.0 (2021-01-24)
- drop support of IE11, Edge 16-18 and Safari 10
- update dependencies (Stencil v2)
- code refactored to hopefully make it easier to read
isMobile
detection improved
- use prettier to format code
6.4.1 (2020-08-15)
- update Stencil v1.17.x
6.4.0 (2020-03-20)
- update dependencies
6.3.0 (2020-02-07)
- add "Hacker News"
- exposes interfaces in bundle
- improve UI (max. width 540px instead of 500px, box-shadow and border-radius for the container)
- refactor duplicate actions functions code
- GitHub action to deploy demo website to Firebase
- transfer GitHub repo to my self (peterpeterparker)
6.2.0 (2019-07-30)
- refactor component to avoid the need to move slots in order to be compatible with Font Awesome (CSS import) (#18)
There isn't any "breaking changes" but according the type and how you style your icons, you might need to change some CSS variables to keep styles in terms of size the same way.
For example I had to change width
to font-size
in the index.html of the component.
From:
<i class="fab fa-twitter" slot="twitter" style="color: #00aced; width: 1.4rem;"></i>
To:
<i class="fab fa-twitter" slot="twitter" style="color: #00aced; font-size: 1.6rem;"></i>
6.1.0 (2019-07-12)
- CSS variable to set the base zIndex of the component
6.0.0 (2019-06-11)
- add "Copy (to clipboard)" support (#17)
5.1.0 (2019-06-05)
- Stencil One
5.0.0 (2019-02-17)
- transform component to a shadowed Web Component (#14)
Notes:
As of version v5.0.0 this Web Component will be shadowed. Therefore, you will have to use slots
to inject the icons for the sharing actions and will have to style these in order to apply for example the proper colors. The README of the component has been updated to reflect these changes.
If you would miss variables to style the component, ping me, I would be happy to add more options.
4.0.2 (2019-02-02)
- incorrect URL when WhatsApp socialShareText is empty (#13, thx @fmendoza for the PR 👍)
4.0.1 (2019-01-29)
4.0.0 (2019-01-29)
- add WhatsApp support (#11)
- add a CSS4 variable to customize the height of the action sheet on small devices (#12)
3.0.1 (2019-01-26)
- the move slot method might be executed before the sub-component is loaded (#9)
3.0.0 (2019-01-26)
- add pseudo slots to the social share actions (#8)
- ability to customize / override rendered names (#7)
- a bit of styling and text editing on the
index.html
file for the website
- update libs
2.1.4 (2018-08-24)
- fix Safari z-index (92dc154
2.1.3 (2018-08-23)
- fix action sheet not closed on middle click (#5)
2.1.2 (2018-08-23)
- use full page height (#4)
2.1.1 (2018-08-23)
- resolve build warning (99a118428c3915379e5bf38b3301e3594174fb9f)
2.1.0 (2018-08-19)
2.0.0 (2018-08-12)
- breaking changes: Update the component in order to be compatible with Ionic v4 and Angular v6
I did not gave a try but this version might no be suitable anymore for Ionic v3 and Angular v5. If you are using the web-social-share component in such apps, you might better not upgrade and stick to the component version v1.1.0