A bunch of miscellaneous changes in this one.
Frontend
- Add hsl factory methods for Color
- Add argb factory methods for Color.
- Before, there were rgba methods, which is very web, but Android developers are more familiar with the opposite order.
- Add fallback routing behavior for missing / extra slashes.
- i.e. if you register
slugand the user visitsslug/, or you registerslug/and the user visitsslug, Kobweb will now send you to the right destination instead of giving you a 404 error.
- i.e. if you register
- Add
Router.addRouteInterceptor, in case you need to add special case handling for one-off URL redirects, for example maybe an old page was renamed due a spelling error, or a legacy path has been migrated to a new location.
Silk
- Added type-safe versions of all the background modifiers.
- Added
Modifier.resize - Added
Modifier.caretColor - Add a handful of common fontweight constants to the
FontWeightclass. - Fix logic issues with Popup placement not working.
- Move init annotations under their own subpackage.