Releases: Liquid-JS/nxt-components
Releases · Liquid-JS/nxt-components
v20.0.0
v19.1.0
v19.0.5
Enhancements
- Lazy-load hljs library, closes #89 (#89)
- Line numbers, closes #35 (#35)
- Add Gist directive, closes #90 (#90)
- Highlight code from a direct URL, closes #91 (#91)
- Lazy-load hljs languages (952f33cd)
- Update to highlight.js v11 (0a76249a)
- Add dynamic theme loader, closes #194 (#194)
- Migrate to standalone components, closes #260 (#260)
- Ssr (a1aa700c)
- highlightjs: Highlight (36897384)
Fixes
- build: Fix AOT build error, closes #31 (#31)
- highlightChildren: Not working inside [innerHtml], closes #67 (#67)
- Check if gist id is undefined (f2261482)
- Set code using
el.textContent
before highlighting, closes #105 (#105) - Setting the highlighted code to empty string will not reflect the value change, closes #119 (#119)
- Allow empty string to highlight the code, closes #199 (#199)
- Empty checking (d60dc10b)
- Unit tests (044535ad)
- Check if
options
is defined inHighlightLoader
service, closes #219 (#219) - SetTheme does not load theme if
themePath
was not specified in the configuration, closes #247 (#247) - Add line-numbers as a sub package, closes #234 (#234)
- Highlight.js dependency was removed in v11, closes #283 (#283)
- Update
README.md
links to new demo URL (ceef00a8) - Update README.md links to new demo URL (package) (e2a571d6)
- highlightjs: File url (f14c3a6a)
Refactors
- HighlightJS: Add types on parameters in hljs functions (3a5b8ae7)
- HighlightJS: Provide
HighlightJS
usingprovidedIn: 'root'
(ddae1795) - HighlightJS: Inject
DOCUMENT
to access the document class (4ff6ceb4) - Rename plus package directory (fabb820e)
- Make sure observer used to add the line numbers is destroyed (1b07b78b)
- Add
HighlightLibrary
interface (6052434b) - Update deprecated rxjs usage (5d2ccb9c)
v19.0.4
v19.0.4