Repository navigation
The first release from this repository.
Changed
-
Licensed under Apache 2.0 (previously GPL-3.0, as part of Alarmzy).
-
The floating nav bar's selection halo is a pill that fills the selected tab, in place of the
48dp circle. -
Numeric type styles are renamed for use beyond clocks. The old names still work but are
deprecated and will be removed in 3.0.0:Old New timeLargenumericLargetimeTilenumericTiletimeMediumnumericMediumtimeSmallnumericSmallmeridiemunitObsidianTypography(...)andcopy(...)take the new names only. -
Every public declaration now states its visibility and type (Kotlin explicit API mode). No
declarations changed visibility.
Removed
ObsidianShowcasemoved out of the library into the catalog app (catalog/), which shows every
token, component and transition on a phone. Apps that embedded it as a debug screen can drop it.
Added
- Components from Messages, made app-independent:
TabPageandDetailPagescreen layouts,
ObSheetandSheetAction,SwipeActionRow,ObAvatarandObAvatarPair,CountBadge,
ObProgressBar,CopyPill,ObSearchField,AccentSwatchRowandDateDivider. FloatingNavBarcan go compact while content scrolls (compact, withrememberCompactNavState),
and take an endactionand a separate accentpillbutton beside it.- Components for more kinds of app:
ObTextField,ObSlider,ObRadioButton,ObTabRow,
ObSpinner,Modifier.shimmerandPlaceholder,ObSnackbarStateandObSnackbarHost
(snackbars and toasts),CollapsingHeaderwithrememberHeaderCollapse, andKeypadKey. - Media (
dev.redfox.obsidian.media):MediaTilefor photo grids with selection,Zoomable
withZoomStatefor pinch and double-tap zoom, andViewerScaffoldfor full-screen viewers. - Motion tokens:
ObDurations(Exit, Short, Enter, Long) for timed fades, andObTransitions
screen transitions (push,pop,predictivePop,tab) plus asharedBoundsspring for
shared elements. They plug into Navigation 3'sNavDisplayor anyAnimatedContent. -
Context.copyToClipboard(label, text, sensitive), which hides sensitive clips (codes) from the
clipboard preview and history.
- The public API is recorded in
obsidian/api/obsidian.api, and the build fails on any change to it
that isn't recorded.