- 🚨BREAKING: Removed top level
term()
,date()
,number()
, andrelativeTime()
functions - Refactored
LocalizeController.term()
to allow strong typings by extending the controller and default translation (see "Typed Translations and Arguments" in the readme for details)
- Fixed a bug that prevented updates from happening when
<html dir>
changed
- Added
dir()
method to return the target element's directionality - Added
lang()
method to return the target element's language
- Renamed
updateLocalizedTerms()
toupdate()
(forgive me SemVer, but nobody was using this I promise)
- Removed all dependencies
- Change import to ensure only types get used
- Added relative time method to
- Reworked the library to use the ReactiveController interface