Releases: github/g-emoji-element
Releases · github/g-emoji-element
v1.2.0
What's Changed
- Bump got from 11.8.3 to 11.8.5 by @dependabot in #52
- move AOR to primer by @keithamus in #53
- Bump socket.io-parser from 4.0.4 to 4.0.5 by @dependabot in #54
- Bump engine.io and socket.io by @dependabot in #55
- Bump json5 from 1.0.1 to 1.0.2 by @dependabot in #56
- Bump ua-parser-js from 0.7.31 to 0.7.33 by @dependabot in #57
- Bump engine.io and socket.io by @dependabot in #59
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #61
- Bump socket.io-parser from 4.2.1 to 4.2.4 by @dependabot in #62
- Bump follow-redirects from 1.14.9 to 1.15.4 by @dependabot in #63
- Bump follow-redirects from 1.15.4 to 1.15.6 by @dependabot in #64
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in #66
- Bump ws and socket.io by @dependabot in #67
- Export tone modifiers by @marywhite in #68
New Contributors
- @marywhite made their first contribution in #68
Full Changelog: v1.1.6...v1.2.0
v1.1.6
What's Changed
- Bump lodash from 4.17.15 to 4.17.21 by @dependabot in #34
- Bump y18n from 4.0.0 to 4.0.3 by @dependabot in #33
- Bump socket.io from 2.3.0 to 2.4.1 by @dependabot in #35
- Bump glob-parent from 5.1.1 to 5.1.2 by @dependabot in #32
- Bump hosted-git-info from 2.8.8 to 2.8.9 by @dependabot in #31
- Bump path-parse from 1.0.6 to 1.0.7 by @dependabot in #30
- Bump follow-redirects from 1.11.0 to 1.14.7 by @dependabot in #36
- Bump log4js from 6.2.1 to 6.4.0 by @dependabot in #37
- Bump pathval from 1.1.0 to 1.1.1 by @dependabot in #38
- Bump karma from 5.0.9 to 6.3.14 by @dependabot in #39
- Bump ajv from 6.12.2 to 6.12.6 by @dependabot in #40
- Use chromium for karma tests by @theinterned in #41
- Add a .devcontainer by @koddsson in #42
- Bump karma from 6.3.14 to 6.3.16 by @dependabot in #43
- Add a release action by @koddsson in #44
- Bump ansi-regex from 3.0.0 to 3.0.1 by @dependabot in #47
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #48
- Update dependencies by @koddsson in #50
- Allow developers to override emoji support detection by @koddsson in #49
New Contributors
- @theinterned made their first contribution in #41
Full Changelog: v1.1.5...v1.1.6
v1.1.5
v1.1.4
v1.1.3
1.1.1
1.1.0
v1.0.6
v1.0.5
1.0.5
<g-emoji> element
Backports native emoji characters to browsers that don't support them by replacing the characters with fallback images.
Installation
$ npm install @github/g-emoji-element
Usage
import '@github/g-emoji-element'
<g-emoji fallback-src="t-rex.png" alias="T-Rex">🦖</g-emoji>
If a browser supports emoji, nothing happens. If a browser does not support emoji, a fallback image tag is created:
<g-emoji fallback-src="t-rex.png" alias="T-Rex">
<img class="emoji" alt="T-Rex" height="20" width="20" src="t-rex.png">
</g-emoji>
Browser support
Browsers without native custom element support require a polyfill.
- Chrome
- Firefox
- Safari
- Microsoft Edge
Development
npm install
npm test
License
Distributed under the MIT license. See LICENSE for details.